Magento 1.7 – Hiding Part of Price.phtml
In my previous post I showed you some code discovered in a website, which would show you how much you were saving in both currency and percentage on the price output. However my client wanted…
In my previous post I showed you some code discovered in a website, which would show you how much you were saving in both currency and percentage on the price output. However my client wanted…
An interesting snippet of code landed on my desk today: <?php if($_finalPrice < $_price): ?> <?php <?php $_savePercent = 100 – round(($_finalPrice / $_price) * 100); $_saveAmount = number_format(($_price – $_finalPrice), 2); ?> <p class=”yousave”>…
This was bugging me at work today, found the answer at Stack Overflow http://stackoverflow.com/questions/13504056/magento-tier-prices-class-declaration-for-tier-price-in-buy-x-for-y-javascri/16022796#16022796 Essentially, when you have a product set up for tiered pricing everything works great until you add custom options to the…
Firstly a little background. Our client has two sets of products which have custom finishes. 7mm Products and 10mm Products. These are grouped in attribute sets called 7mm Finishes (attributesetid == 16) and 10mm Finishes…
If you find yourself repeatedly receiving messages like: ERROR: Unable to unpack /public_html/downloader/pearlib/download/some_awesome_module.tgz After checking permissions (which should be right to have gotten this far) you could try the fix below. TarĀ <- download this tar.php…