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

Priced By Attributes query #722

Open
torvista opened this issue Jul 2, 2021 · 0 comments
Open

Priced By Attributes query #722

torvista opened this issue Jul 2, 2021 · 0 comments

Comments

@torvista
Copy link
Member

torvista commented Jul 2, 2021

Priced by Attributes

After spending quite some time (for the first time) looking through the functions/code regarding the display and calculation of prices (base, normal, sale, discount, special…), apart from losing the will to live, I’m having doubts about the concept of Priced by Attributes, so I thought I’d start an argument discussion.

Consider a product with a price, and a couple of attributes that add to that price, like good old Microsoft IntelliMouse Explorer.

As far as the current docs explain, the difference between Priced by attributes Yes/No is only in the display
https://docs.zen-cart.com/user/products/attribute_pricing/

I note the posts around here have good information for possible extraction to the docs:
https://www.zen-cart.com/showthread.php?4810-Attributes-HOW-TO&p=33097#post33097

Anyway, in use
Priced by attributes – yes:
shows the total (base + increment) price next to each attribute and the text “Starting from” with the product base price + the cheapest attribute(s).

Priced by attributes – no:
shows the price increment next to each attribute, and the text “Starting from” with the product base price. This is incorrect as the “Starting from” for both options is the same.

Personally, I have always used attributes in only two ways:

  1. Where the attributes all cost the same: product has a price, attributes zero increment - Priced by Attributes no
  2. Where the attributes have different costs: Product price = 0, attributes set to full price - Priced by Attributes yes

It’s only now, when looking at the code and docs, that I am less clear as to the intention of this switch, so as to be able to determine if things are not as per design.

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

1 participant