Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Re-order bottom tabs.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-26-2011, 02:56 AM
 
denisRGM denisRGM is offline
 

Newbie
  
Join Date: Jun 2011
Posts: 7
 

Default Re-order bottom tabs.

Using V4.4.3, custom installation by Xcart which I believe uses 3 column layout, see http://oakfurniture1.co.uk

When in a direct product such as here http://oakfurniture1.co.uk/product.php?productid=17514&cat=0&featured=Y it has at the bottom 4 tabs with default opening of Send to friend. We would like to change the order of these tabs and have default opening to Category Products tab.

Anyone any idea how to do this please?

Many thanks.

Denis.
Reply With Quote
  #2  
Old 09-26-2011, 05:35 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Re-order bottom tabs.

You are looking for /include/product_tabs.php.

After line 54:
$product_tabs = array();

The sections below this define the individual tabs, just change the order that they appear in the document. Move the code block that represent "Send to Friend" below the others. This is the send to friend block, line 111 on my system:
Code:
if ($config['Appearance']['send_to_friend_enabled'] == 'Y') { $product_tabs[] = array( 'title' => func_get_langvar_by_name('lbl_send_to_friend'), 'tpl' => 'customer/main/send_to_friend.tpl', 'anchor' => 'send2friend' ); }
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following 2 users thank totaltec for this useful post:
denisRGM (09-26-2011), kpriest (09-26-2011)
  #3  
Old 09-26-2011, 06:18 AM
 
denisRGM denisRGM is offline
 

Newbie
  
Join Date: Jun 2011
Posts: 7
 

Default Re: Re-order bottom tabs.

Right on the button sir, my many thanks and most appreciated.

Best regards.

Denis.
Reply With Quote
  #4  
Old 07-10-2013, 07:36 PM
 
shopchimney shopchimney is offline
 

Newbie
  
Join Date: Nov 2012
Posts: 4
 

Default Re: Re-order bottom tabs.

Yes, that worked well, thanks.
Is there a way to make customer reviews show up first if there is a review, and if there is no review, then have another tab like related products show up first?
__________________
4.6.1
Reply With Quote
  #5  
Old 02-10-2014, 11:29 AM
 
WilpackPackaging WilpackPackaging is offline
 

Newbie
  
Join Date: Nov 2013
Posts: 2
 

Default Re: Re-order bottom tabs.

Anyone know how to do this in 4.6.1?
__________________
Eric B
Wilpack Packaging
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:43 PM.

   

 
X-Cart forums © 2001-2020