Hide B2B "Business" in order form

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Hide B2B "Business" in order form

Postby info@.....nl » Fri Nov 28, 2014 11:06 pm

Hi everyone

How can I hide or delete the Visitor / Business choice in the OPC-order form?
Since I only sell to private persons and not to business there is no need to let customers make a choice between Visitor or Business. The display of "Visitor" only will do, "Business" can be removed or hidden. How can I do this?
I'm using the Sandwitch-template.

Kind regards,
Erwin
info@.....nl
 
Posts: 5
Joined: Tue Nov 13, 2012 3:37 pm

Re: Hide B2B "Business" in order form

Postby admin » Sat Nov 29, 2014 2:33 pm

hello erwin, within the latest version of the theme and opc, there is a theme-related configuration available here:
Image

where you can set up either to hide one of the tabs or rename the names of the tab per logged in or logged out customer:
Image

if you modified the theme's css you may want to update this the old way within the onepage.unlogged.tpl.php file just set the php var to false within the top of the file. (there is other post about this here)

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Hide B2B "Business" in order form

Postby info@.....nl » Mon Dec 01, 2014 10:13 am

Hi Stan

I modified the onepage.unlogged.tpl.php file, it works fine now!

Manny thanks and regards,
Erwin
info@.....nl
 
Posts: 5
Joined: Tue Nov 13, 2012 3:37 pm

Re: Hide B2B "Business" in order form

Postby admin » Tue Dec 02, 2014 2:20 pm

hello, you are welcome.
best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2

cron