Magento
Magento: Get custom attribute field if available on product page
Get attribute value for PLAIN TEXT, TEXTAREA or DATE type attribute: Get value from SELECT, MULTISELECT, DROPDOWN or YES/NO attributes: Get value from PRICE attributes: and in product list page, Get attribute value by attribute code and productID WITHOUT loading whole product
Magento
Magento: On sale product listing by category
1-Create a new CMS page with content set to… 2- and a template for listing your products app/design/frontend/your_package/your_theme/template/inchoo/onsale/sale.phtml 3-Create a Category(On Sale) and call the static block in the category. 1- create category on sale. 2- inside category go to Display setting select display mode to static block only. 3-And Read more…
Magento
Magento: custom sql Query example
Or DB Connection Code : —————————————————————————————————————— —————————————————————————————————————— loop: ——————————————————————————————————————
Magento
Magento: Pincode varification to add to cart.
1- Take the html layout where you want to the html layout. 2- The jquery for validation. 3- create a folder name ajax in magento root directory and the inside it the pincode_verify.php for validation.
Magento
Magento: product slider
1-place the jquery.bxslider folder in magento root js folder. From: http://bxslider.com/examples/carousel-dynamic-number-slides 2-And place the following code. in your product collection page For jquery: For product collection:
Magento
Magento: Add to cart button on upsell products in product detail page
To add a Add to Cart button on upsell products in product detail pages, first open the upsell.phtml file located in app/design/frontend/your_package/your_theme/template/catalog/product/list/upsell.phtml Then add a new form with Add to Cart button & quantity input box inside the loop that generate upsell products.