Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

price update


hetster

Recommended Posts

i hjave recently downloaded

http://www.oscommerce.com/community/contributions,1385

 

after setting this up (which was hard as some of the lines didnt match ie Osc_currencies was just currency in mine) i know get 2 sets of options instead of 1 and the price doesnt update when you change ANY of the options. is it something i am doing or could it be that i am using STS templates as well.

 

any help would be appreciated as a lot of my site would benefit from a price update as my site is chock full of selectable options

Link to comment
Share on other sites

this what i was told to replace in the readme

Search for:
 $products_price = '<s>' . $osC_Currencies->displayPrice($product_info['products_price'], $product_info['products_tax_class_id
Add the following line afterwards:
 $nuPrice = $currencies->display_price($new_price, tep_get_tax_rate($product_info_values['products_tax_class_id']));

 

mine says

$products_price = '<s>' . $currencies->display_price($product_info['products_price'],

as you can see mine doesnt say OSC_currency

 

also if i do EXACTLY as it says in readme i get parse errors on this very line. again heres the info

 

Search for:
 $products_price = '<s>' . $osC_Currencies->displayPrice($product_info['products_price'], $product_info['products_tax_class_id
Add the following line afterwards:
 $nuPrice = $currencies->display_price($new_price, tep_get_tax_rate($product_info_values['products_tax_class_id']));

 

if i do it exactly then there is an ])) missing from end of ['products_tax_class_id

 

i think the code is messed up or i am missing something really simple

but mine says

Link to comment
Share on other sites

  • 3 weeks later...

Archived

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

×
×
  • Create New...