View Single Post
  #2  
Old 10-15-2014, 12:32 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

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

Default Re: Add sidebar to product pages

Phil,

Look in:
XLite/View/Controller.php

Code:
protected static function getSidebarFirstHiddenTargets() { return array( 'cart', 'product', 'checkout', 'checkoutPayment', 'checkoutSuccess', ); }

I would try extending/decorating this class, then redefining this method. Leave out the line for 'product'.

If that works, you might still have some CSS playing to do.
__________________
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