Bump for getting ^ answered.
Bump for getting ^ answered.
I have just installed ZenCart version 1.3.9f and succesfully installed the Dual Pricing Wholesale Pricing mod using a considerable amount of WinMerging. It all works very well but I need to make a further modification, for which I need some help.
I want to have both the retail and wholesale prices displayed for all users, whether logged in or not, but still apply the correct price when added to the cart. I just can't find a way to display the wholesale price without a wholesale user being logged in.
Thanks in advance if any guru out there can help me.
Ian
Does anyone care to share their admin/includes/attibutes_controller.php file to compare? I thought I was able to edit the version 1.3.9f one, but I keep getting a parse error when I try to click on attributes controller in the admin.
Working Zencart version 1.3.9f
Ok, I think I might not have merged the shopping_cart.php files correctly. Could someone please tell me if, the dual pricing shopping_cart file can completely overwrite the the zen_cart file, or do they have to be merged together? I used winmerg, but my utter lack of php knowledge, means I have no clue what I am looking at.![]()
THANKS!
John
I am having a slight issue, and I dont know if it's due to the way I setup my item or if it's a bug in the addon.
Say I have a product called "Paint Brush"
In the product I have it set like this:
Product Priced by Attributes: Yes
Products Price (Net): 0
Products Price (Gross): 0
Wholesale Price (Net) 0 (do i do it like this since its priced by attributes?)
--------------------------------------------
In the Attributes Controller it looks like this:
Attribute "Wood"
Prefix price : 8 (retail price)
Prefix Trade: 5 (wholesale price)
Attribute "Metal"
Prefix price : 20 (retail price)
Prefix Trade: 13 (wholesale price)
--------------------------------------------
I have confirmed that when I am a Retail customer, I see this item as "Starting at 8.00" and with the Metal option as 20.00.
And that when I log in as a Wholesale customer, I see this item as "Starting at 5.00" and with the Metal option as 13.00.
However, when I went through the checkout process as my WHOLESALE CUSTOMER, it shows the retail pricing (depending on if I choose wood or metal) but no wholesale prices. All the way to the pay section. (I haven't bought an item but I am assuming that is the price it would bill right now)
Does anyone know if this is a known problem? Or if the way I set it up was done incorrectly? I know that with wholesale pricing you are supposed to put in the values inside the "Wholesale Price (Net)" but since i was doing it by attributes, I kept it blank. How would i do that?
Any help would be greatly appreciated.
I would like to see if anyone has done any further work or made any further advancements on the Dual Pricing module to update it to 1.3.9 versions of ZC. I have recently installed, and am in the process of "tweaking" a new ZC 1.3.9f install.
I have tried installing the DUAL Pricing module Uploaded by stevefriedman71 for ZC 1.3.8 but it made no changes in my ZC to show I had even uploaded anything, even in column titles. I then uploaded the one made by Delia Wilson Lunsford, for ZC 1.3.8 which has made noticeable changes. I now have the required text boxes to set a wholesale price, I have manually made the changes to my database as my hosting company does not allow me to run the scripts provided in the installation readme's, and I am able to input the pricing for the products, and verify them via the product overview page in the admin area.
As this particular contribution was designed with integration for COWOA, I have also installed COWOA for 1.3.9 made by JT of GTICustom. COWOA appears to be working perfectly, but I am having a problem with the products referencing the DUAL Pricing prices correctly.
Viewing the site as an anonymous or logged in non-wholesale user I am able to view products with the correct price. Upon logging into a wholesale account I am able to see the products on the main page with retail prices, as well as the previews with retail pricing on the category pages, but when I select a product to view its profile or purchase it, nothing below the product title header loads whether it has been assigned a wholesale price or not.
It seems as though evilonion may have located the solution based off of his post earlier in this topic but I did not see his upload in the contributions section so I am guessing it has not yet made it there. His earlier comment is as follows:
I am posting in to the forum rather than a PM in case he is not available or in case someone else has a solution. It seems to me as the novice PHP programmer with no DB experience, that the product info page simply needs to have code added/updated so that it can query the database to find the users wholesale status and then display the correct pricing based off of a status of 0, 1, 2, 3, or 4; however I have looked over the pages included in Delia's upload and none of the pages associated with a product page seem to contain this coding for the product pages, and since the other contribution for 1.3.8 didn't seem to do anything for me I am weary to use it as a comparison against the stock ZC product profile pages.
Has anyone been successful in installing the DUAL Pricing contribution on a 1.3.9 install, or is someone with more PHP programming experience available to give me some coding ideas/help as to how the code should be structured to display pricing on these pages? I'm not sure if the code is there and I am not able to find it on any of the pages, or if the code simply doesn't exist on the uploaded contribution, which explains why it won't display. If I was able to find it I may be able to troubleshoot it and figure it out, but without finding something to work with I am lost.Any help is appreciated. I have created an anonymous user account with random information in it so that anyone able to help may be able to better see what I am talking about. (Seems more effective than taking 4 screen shots.) The site is: http://shop.leatherbyjean.com. The anonymous user account can be accessed by logging in as [email protected] and a password of 12345. Obviously, this is a real store (not a demo) so please do not purchase with that account, as it is made up with random information. I will appreciate the donation,
but will not be able to ship to a random address. I will also disable that account as soon as a resolution can be made as it will not be needed any further.
Thank you for any help, and I will try to get a contribution uploaded with these changes ASAP for anyone else who is running into the same problems.
Thank you,
Joey Phillips
[email protected]
I am using this mod with 1.3.9c. When 1.3.9 first came out, I had a hell of a time getting this mod to work. I used Win Merge, which is awesome, but because I also use the COWOA mod, I had fun trying to get both mods merged and both working at the same time. I know I still need to upgrade to the latest Zen version, but I just need to find some time (and it seems its being updated often so I'm kinda putting it off). Anyway..... Dual Pricing and COWOA are working wonderfully for me, so if anyone would like a copy of my files, I suppose I can post them later tonight.![]()
Yes, that would be GREAT! I downloaded a fresh copy of 1.3.9f and was trying to winMerge any files that made sense to be related to the cart displaying correctly but none of them that made sense to me existed in the default install files.
Thank You!
What are you guys talking about Winmerging with 1.3.9f ?
When I installed it, I just followed the instructions and had to do nothing special other than running the SQL statements and over writing the folders. All of it seems to be working great...
EXCEPT--my whole sale customers see the retail prices once they go to the shopping cart to purchase. Does anyone know the cause of this or how I can fix this please? We have a 98% up and ready to go live site, but this one thing is holding us back!
Bookmarks