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.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
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 ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
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.
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.
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.
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.
In case anyone needs a fix, I've posted it here:
https://www.zen-cart.com/showthread....ice-not-lowest
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
Bookmarks