PDA

View Full Version : How to add Shop Tab in vBulletin 4.2.0



Greystoke
30-05-2012, 01:48
Go to Settings -> Navigation Manager

Click 'Add Tab'.

Enter as in image.

http://img405.imageshack.us/img405/7303/navaddtab.jpg

Now add the sub menu.
Select 'Add Link'

http://img411.imageshack.us/img411/3919/navaddlinkt.jpg

You will need to add 3 Links.

http://img440.imageshack.us/img440/7272/navaddlinkacc.jpg

http://img85.imageshack.us/img85/7837/navaddlinkcart.jpg

http://img441.imageshack.us/img441/6708/navaddlinkcheckout.jpg

Now you need to add a Plugin

Go to Plugins & Products -> Plugin Manager

First - Disable the Plugin oscShop process_templates_complete

Now - Add New Plugin

http://img716.imageshack.us/img716/3626/addplugin.jpg

This is the code for the Plugin

if (substr(THIS_SCRIPT, 0, 4) == 'osc_')
{
$request_tab = 37;
}

This is where you get you Nav Tab ID
Go to Settings -> Navigation Manager
Click Edit for the Shop Tab.

http://img594.imageshack.us/img594/9663/navtabid.jpg

You should now have a Shop Tab and Sub Menu showing in your Nav Bar.