Author Topic: Wholesale / Retail prices switch button  (Read 2824 times)

Roderic

  • Beginner
  • *
  • Posts: 17
Wholesale / Retail prices switch button
« 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!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Wholesale / Retail prices switch button
« Reply #1 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Roderic

  • Beginner
  • *
  • Posts: 17
Re: Wholesale / Retail prices switch button
« Reply #2 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)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Wholesale / Retail prices switch button
« Reply #3 on: March 07, 2015, 15:40:07 pm »
would have to be custom code
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27463
  • Always on vacation
    • Jenkin Hill Internet
Re: Wholesale / Retail prices switch button
« Reply #4 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.10057 on Joomla 3.9.10 PHP 7.0.33
Testing VM 3.5.0.10097 on Joomla 3.9.10

Roderic

  • Beginner
  • *
  • Posts: 17
Re: Wholesale / Retail prices switch button
« Reply #5 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?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Wholesale / Retail prices switch button
« Reply #6 on: March 09, 2015, 14:39:21 pm »
PM me or email if you want to proceed .. 
cheers
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Wholesale / Retail prices switch button
« Reply #7 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Roderic

  • Beginner
  • *
  • Posts: 17
Re: Wholesale / Retail prices switch button
« Reply #8 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.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Wholesale / Retail prices switch button
« Reply #9 on: March 13, 2015, 09:19:34 am »
? What is the native solution missing?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Wholesale / Retail prices switch button
« Reply #10 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Wholesale / Retail prices switch button
« Reply #11 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation