Okay, thanks again.
Okay, thanks again.
I am using dual pricing 1.7 and hidden wholesale 2.1 with zencart 1.3.9h.
My wholesale only products weren't showing to any customers, retail or wholesale.
It looks like hidden wholesale uses "customer_whole" while dual pricing 1.7 uses "customers_wholesale".
Once I replaced "customer_whole" with "customers_wholesale" in includes/init_includes/overrides/inti_customer_auth.php and includes/modules/pages/advanced_search_result/header.php the wholesale only products show when logged in as a wholesale customer.
Hope this helps someone
Cheers!
A new version of this module (v2.2) has been uploaded in the Add-ons section: http://www.zen-cart.com/index.php?ma...oducts_id=1389
It fixes a few items:
Upgrade & test compatibility with ZC 1.3.9 and Dual Pricing 1.8 (**you might want to upgrade Dual Pricing too**). Changed files to use Override system. Fixed issue where products were viewable on frontend if you manually enter URL (and presumably by search engines).
Please post here if you experience any issues, and I'll do my best to get it fixed.
Thanks V much for the update Jackie - I will check it out.
There is a vulnerability in using the Hidden Wholesale along with Dual Products add-ons.
An existing approved wholesale customer can give the exact product url to someone else, who is not an approved wholesale customer and that customer can then purchase the product.
Is there a way to hide the url?
We needed a way to have the wholsaler only see wholsale products. I found a simple and easy way to do this thru this Addon and suppress retail products for the Wholsaler.
In Hidden_wholesale_2.2\includes\init_includes\overrides\init_customer_auth.php
At the very end around line 162 where you see this code:
change it to thisCode:if (!$_SESSION['customer_whole'] || $_SESSION['customer_whole'] == '0') { $custom_restriction= ' AND p.products_price > 0 '; }
This changes the restriction to the opposite condition if the person is a wholsaler, i.e. don't show products to them that have a product price = 0Code:if (!$_SESSION['customer_whole'] || $_SESSION['customer_whole'] == '0') { $custom_restriction= ' AND p.products_price > 0 '; } else { $custom_restriction= ' AND p.products_price = 0 '; }
I am testing out Dual Pricing and Hidden Wholesale on a test site. I just added a new product that will only be available to my wholesale customers. The add-on works in terms of only showing the products to my wholesale customers, but it shows up under "New Products" for retail and wholesale customers. When a retail customer hits the new product, they are told it doesn't exist. Any way to turn off the wholesale only products from showing up under new products?
Steve Pembleton
www.cheapjumprings.com
I am testing out Dual Pricing and Hidden Wholesale on a test site, using ZC 1.5. I have read the strings on the Dual Pricing threads about compatability with V1.5, and it seems that it is ok to use if I do not use attribute pricing and sales pricing. Is that true? Since I do not plan to use either of these features, and since it seems to work fine on my 1.5 test site, I am thinking I am ok to install it.
Any thoughts?
Steve Pembleton
www.cheapjumprings.com
How did the Hidden Wholesale addon work out for you in Version 1.5?
Nadia
Bookmarks