Post by sayedsrkkhan » Mon Jun 04, 2018 8:23 pm

Hello,
How to show 4 products on each category and subcategory page on the palace of 3 product.
https://www.cakegift.in/cake
This is my page of the category.

Thank You.

New member

Posts

Joined
Wed Apr 18, 2018 5:49 pm

Post by straightlight » Mon Jun 04, 2018 8:27 pm

In catalog/view/theme/<your_theme>/template/p;roduct/category.tpl file,

change all instances of:

Code: Select all

<div class="col-sm-3">
with:

Code: Select all

<div class="col-sm-4">
This should resolved the issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sayedsrkkhan » Mon Jun 04, 2018 8:54 pm

Hello straighlight,
there is no class of col-sm-3 in my category.tpl file.
do you have any other solution?

New member

Posts

Joined
Wed Apr 18, 2018 5:49 pm

Post by straightlight » Mon Jun 04, 2018 9:10 pm

Right, a custom theme. You'd need to edit your stylesheet.css file where the:

Code: Select all

.product-block-inner {position: relative;}
stands since all your products contains the same size in your product list (which is fine). If you don't know how to do it, you can always contact the extension theme developer to get this issue resolved.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sayedsrkkhan » Tue Jun 05, 2018 2:35 am

thank you. :o

New member

Posts

Joined
Wed Apr 18, 2018 5:49 pm
Who is online

Users browsing this forum: No registered users and 12 guests