How to change Attribute Price display in Add to Cart Dropdown

Phoca Cart - complex e-commerce extension
User avatar
dmlwebal
Phoca Member
Phoca Member
Posts: 38
Joined: 18 Sep 2019, 12:49

How to change Attribute Price display in Add to Cart Dropdown

Post by dmlwebal » 11 Dec 2019, 21:18

Hi Jan

I understand that the attributes operate on the parent product price, but is there way to prevent the calculation amount from being shown in the drop down?

I have one attribute that is only 25% of the price of the parent (It must be done this way until a deposit or part payment method is created). Because this attribute is only 25% the figure on the drop down is confusing, for example full price is 60000 Thai Baht so deposit is 15000 Thai Baht. In this case the dropdown shows Deposit -45000THB

It is confusing for the everyday user, can I just remove the attribute label from the code? Or even better, just bring the calculated amount in as the label? This way it would simply display the amount sent to the checkout.

https://ibb.co/LYFQKsN

Regards
David

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 41941
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change Attribute Price display in Add to Cart Dropdown

Post by Jan » 12 Dec 2019, 14:59

Hi, for now there is only option to hide the price when it is zero:
Image

Jan
If you find Phoca extensions useful, please support the project

Post Reply