Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Attribute Options Percentage


MikeMac

Recommended Posts

Posted

At the moment I can create a category, create a product to go in that category, select the object and assign attributes to it then create options for those attributes e.g :

 

Category - Shirts

Product - Ben Sherman Candy Stripe

Attribute1 - Size

 

Option Large (+£2)

Option Medium

Option Small (-£2)

 

That is all well and good and very straightforward. However, we have a range of products where the Option is a percentage of the basic price e.g. :

 

Option Large (+5%)

Option Medium

Option Small (-5%)

 

or

 

Option Large (x1.05)

Option Medium

Option Small (x0.95)

 

Does anyone know if the bold options are acheivable?

Posted
Does anyone know if the bold options are acheivable?

 

You could do it by editing the page:

catalog/includes/classes/shopping_cart.php function calculate()

Lloyd

Posted
You could do it by editing the page:

catalog/includes/classes/shopping_cart.php function calculate()

 

Thanks for the pointer! I'll wrestle with that.... if anyone knows the specific formula, you might save me some swearing.

 

Thanks for the reply. Appreciated!

Posted
You could try the attribute percentage contribution.

 

Jack

Thanks Jack but I searched for that and just could not find it. I'll try again tomorrow.

Archived

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

×
×
  • Create New...