Colon Seperated Pair Configuration
In reference to the docs at https://docs.zen-cart.com/user/runni...parated-pairs/
Is there any relief other than another mod in order to have three options?
As currently set
Quote:
To express the configuration for up to 2 pounds, charge $5, but for over 2 pounds but under 7 pounds, charge $10, the following string is used:
2:5,7:10 This could also express the configuration 1-2 items, charge $5, 3-7 items, charge $10. How the figures are interpreted depends on the context in which they are used.
What if we want to drop the price again at 20 pounds?
A price for a single, 6x, a dozen, two dozen, half a gross, a gross?
I can't see this scenario getting that weird, but I could certainly use 1, 6, 12 options.
Re: Colon Seperated Pair Configuration
There's no limit to the length of the string.
> I could certainly use 1, 6, 12 options.
If you want a price drop at 6 and 12, you'd use
Code:
5:price-for-1-5,11:price for 6-11,12:price for 12-or more.
(other variants are possible of course)
Re: Colon Seperated Pair Configuration
Thanx for that. Just couldn't get my head around it while trying to get POSM, priceds by attrributes, QD, and wholesale working together.
I can't seem to find any combination that:
1. Properly displays the lowest attribute price for both regular and wholesale customers.
2. Properly applies the proper wholesale discount (50%) to the QD.
Re: Colon Seperated Pair Configuration
Wholesale pricing doesn't work with attribute Quantity Discounts. Is this the issue?
https://docs.zen-cart.com/user/produ.../#restrictions
Re: Colon Seperated Pair Configuration
I've backed off from trying to combine QD and Whoiesale on an attribute although (to me) the simplest fix would be to have an Attributes Wholesale Price Discount field added to attributes. Still that would then become difficult for stores with more than one level of wholesale client(s).
I have a product (POSM) that can either be displayed in a window (suncatcher) or as a night light.
The suncatcher can be purchased either with a suction cup or without.
The night light comess with a standard socket and bulb or two other types of socket and bulb.
So the price is based on whether a suncatcher or night light. That is the price that should be shown and affected by QD.
Therefore, the QD is placed in the Product Type attributes for suncatcher and night light. By rule, the price is left blank and the QD entered below in the attribute.
Doing so with no wholesale price involved results in Starting at: being blank, quantity discounts are shown correctly, and they are configured correctly at checkout. https://enightlights.com/index.php?m...products_id=78
Take a similar product and add 50% for the wholesale price at the product level, and you get the same look as the one above when not logged in as a wholesale client. When logged in as a wholesale client, the Starting at: now adds Your Price : $0.00 and, when a single suncatcher is ordered, the price is $9.95 versus the expected $4.98 and the QD does not change amounts either. https://enightlights.com/index.php?m...e942bf3ba1b17c.
I feel that dropping PBA would be even more of a nightmare in that the price would have to be established on the lower suncatcher price. Then, trying to discount at the product and attribute level would be a holy nightmare.
PM sent with wholesale login