Jump to content
ce7

product Info page <del>old price </del>

Recommended Posts

hi, @burt

Have CE1.0.5.0 version, want to modify the product_info page the old price, check the file: cm_pi_price.php

see these codes:

	      $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
      $specials_price = null;
      
      if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
        $specials_price = $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id']));
      }

where is the <del>old price </del> is from? which files should I check?

image.png.467248f8129b51763df1787178c3cf2e.png

Can someone please help?

Many thanks!  Lyn

 

Share this post


Link to post
Share on other sites

It's hidden in the language file:  https://github.com/gburton/CE-Phoenix/blob/master/includes/languages/english/modules/content/product_info/cm_pi_price.php

Note that that seems likely to change, as overridable templates require HTML to be in the templates rather than the language files.  But it is currently in the language file. 


Always back up before making changes.

Share this post


Link to post
Share on other sites
On 5/3/2020 at 9:41 AM, ecartz said:

It's hidden in the language file:  https://github.com/gburton/CE-Phoenix/blob/master/includes/languages/english/modules/content/product_info/cm_pi_price.php

Note that that seems likely to change, as overridable templates require HTML to be in the templates rather than the language files.  But it is currently in the language file. 

@ecartz  Thank you very much!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×