Zen Cart Logo
Forums / All Other Contributions/Addons / Hidden Wholesale

Hidden Wholesale

Views: 23,316

Results 41 to 60 of 65
26 May 2010, 5:17 PM
#41
virtbiz_guy avatar

virtbiz_guy

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

26 May 2010, 5:48 PM
#42
virtbiz_guy avatar

virtbiz_guy

New Zenner

Join Date:
Jun 2009
Posts:
16
Plugin Contributions:
0

Re: Hidden Wholesale

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!

27 May 2010, 11:51 AM
#43
tiresmokindad avatar

tiresmokindad

New Zenner

Join Date:
May 2010
Posts:
11
Plugin Contributions:
0

Re: Hidden Wholesale

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.

27 May 2010, 4:06 PM
#44
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: Hidden Wholesale

@VIRTBITZ

Sounds like an incorrect installation - try re-uploading the files, or even uninstall and reinstall.

6 Aug 2010, 4:26 PM
#45
transfl1 avatar

transfl1

New Zenner

Join Date:
Mar 2009
Posts:
15
Plugin Contributions:
0

Re: Hidden Wholesale

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

6 Nov 2010, 12:20 AM
#46
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: Hidden Wholesale

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

3 Dec 2010, 12:58 AM
#47
adam2020 avatar

adam2020

New Zenner

Join Date:
Nov 2009
Posts:
33
Plugin Contributions:
0

Re: Hidden Wholesale

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?

24 Jan 2011, 8:39 PM
#48
rogdov avatar

rogdov

New Zenner

Join Date:
Apr 2010
Posts:
12
Plugin Contributions:
0

Re: Hidden Wholesale

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?

24 Jan 2011, 9:47 PM
#49
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: Hidden Wholesale

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.

24 Jan 2011, 9:53 PM
#50
rogdov avatar

rogdov

New Zenner

Join Date:
Apr 2010
Posts:
12
Plugin Contributions:
0

Re: Hidden Wholesale

Thank you, I will do that.

Do you know how long (aprox) it will take before you'll have a new version ready?

24 Jan 2011, 10:06 PM
#51
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: Hidden Wholesale

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.

24 Jan 2011, 10:09 PM
#52
rogdov avatar

rogdov

New Zenner

Join Date:
Apr 2010
Posts:
12
Plugin Contributions:
0

Re: Hidden Wholesale

Okay, thanks again.

8 Mar 2011, 11:28 PM
#53
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Hidden Wholesale

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!

15 Aug 2011, 4:11 PM
#54
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: Hidden Wholesale

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.

22 Aug 2011, 10:42 AM
#55
philipb avatar

philipb

New Zenner

Join Date:
Feb 2011
Location:
Manchester, UK
Posts:
55
Plugin Contributions:
0

Re: Hidden Wholesale

Thanks V much for the update Jackie - I will check it out. :smile:

17 Oct 2011, 3:22 PM
#56
virtbiz_guy avatar

virtbiz_guy

New Zenner

Join Date:
Jun 2009
Posts:
16
Plugin Contributions:
0

Re: Hidden Wholesale

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?

17 Nov 2011, 11:07 PM
#57
belaird avatar

belaird

New Zenner

Join Date:
Jul 2011
Posts:
10
Plugin Contributions:
0

Re: Hidden Wholesale

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

5 Dec 2011, 5:57 PM
#58
gazag avatar

gazag

Zen Follower

Join Date:
Jun 2011
Posts:
195
Plugin Contributions:
0

Re: Hidden Wholesale

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??

14 Feb 2012, 3:53 PM
#59
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

Re: Hidden Wholesale

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?

14 Feb 2012, 4:20 PM
#60
spembleton avatar

spembleton

Zen Follower

Join Date:
Jun 2010
Location:
Holland, MI
Posts:
232
Plugin Contributions:
0

Re: Hidden Wholesale

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?