V1.7 Category Sections on Main Page - Module for CMS PrestaShop PrestaShop Module

pawelxx99l2

Active member
Elite
Joined
May 14, 2019
Messages
69
Reaction score
244
Points
33
NullCash
520
demo: https://ewonta.ru/demo/modules_demo/categorysectionsmain/en/

Short description:
Module "Category Sections on Main Page" for stores on cms PrestaShop.
This module will allow you to create full-fledged product sections on the home page. You can add both products of the same category and products of different categories there. In addition, the section will automatically contain a link to all products added to it.
In addition, you can add a whole category of products to the section or specify a certain number of added products from one category.
The number of sections to create on the main page of the store is not limited.
Why buy plugin "Category Sections on Main Page" for cms PrestaShop
The plugin will allow you to show the user the most spectacular products in your store. In this case, the main page acts as the most prominent showcase, where the most popular products are located. This can increase the average check and the number of orders in the store.Screenshot_14.png
 

Attachments

  • 2b155cbf0c30492aebcf5866b6437cb4.zip
    4.8 MB · Views: 17

hxcode

Well-known member
Master
Diamond
Elite
Joined
Aug 16, 2020
Messages
3,535
Reaction score
417
Points
83
NullCash
18
thx bro for sharing. i will test it
 

7nachik7

Member
XNullUser
Joined
Jan 21, 2022
Messages
124
Reaction score
0
Points
16
NullCash
2
thank you very much for sharing this module (y)
 

sudo

Member
XNullUser
Joined
Dec 17, 2019
Messages
269
Reaction score
10
Points
18
NullCash
16
excellent feature, thanks for this!
 

potatoinsideoutpiano

Well-known member
Master
Diamond
Elite
Joined
Apr 9, 2021
Messages
2,003
Reaction score
2,003
Points
113
NullCash
3,403
Thank you bro for sharing this module!
 

Sillumin

Well-known member
☆ Pro ☆
Master
Diamond
Elite
Joined
Jun 18, 2021
Messages
3,620
Reaction score
764
Points
113
NullCash
6,100
Thank you very much! It is very good module!
 

Jonj0j25h

Member
XNullUser
Joined
May 6, 2022
Messages
166
Reaction score
7
Points
18
NullCash
16
demo: https://ewonta.ru/demo/modules_demo/categorysectionsmain/en/

Short description:
Module "Category Sections on Main Page" for stores on cms PrestaShop.
This module will allow you to create full-fledged product sections on the home page. You can add both products of the same category and products of different categories there. In addition, the section will automatically contain a link to all products added to it.
In addition, you can add a whole category of products to the section or specify a certain number of added products from one category.
The number of sections to create on the main page of the store is not limited.
Why buy plugin "Category Sections on Main Page" for cms PrestaShop
The plugin will allow you to show the user the most spectacular products in your store. In this case, the main page acts as the most prominent showcase, where the most popular products are located. This can increase the average check and the number of orders in the store.View attachment 54607
Thanks alot nice share and nice modul
 

conta3

Member
XNullUser
Joined
Nov 5, 2022
Messages
99
Reaction score
0
Points
16
Location
Brazil
NullCash
1
demo: https://ewonta.ru/demo/modules_demo/categorysectionsmain/en/

Short description:
Module "Category Sections on Main Page" for stores on cms PrestaShop.
This module will allow you to create full-fledged product sections on the home page. You can add both products of the same category and products of different categories there. In addition, the section will automatically contain a link to all products added to it.
In addition, you can add a whole category of products to the section or specify a certain number of added products from one category.
The number of sections to create on the main page of the store is not limited.
Why buy plugin "Category Sections on Main Page" for cms PrestaShop
The plugin will allow you to show the user the most spectacular products in your store. In this case, the main page acts as the most prominent showcase, where the most popular products are located. This can increase the average check and the number of orders in the store.View attachment 54607
Thank you very much for sharing this module
 

Ad3r

Member
XNullUser
Joined
Mar 22, 2020
Messages
184
Reaction score
1
Points
18
NullCash
4
Super module, easy to use to add sections by categories in homepage thank you.
 

domirek726

New member
XNullUser
Joined
Aug 7, 2023
Messages
15
Reaction score
0
Points
1
Location
Poland
NullCash
13
thx bro for sharing. i will test it
Post automatically merged:

thx bro for sharing. i will test it
 
Last edited:

mo1373

Member
XNullUser
Joined
Aug 29, 2020
Messages
990
Reaction score
1
Points
18
NullCash
9
Thanks alot nice share and nice modul
 

Ponas

Well-known member
Diamond
Elite
XNullUser
Joined
Jan 17, 2022
Messages
1,386
Reaction score
132
Points
63
NullCash
16
Category Sections on Main Page – Module for CMS PrestaShop - NEW VALID DEMO PAGE LINK

prestashop 8.x Works only partially. If the product name contains quotation marks, the search button is inactive and the product cannot be assigned.

modules\categorysectionsmain\views\templates\admin\addproduct.tpl

The code responsible for the search:

<script type="text/javascript">

$(document).ready(function(){
var timer;

$( "#product_categorysectionsmain" ).keyup(function() {
var thiss = $(this);
$('.cssload-container').show();
$('#productLinkResult').html(' ');
clearTimeout(timer);
timer = setTimeout(function() {

var search_key = thiss.val();
$.ajax({
type: 'GET',
url: baseAdminDir + currentIndex,
headers: { "cache-control": "no-cache" },
async: true,
data: 'action=searchsectionsmain&name='+ search_key+'&ajax=1&token={$token|escape:'htmlall':'UTF-8'}',
dataType: 'json',
success: function(data) {
$('.cssload-container').hide();
if (data) {
for (var index in data) {

$('#productLinkResult').append('<tr><td class="center" data-id='+data[index].id_product+'>'+data[index].id_product+'</td><td>'+data[index].name+'</td><td><button type="button" onclick="addInput(\'' + data[index].id_product + '\' ,\'' + data[index].name + '\')" class="btn btn-default but_prod_f"><i class="material-icons">chevron_right</i></button></td></tr>');
}
} else {
$('#productLinkResult').html('<tr><td class="center"></td><td class="center">Not result</td><td class="center"></td></tr>');
}



}
}) .done(function( msg ) {

});
}, 1000);


});
});
function addInput(id,namea) {
if (!document.getElementById("div-" + id )) {
$("#productLinked").append('<tr class="noInlisted_5" id="div-' + id + '"> <td class="center">'+id+'<input name="products[]" type="hidden" id="input-' + id + '" value="' + id + '"></td><td class="">'+namea+'</td><td class="center"><button type="button" onclick="removeInput(\'' + id + '\')" class="btn btn-default"><i class="material-icons">close</i></button></td></div></tr>');
}


Check it out, maybe someone can fix it so I can remove those quotes. Please share the latest version of this module which is compatible with restashop 8.x
 

mondeo

Member
XNullUser
Joined
Jul 15, 2021
Messages
343
Reaction score
13
Points
18
NullCash
9
It's version for Prestashop 8.x? Or maybe this one working in 8.x?
 
Top