Thanks Kobra
Printable View
Thanks Kobra
Version 1.5.1 clean install (using standard ZC installation guide) with classic template and NO other mods.
All demo items are installed and we are using the installed customer with the password of "admin" (done by inserting just the password from http://tinyurl.com/a3zh37h into the test database).
Using latest Wamp Server as testing base.
PHP 5.4.3
MySQL 5.5.24 UTF 8
Specifically, we are working with the two Graphics Cards under Category 1 (Hardware) and the sub-cat 4 (Graphics Cards).
Dual Pricing is installed into the classic template (BTW, error in the readme under Affected Files -- should be includes\templates\YOUR_TEMPLATE\templates\tpl_product_info_display.php)
ID 1 (Matrox G200 MMS is NOT set to Priced by Attributes and the Wholesale Prices are entered in the "Wholesale Price(Net)" field using the ##.##-##.##-##.##-##.## Format as prescribed by the mod.
ID 2 (Matrox G400 32MB IS set to Priced by Attributes and the attribute's wholesale prices (four separate wholesale prices in all) are set in the "Trade Price" field of each attribute in the ##.##,##.##,##.##,##.## format as prescribed by the mod. NOTE: We added Option Values of "Please Select" for both Model and Memory in order to match real world usage. Both the "Please Select" are marked as "Display Purposes Only" and "Default Selected". Since the mod states that a wholesale user will receive the retail price if
Everything works as advertised when the user is set to zero (0 = Retail).
Everything works fine with both items when the user is set to 1 (1 = first level of wholesale). ID 2 has no problem dealing with the varying prices for the product's two options as some have reported earlier in this thread.
The mod fails for ID 2 (Priced by Attributes) when the user is set to 2 (2 = second level of wholesale). The cart is gathering wholesale pricing BUT it is gathering the pricing that is only correct for user level 1. NONE of the level two values are displayed in any place that the wholesale price is shown.
In looking through the code, I cannot find anywhere that the code applies the wholesale level as a means of extracting the proper price from the string (four wholesale prices separated by a comma). I can see several instances of looping to obtain the wholesale price for a priced-by-attributes method but none appear to control which part of the string is being used (it appears to default to 1).
In reading through the thread (started reading at November of 2011 since the mod 2.0 was released in November of 2012) I cannot find clear evidence where this mod has been installed without other mods and found to work.
I assume (I KNOW) by my reading that it may require another mod to work with products that are priced by attribute as Stock by Attributes is mentioned in one declared success.
BOTTOM LINE
- Has anyone been able to get this mod working with a clean install, the customer set to OTHER THAN level 1, and a product set to Product Priced by Attributes?
- IF you have this mod working with a product set to Product Priced by Attributes, the customer set to OTHER THAN level 1, AND other mods are installed, what mods are you using?
- There is prior mention in this thread of changing all variables from customer_whole, customers_whole, and customer_wholesale to simply customer_wholesale. This version of uses the first two and on one line of code, sets customers_whole using customer_whole as the beginning value. Has any one had success changing any of this in any way?
- Again, my PHP knowledge is just above "don't let him touch it", but I cannot see where the values entered are filtered according to the wholesale level set for the customer. Can anyone point me to the place in the code that I am missing this action?
I think this mod is just a slight correction from really doing what we need but I'm gonna need some help here.
THANX
@In2Deep, it looks like someone has already done the database portion of the installation of this mod for you. That's what those messages mean.
Hi,
Is there any new easypopulate file that goes along with the new EP4?
If you're getting a white screen, you need to follow the debugging procedure for that.
http://www.zen-cart.com/content.php?124
and... Maybe share the error message.
I'm back.. haha.. I posted my Dual Pricing - Wholesale Pricing upgrade question on the 30th, 5 days ago. Since then nobody has replied to my post. Question.... How long should I wait to assume that I am not going to get an answer (in a usable time-frame); and then when/if that time comes, what should I do? Post in another area? I want to stress that I am not trying to rush anyone. This particular issue isn't 'breaking' my website, nor is it a huge deal; but in the future I may have more important questions, and I would like to know the best way to deal with a 'no reply' that is posted in one of these threads in which I don't get to post my own topic.. Thanks!!