4 product column on main page. how?
I disable TopCategories (in CustomSkin\View, function isVisible() return false) and get a blank column on the left.
Рlease tell me, how do I remove from anywhere conclusion of this empty space, and the products on the main page to display in four columns, the entire width of the template? Thank you very much in advance. |
Re: 4 product column on main page. how?
PhilJ, if the answer to my question is in the FAQ - please give a link to it.
|
Re: 4 product column on main page. how?
The only way I got this to work was by setting the max number of columns from 3 to 4.
I did this by adding a class in my custom module like this: Code:
abstract class GridColumns extends \XLite\View\ItemsList\Product\Customer\Category\ACustomer implements \XLite\Base\IDecorator However this will affect all pages (which is what I wanted), not just the home page. Jan |
Re: 4 product column on main page. how?
The best way to ditch the side column in X-cart 5 is to create a controller class that decorates XLite\View\Controller and redefines the getSidebarFirstHiddenTargets() method.
Here is an example from my new Magnifico theme: Code:
namespace XLite\Module\Guru\Magnifico\View; This will remove the sidebar from the target "main" (home page) only. |
Re: 4 product column on main page. how?
Thanks (((
I removed X-Cart. It's too complicated for me. What other products made by simply changing the settings, in the X-Cart programming required on a whim, since there is no documentation. To be honest, it's easier to write from scratch online store, than to understand the X-Cart. |
Re: 4 product column on main page. how?
You should take a look at XC4 - a lot more easier to work with and tons of modules and help on the forums - https://www.x-cart.com/pricing.html
|
Re: 4 product column on main page. how?
Quote:
|
Re: 4 product column on main page. how?
I'd like it to just affect the Category List, any suggestions?
|
Re: 4 product column on main page. how?
Quote:
|
All times are GMT -8. The time now is 03:23 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.