Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

easy question about attributes


Guest

Recommended Posts

when using attributes, if you want attribute X to be an extra 2.00, it shows on the product page as:

 

attribute X (+2.00)

 

how can i remove the + and say "add" instead?

possible?

Link to comment
Share on other sites

search the product_info.php for price_prefix

 

you will see it appended with brackets.

(' . $products_options['price_prefix'] .........

Link to comment
Share on other sites

You can change this in product_info.php - just change

 

$products_options['price_prefix']

 

to 'add ' instead.

 

Or you can do it in the Admin Tool This requires a change to the database. The '+' is held in the products_attributes table and is in the price_prefix column. This is currently set to char(1) so will only take a single character. Edit this column in PhpMyAdmin and change it's length/value from 1 to 9.

 

Now go to Products Attributes and insert "add " into the prefix column. This will insert 'add' plus a single space into your dropdown list of attributes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...