VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: Roderic on March 07, 2015, 12:11:05 pm

Title: Wholesale / Retail prices switch button
Post by: Roderic on March 07, 2015, 12:11:05 pm
Hi, For my client his website I'm using Joomla 3.4 + Virtuemart 3.0.6.2
He has a wholesale websshop but sometimes his clients like to use the website to showcase their customers the products they can order. But in that case there shouldn't be any prices visible.
What I have been looking for and what I have been trying to achieve in several ways (but failing), is a way for them to press a button that hides the prices when they want it.

I tried it with 2 different joomla template switch modules / components but this doesn't give the proper result. Biggest problem is that there is only one menu ID for Virtuemart so you can't use the Joomla template options in template manager.

Does anyone have a proper solution / suggestion to get this working?

Thanks in advance!
Title: Re: Wholesale / Retail prices switch button
Post by: GJC Web Design on March 07, 2015, 13:36:48 pm
this is normally done with shopper groups

make wholesale users a member of a group and only show prices to that group

everyone else doesn't see prices - only if u login and are a member of that group
Title: Re: Wholesale / Retail prices switch button
Post by: Roderic on March 07, 2015, 14:58:19 pm
this is normally done with shopper groups

make wholesale users a member of a group and only show prices to that group

everyone else doesn't see prices - only if u login and are a member of that group

Yes, this I know. Now the problem is that they sometimes want to show the products they can order to customers in the shops. Those customers shouldn't be able to see the price. But the clients don't want to logout and login all the time between a account without prices and their own account wich whom they make the order. They also like to add a product to the shopping cart if a client wants the product. But usually they will add other items later on to make one big order. They will then revert to showing the prices. So this all has to be done under one account. There just needs to be some kind of switch that hides the prices.

To make things a bit more clear:
My client (owner of the webshop)
my client his clients (the people that make the orders and want to be able to switch between showing prices and hiding them)
my client his clients customers (the people that will see the webshop every now and then but shouldn't be able to see the prices)
Title: Re: Wholesale / Retail prices switch button
Post by: GJC Web Design on March 07, 2015, 15:40:07 pm
would have to be custom code
Title: Re: Wholesale / Retail prices switch button
Post by: jenkinhill on March 07, 2015, 16:15:08 pm
Or quick way is to use two browser instances, eg the store is logged in on Chrome and the guest view with no prices is on Firefox. Simple click on the task bar to change, and no coding involved. I have done this when demonstrating to clients who only want the prices & add to cart to be shown only to logged in users, so they can quickly see the difference.
Title: Re: Wholesale / Retail prices switch button
Post by: Roderic on March 09, 2015, 14:27:43 pm
Unfortunately the solution with 2 browsers at the same time is not what my client wants.

So GJC Web Design, how much work would it be for a function like this?
Title: Re: Wholesale / Retail prices switch button
Post by: GJC Web Design on March 09, 2015, 14:39:21 pm
PM me or email if you want to proceed .. 
cheers
Title: Re: Wholesale / Retail prices switch button
Post by: Milbo on March 10, 2015, 01:19:45 am
This is already solved natively,

Enable in the vmconfig, tab checkout "Allow Administrators to change the current Shopper", you can change the permission per ACL, and/or make them as vendor.

The whole system to have agents with special rights buying in the name of a shopper is implemented. They could even frontend manage their own products.
Title: Re: Wholesale / Retail prices switch button
Post by: Roderic on March 12, 2015, 23:31:18 pm
This is already solved natively,

Enable in the vmconfig, tab checkout "Allow Administrators to change the current Shopper", you can change the permission per ACL, and/or make them as vendor.

The whole system to have agents with special rights buying in the name of a shopper is implemented. They could even frontend manage their own products.

Unfortunately no. But GJC Web design has made me a module that works. So this problem is solved. If anyone needs the solution, you have to get in contact with GJC Web design.
Title: Re: Wholesale / Retail prices switch button
Post by: Milbo on March 13, 2015, 09:19:34 am
? What is the native solution missing?
Title: Re: Wholesale / Retail prices switch button
Post by: Milbo on March 13, 2015, 09:38:53 am
The shoppergroup change is in special interesting if you use the cartsaver http://extensions.virtuemart.net/products/vm-isx-cart-saver-detail

So agents can login and create complete quotes for their customers.
Title: Re: Wholesale / Retail prices switch button
Post by: GJC Web Design on March 13, 2015, 22:41:41 pm
what Rod wanted is the ability to instantly hide the prices .. the scenario is an in-shop only website, the salesman has his screen or device with wholesale prices.
The shop wants the ability to instantly hide the prices site wide on that screen when they need to show the shopper the screen (to show image or different colour of item etc) and when finished to instantly switch back

logging in and out isn't an option

Solved it with a jquery solution