Magento

Magento: Customizing Store

Download StartUp Guide @

http://www.ricardomalla.com/downloads/MagentoGo-UserGuide.pdf

 

Add Field to Product View

http://prattski.com/2011/01/07/magento-_product-getdata-vs-_product-getattributename/

 

Change Add to Cart Button

 

/app/design/frontend/decostore/default/template/catalog/product/list.phtml

Replace 'Add to Cart' to Solicitar Cotizacion

http://www.magentocommerce.com/boards/viewthread/24731/

http://www.customy.com/blog/change-add-to-cart-button-to-pre-order-in-magento/

 

List Template Location:

/var/www/html/magento/vendor/magento/module-catalog/view/frontend/templates/product/compare/list.phtml

 

LATEST UPDATE

First of all disable Cache to start on development mode.

Go to <your Magento install dir>/bin

./magento cache:status

./magento cache:disable 

Enables Hints

Without this is almost impossible to modify the template because its not intuitive at all.

Stores -> Configuracion -> Advanced -> Developer -> Enabled Template Path Hints for Storefront ----> YES

 

<?php echo $_product->getAttributeText('manufacturer') ?> --- PRINTS MANUFACTURER NAME
<?php echo $_product->getmanufacturer() ?>   --- PRINT A NUMBER (PROBABLY MANUFACTURER NUMBER???)
<?php echo $_product->getData('manufacturer') ?>

 

Great tool to locate files...

root@malla:~# grep -R "product.info.description" /var/www/html/magento/

To Edit XML Block data from product page:

/var/www/html/magento/vendor/magento/module-catalog/view/frontend/layout/catalog_product_view.xml

 

 

Customizing Templates

http://www.pierrefay.com/magento-create-block-44

 

 

Attachments:

Leave a Reply

Your email address will not be published. Required fields are marked *