New Zenner
- Join Date:
- Jun 2009
- Posts:
- 16
- Plugin Contributions:
- 0
Hidden Wholesale
Thank you VERY much, Jackie. I have learned something new, thanks to you. :smile:
Klaus
Views: 23,316
New Zenner
Thank you VERY much, Jackie. I have learned something new, thanks to you. :smile:
Klaus
New Zenner
Hello again all,
Can anyone help with another issue. After having installed this contribution and setting retail price to zero, the wholesale products continue to show both when logged in as a non-wholesale customer or not logged in at all.
The price is hidden, but the products show.
Also, I logged in as a non-wholesale test customer and ran the order through and it allowed me to place an order.
That surely is not the way it is supposed to work? To be sure I had no improperly installed the mod, I went through the readme.txt instructions again and uploaded all files again. No change.
HELP!
New Zenner
Thanks for a good and useful information. I think it is effecient to use the Dual Pricing add on. I will install it in my computer.
Totally Zenned
@VIRTBITZ
Sounds like an incorrect installation - try re-uploading the files, or even uninstall and reinstall.
New Zenner
I hate to ask the question. What is the easiest way to uninstall this application, and without loosing my product data? The application is great, it just doesn't fit my store. Thanks!
John
Totally Zenned
Hello all, I seem to have found a bug in the module and have fixed it/ uploaded in the downloads section - you may want to upgrade.
Details about the bug can be found on this post: http://www.zen-cart.com/forum/showthread.php?p=955343
Basically, when you click the subcategory images, the side category menu collapsed, so you couldn't see the subcategories there anymore.
Also, it made breadcrumbs incorrect because a product would be shown as in the main category, when it was really in a subcategory.
The update should be available for download here shortly: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1389
New Zenner
manquant:
I've not found a way to hide retail products from wholesale customers. Mostly because I've never been asked/paid for that. Yet.
I have a client using Dual Pricing and Hidden Wholesale and he needs to hide some retail products from wholesale.
Can this be done?
New Zenner
Is there soon a new version? I'm using version 1.3.9h and are having the same problem as VIRTBIZ Guy; the product is displayed to both retail and wholesale-customers. The price howerver is hidden.
Any fix for this?
Totally Zenned
rogdov,
Try re-uploading the files and see if it helps. The module is made for 1.3.8, so it's possible it is just not compatible with your version of Zen Cart.
The solution in that case, would be to compare the affected files with original 1.3.8 version as compared to 1.3.9 to see the changes made to those files during upgrade. Then, compare with the Hidden Wholesale module and get those changes implemented in the newer 1.3.9 files.
New Zenner
Thank you, I will do that.
Do you know how long (aprox) it will take before you'll have a new version ready?
Totally Zenned
I'm not sure, as I am quite busy with other work at the moment. If you need it working soon, I think you will be better off to get it upgraded on your own.
New Zenner
Okay, thanks again.
Zen Follower
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!
Totally Zenned
A new version of this module (v2.2) has been uploaded in the Add-ons section: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_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.
New Zenner
Thanks V much for the update Jackie - I will check it out. :smile:
New Zenner
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?
New Zenner
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:
if (!$_SESSION['customer_whole'] || $_SESSION['customer_whole'] == '0') {
$custom_restriction= ' AND p.products_price > 0 ';
}
change it to this
if (!$_SESSION['customer_whole'] || $_SESSION['customer_whole'] == '0') {
$custom_restriction= ' AND p.products_price > 0 ';
} else {
$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 = 0
Zen Follower
damiendlskinsolution:
@kezza:
Again, thank you for your help. I tried your code and it works but something bugs me:It works in the way that it hides the category from the average customer and the wholesale customers can see the category in the category side box.
but
as a wholesale customer, once you click on that category link, the all content of the category sidebox goes blank. (it's actually "categoriescontent" that goes blank. "categoriesheading" still shows)
that means as long as you are within this category, it is difficult to navigate to another part of the website.That's a great start though. Gotta figure that detail and we are golden! :bigups:
did you ever get this figured out??
Zen Follower
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?
Zen Follower
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?
Tell staff why this post should be reviewed.