magento-configurable-simple icon indicating copy to clipboard operation
magento-configurable-simple copied to clipboard

Quantity Attribute Swatch Price Help

Open kentpatrick opened this issue 7 years ago • 0 comments

I am currently using Organic Simple Configurable Products extension for Magento CE 1.9.3.2 I have configurable products that are successfully changing the price displayed for the products total price after selecting my options.

I am trying to get the price of a configuration to display in the swatch.

To help understand the question i will give an example scenario.

Say I have a product of T-shirts that have a variation on the Size of Small/Medium which is displayed as a drop down.

I also have a variation of Quantities, 5/10/20 this variation is displayed as a swatch.

example prices:
Small - 5: £10
Small - 10: £18
Small - 20: £34
Medium - 5: £12
Medium - 10: £22
Medium - 20: £40

What I want is for the swatch to display the price when selecting the quantity

eg i have selected small in the size dropdown so the quantity swatches should update to show.

5 £10    10 £18    20 £34

and if i change the dropdown to medium then the prizes in the quantity swatch will change to

5 £12    10 £22    20 £40

I have spent a lot of time pouring over the code but i haven't got a clue what does what and where and i would appreciate some direction or code.

kentpatrick avatar May 17 '17 15:05 kentpatrick