Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing '+' from Attributes


adnimas5

Recommended Posts

www.diamondtoolstore.com

 

As requested, pricing for each product had to be done indiviudally, as suppose to having a base price and adding the difference to other attributes within the same product. We made the base price '0' and did each individual attribute with it's own price. It's woeking perfect, EXCEPT it displays '+' after each product attribute name.

 

Is there a way to take this out in teh script?

Link to comment
Share on other sites

The reason it displays the + sign is because it is incrementing rather than decrementing the price (taking it up and not down). You can remove it, but then you may find that your products are not listed corectly.

 

You'll find it in includes/functions/general.php

 

includes\functions\general.php(866): $sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>';

 

It's also in include/classes/shopping_cart.php

and

admin/includes/classes/shopping_cart.php

 

Vger

Link to comment
Share on other sites

The reason it displays the + sign is because it is incrementing rather than decrementing the price (taking it up and not down). You can remove it, but then you may find that your products are not listed corectly.

 

You'll find it in includes/functions/general.php

 

includes\functions\general.php(866): $sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>';

 

It's also in include/classes/shopping_cart.php

and

admin/includes/classes/shopping_cart.php

 

Vger

 

 

So take out the '+' in the line of code?

May be replace it with a ' '?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...