[QUOTE=aliali81;1126606]> I.dannati:
OK click the following link for a zip of all the files as I have them working... I combined this and hidden wholesale together and changed the readme.txt just a lil
Let me know if this helps
Dual_pricing_1.8.zip
IT WORKED! I only copied over the shopping cart .php file and now the wholesale price appears in both the website and in the cart! Wooohoo
ONLY PROB is when I create a new wholesale account - it does not show wholesale price on the screen BUT add it to the cart and then it does! So it has swapped around....lol
Any idea?
Lol oh boy... umm not really, , there are so many files or code snippets that effect how the wholesale prices are displayed.. It could be a missed customer_whole to customers_wholesale in one of your files found on post 687
But I made so many changes based off of the contributions on this form but really never tracked them as I didn't plan on sharing it. So I can't be entirely sure which one is effecting your product attribute display.
I would suggest copying over the rest of the files and trying that.. then uninstalling the sql statements you previously installed with this:
ALTER TABLE `customers` DROP `customers_whole` ;
ALTER TABLE `products` DROP `products_price_w`;
ALTER TABLE `products_attributes` DROP `options_values_price_w` ;
ALTER TABLE `products_discount_quantity` DROP `discount_price_w` ;
ALTER TABLE `customers` DROP `customers_wholesale` ;
Just place that sql statement in the text box found in tools>instal sql patches and submit
then reinstall with the sql code found in the zip file...
Remember tho doing that will zero out any wholesale pricing you have done..
Then try and remove the attributes you have already created and starting new ones...
It sucks but I've had to do it about 10 times now with all the code changes for this to work
And oh yeah!!! BACK UP EVERYTHING!!!! you can never have too many backups of your files and databases
Cheers!