Featured Items in Multiple Stores
Posted: Sun Jun 16, 2019 3:07 am
I am new to OpenCart 3.x, and I feel like I might be missing something about the Home Page Featured Module.
I will have multiple stores setup. Some of the stores will have common products. Some of these common products should be featured in one store but not necessarily in the others. I did a backtrace, etc and I wound up looking at the *_module table and the record for 'featured'. It is JSON code:
Original:
New:
Note that there is no store_id data in the original json. I am thinking of changing it to something like the new json above and then fiddling with ...module/featured.php to get it to work. Am I missing a setting somewhere or is this recoding necessary? Note that I assume the 'status' means enabled. Any advice or suggestions appreciated. Again, I feel like I am missing something, but I don't see an option to pick a store for each item in Extensions > Featured
I will have multiple stores setup. Some of the stores will have common products. Some of these common products should be featured in one store but not necessarily in the others. I did a backtrace, etc and I wound up looking at the *_module table and the record for 'featured'. It is JSON code:
Original:
Code: Select all
{
"name": "Home Page",
"product_name": "",
"product": [
"311",
"675",
"201",
"207",
"200",
"473"
],
"limit": "16",
"width": "200",
"height": "200",
"status": "1"
}
Code: Select all
{
"name": "Home Page",
"product_name": "",
"status": "1",
"store": {
"0": {
"product": [
"675",
"201",
"207",
"200",
"473"
],
"limit": "16",
"width": "200",
"height": "200"
},
"2": {
"product": [
"311"
],
"limit": "16",
"width": "200",
"height": "200,
}
}
}