Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


ce7

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

 

Link to comment
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.

Link to comment
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!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...