pel024 Posted August 15, 2012 Share Posted August 15, 2012 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 More sharing options...
tomerg3 Posted August 15, 2012 Share Posted August 15, 2012 I am not aware of any existing module for that, although there are plenty of modules that are only in French... Link to comment Share on other sites More sharing options...
pel024 Posted August 16, 2012 Author Share Posted August 16, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now