We our a candle pakaging whole seller and need help with tier-pricies product pricing
Help question 1
The wording at tier pricing (Buy 8 for $85.88 each and save 5% )
Where can I add the word case on the coding example ( Buy 8 for $85.88 each case and save 5% )
Help question 2
Price $89.63
Is ther a way we can add per case
So it will display as $89.63 per case
http://candlepackagingusa.com/
Any help will be welcome
Carlos
7 answers
For question 1:
To replace "Buy .. for .. each and save .. " to "Buy .. for .. each case and save ..":
1. Please copy the "tierprices.phtml" file from app\design\frontend\base\defaulttemplate\catalog\ product\view folder to app\design\frontend\default\jm_classytemplate\cat alog\product\view.
2. Edit the app\design\frontend\default\jm_classytemplate\cat alog\product\viewtierprices.phtml file:
at line 179, edit this code:
Code:
<?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price']) ?>
For instance:
Code:
<?php echo $this->__('Buy %1$s for %2$s each case', $_price['price_qty'], $_price['formated_price']) ?>
For question 2:
To add text "per case" to price:
1. Copy the "price.phtml" file from "app\design\frontend\base\defaulttemplate\catalog \product" folder to "app\design\frontend\default\jm_classytemplate\ca talog\product"
2. Edit the app\design\frontend\default\jm_classytemplate\cat alog\product\price.phtml file:
at line 202, edit this code:
Code:
<?php echo $_coreHelper->currency($_price, true, true) ?>
Eg:
Code:
<?php echo $_coreHelper->currency($_price, true, true).' per case'; ?>
Hope this help!
app\design\frontend\default\jm_classytemplate\cat alog\product\viewtierprices.phtml file
There is no tierprices.phtml file?
Carlos
<?php echo $_coreHelper->currency($_price, true, true).’ per case’; ?> I dont have
I have this one is that ok
<?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true).’ per case’; ?>
Carlos
Thanks for your help
However I try changing the code both ways and is not working
I flushed Magentos cache and deleted by browser history.
<?php echo $_coreHelper->currency($_price, true, true).’ per case’; ?>
<?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true).’ per case’; ?>
http://candlepackagingusa.com/index….h-4-holes.html
Carlos
Please PM me your site’s url, admin and ftp credentials, I’ll investigate further.
Thank you!!!!
However that was not the question, I am asking help on the price box
The other tread was for tier pricing, complete different problem
Carlos
Hi Carlos,
Please give it a try again. To add text "per case" to price, follow these steps:
1. Copy the "price.phtml" file from "app\design\frontend\base\defaulttemplate\cat alog \product" folder to the "app\design\frontend\default\jm_classytemplat e\ca talog\product" folder
2. Edit the app\design\frontend\default\jm_classytemplate\cat alog\product\price.phtml file:
at line 202, change this code:
Code:
<?php echo $_coreHelper->currency($_price, true, true) ?>
To
Code:
<?php echo $_coreHelper->currency($_price, true, true).' per case'; ?>