Hmmm, thats the mod I'm using. And I do have wholesale prices working correctly on every product. I'll have to poke around and see if I can figure this out.
Printable View
Hi craftzombie,
I think I found the error. It should be products_price_w i.s.o. product_price_w. If I remember well, someone posted p.product_price_w in this thread, and I used that because I did not know anything about the contribution and assumed it was the correct column name. But of course it's possible I did not read it correctly.
Anyway, now I checked it, and it appears it should be products_price_w (and p.products_price_w in the query).
Found it:So I did read it correctly after all :-) But the contribution does use products_price_w, so that's what you need.Quote:
Hi, I just install this very usefull mod. I want's to add another comlumn, "p.product_price_w" for the wholesale price of the dual pricing contribution.
/me thinks about buying a ticket to Texas! :P
Thanks for the feedback :-)
I just noticed I forgot to remove some debug lines, and forgot to add two instances of the zen_update_products_price_sorter() as well (which needs to be executed when changing the master category, I think...). These are only minor issues, but of course they need to be fixed, so I will probably upload an updated version soon.
Other than that (and possible other bug fixes) I am taking a break again from this mod, I think ..... ;-)
Attached a new version to this post wich should fix the formentioned issues, and hopefully does not introduce any new issues ;-)
In the last update there is a problem. In the "wholesale price" field will be insert the price in this mode "22.00,19.00" that corresponde with the different level of prices. When I insert this value the script don't function, crash. I think that the problem is in the field format.