Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display of attribute pricing: use of "+" #6084

Open
torvista opened this issue Dec 13, 2023 · 3 comments
Open

Display of attribute pricing: use of "+" #6084

torvista opened this issue Dec 13, 2023 · 3 comments

Comments

@torvista
Copy link
Member

Product
Base price: 100
Attribute price: 20
Tax: 21% => total price 145.20.

It appears the display of the '+' is not based on logic, but on whether the '+' was selected with the attribute definition.

Priced by Attributes
Has the '+' which is misleading,
2023-12-13 13_14_51-Test attributes WH - €145 20 _ Zen Cart!, The Art of E-commerce — Mozilla Firefo

Not Priced by Attributes (ok):
2023-12-13 13_14_38-Test attributes WH - €121 00 _ Zen Cart!, The Art of E-commerce — Mozilla Firefo

If the '+' is removed from the attribute, it does not display. Which is misleading, it should display (yes I changed sold out-add to cart button option meanwhile).
image

@mc12345678
Copy link
Contributor

Why would a product that has only one attribute have an attribute price other than zero with a non zero base price?

The expectation of setup for the presented product would be that the base price is 120, the attribute would have no price entered.

There may be a case, but as shown yes this is confusing.

@lat9
Copy link
Contributor

lat9 commented Dec 16, 2023

Why would a product that has only one attribute have an attribute price other than zero with a non zero base price?

The expectation of setup for the presented product would be that the base price is 120, the attribute would have no price entered.

There may be a case, but as shown yes this is confusing.

Agreed for the radio (or dropdown) attribute type, but I can see a single optional checkbox/file/text attribute adding to a product's price if selected.

@mc12345678
Copy link
Contributor

While there is varying assistance in the docs, this one at least partially suggests what is observed: https://docs.zen-cart.com/user/admin_pages/catalog/attributes_controller/#weights-and-prices
While this one tends to lead to the confusion somewhat described (e.g. not helpful in regards to this discussion but offers assistance on other attribute discussion): https://docs.zen-cart.com/user/products/attribute_pricing/#product-priced-by-attributes-vs-attributes-with-prices

Based on information such as that (including this ancient thread: https://www.zen-cart.com/showthread.php?4810-Attributes-HOW-TO&p=33097#post33097) has been what is the impact of the attribute's number on the lowest price of the product where the lowest attribute product price should not add to the base price of the product. It should either be the lowest price of the product or should be zero.

Unfortunately, in the realm of eliminating attributes from display because of associated availability, subsequent price display isn't as easily coordinated in setup and likely require some form of logic processing to support that display functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants