Jump to content

Individual discounts for attributes


Recommended Posts

Hi all,

 

Does anyone know how you can apply discounted prices to individual attributes?

 

For example, say you have a product that comes in three sizes and three prices:

 

500ml - £30

100ml - £15

50ml - £10

 

That's easy, but say you want to discount each product/attribute as follows:

 

 

500ml - £30 -> £25

100ml - £15 -> £12

50ml - £10 -> £8

 

I did think that this could be achieved by using the the 'prices' tab, but this only allows you to apply one discount (either a percentage or amount) to all the attributes of a product, so all of the above reduced by 10% or £5, which isn't what I want.

 

I've searched everywhere for a solution but there's surprisingly very little about it. If anyone knows of a module or modification that can solve this problem I would really appreciate it if you could let me know.

 

Cheers

Link to comment
Share on other sites

Yeah I've searched the French forums also but can't find anything to set individual discounts on combinations. I'm surprised because it seems like such a useful feature.

 

I've been thinking of a possible workaround in the meantime - not a real fix.

 

Could I use the wholesale price (of a combination) as the base price and the price (by using 'impact on price') as the discounted price? I just need to be able to display both prices on product.tpl. Obviously the impact on price is already shown for each combination, but I can't get the wholesale price to display properly.

 

Adding:

 

{l s=‘Wholesale price:’} ${$product->wholesale_price} {$wholesale_price}

 

to product.tpl displays the product wholesale price not the combination, and doesn't change with currencies.

 

So I need to call the wholesale price from the product_attribute table in the database and for it to work with currencies.

 

I've tried for two days to figure this out but to be honest I can't get my head around how attributes/combinations work and I'm not even sure which files I need to edit.

 

Could anyone just point me in the right direction...

 

Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...