Hi,
I wanted to know if it’s possible to only show enabled products and products with qty>0 in the product selector screen of the intro.
Basically, I have multiple items of the same model number, differentiated by SKU, and I enable only 1 sku of each model, and disable the rest. In the intro selection, I do not know which product is enabled, so I have to select all the products of the same model.
If that’s not possible, it would help if the enabled/disabled status is displayed on the selection screen.
Thanks
|
|
Hi!
Open admin/model/defaultModel.php , find the following row: if (isset($data['sort']) && in_array($data['sort'], $sort_data)) {
and insert this immediately before it: $sql .= " AND p.status = 1 AND p.quantity > 0";
This should resolve your problems.
Regards,
ThemeBurn team
|
|
Another thing, I’m using cloudflare CDN. I was wondering if the theme is compatible with CDN, because now my intro slider is not working. It only shows me the first product description without the image, and does not scroll.
Used to work fine before the CDN was implemented.
Anything in particular you would know that causes this? And is there a workaround for that?
my site: http://www.otmjewellery.com
Thanks
|
|
Hi again!
We looked into your site and found that your slider is not working because of an error that is not connected with Shoppica theme. There are two script which cause javascript errors on your site and the prevent the Shoppica slider from working:
1. The script located in http://www.otmjewellery.com/contactupload/scripts/gen_validatorv31.js causes the following error: TypeError: itemobj is undefined
2. The script located in http://www.otmjewellery.com/catalog/view/javascript/isearch.js causes the following error: TypeError: originalSearchBoxOffset is null
These errors come from external extensions you have installed and we are unable to provide support for them, but you may get support from their authors. We hope the errors we have located will help you. We are pretty sure these errors will also appear with the default opencart theme enabled.
Regards,
ThemeBurn team
|
|
Hi,
Thanks again for excellent support, indeed, it was the javascript you have mentioned which was causing the slider to fail.
I disabled them, and it’s working perfectly.
Again, many thanks for your support, despite this not being a Shoppica problem
Cheers,
Abhas
|
|
Glad we’ve helped, Abhas
BR,
ThemeBurn team
|
|