tier-pricies product pricing

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

Profile photo of Seoki Lee 1510.00 $tone March 6, 2014
Public

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!

#1
Profile photo of Carlos Gordillo 0.00 $tone March 6, 2014
Public

<?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

#3
Profile photo of Carlos Gordillo 0.00 $tone March 6, 2014
Public

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&#8230;.h-4-holes.html

Carlos

#4
Profile photo of Seoki Lee 1510.00 $tone March 11, 2014
Public

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'; ?>
#7

Please login or Register to Submit Answer

Written By

Comments