2 Attachment(s)
How to set which attributes price to be display on product listing
Hi all,
My problem with attribute is how to set which attribute price to be displayed in product listing page.
I set 100 gram as default selection in attribute controller, but the display price in product listing is the 50g option.
please see image for details Attachment 14025Attachment 14026
Thanks in advance.
Richard
Re: How to set which attributes price to be display on product listing
Quote:
Originally Posted by
kluki2008
Hi all,
My problem with attribute is how to set which attribute price to be displayed in product listing page.
I set 100 gram as default selection in attribute controller, but the display price in product listing is the 50g option.
please see image for details
Attachment 14025Attachment 14026
Thanks in advance.
Richard
If not mistaken, this would require custom coding as the default process is to show the lowest price of the attributes that are associated with the product. Otherwise, would have to split the product(s) to have the 100mg product as the lowest priced attribute in the single product.Besid
Besides the suggested method of setting up products with attributes is to include a default item that is display only. This prevents a customer from "accidentally" selecting the wrong attribute for the product and thus preventing returns and other issues.
Re: How to set which attributes price to be display on product listing
There is a setting on the Attributes on whether they should be used to calculate the base price ...
The default is to use the lowest value on the Attribute Groups to make the calculation ... if that is not obtaining the price you want, then you can use the setting to mask the prices that you do not want to be included in calculating the price ...
Re: How to set which attributes price to be display on product listing
Thanks all,
From my website the attribute price shows in product listing is not the lowest attribute price. I will look into the code in these few days and hope I can figure out.
Re: How to set which attributes price to be display on product listing
If your lowest attribute price is not being used in the product base price, then you need to look at the "include in base price" settings in Attributes Controller, not start tinkering with the code.
Re: How to set which attributes price to be display on product listing
I also am trying to work with attributes.
Zen Cart 1.5.1
I have 1 product that comes in 3 sizes.
Right now all 3 are on one shop page. The user has to click the produce they want and go to that product page.
I want to have the generic product on one page where the user can choose the size they want.
I can't seem to get the prices to come up for the size that is chosen.
Do I need to create a new category or can I use the category that is already there.
Also is it possible to have the picture updated to show the one the user has chosen.
Re: How to set which attributes price to be display on product listing
Seeing the product(s) live would make it easier to understand your situation. Do you currently have three separate products in one category, or do you have the attribute set up to handle sizes in one product? Also, how do you expect the price for the chosen attribute to "come up"? Do you want it to display in a central location on the same page after a size is selected? That would require some custom javascript, as would switching out the image to reflect the selection. There may be one or more mods in Plugins to do these things, so I would investigate there first.
Re: How to set which attributes price to be display on product listing