Tweak SQL for product description for slideshow – theme intro

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeTweak SQL for product description for slideshow – theme intro

This topic has been marked as not resolved.

We are planning on using Multi Store on a website along with shoppica2 and using Multistore Product Text which enables us to create a custom description for each product for each site.

We would also like to use the product slideshow functionality as frankly its brilliant.

That’s where I need a little help :-) – we want to pull the descriptions for the products for the slideshow, but it is also pulling the descriptions for the other stores – which means we have the same product show up multiple times but with different descriptions.

I think that what it is doing is is pulling the description form the oc_product_descriptions table where productid= what ever the product is.

This then pulls down multiple descriptions for the product as our table has been modified with a store_id column as well so we can have multiple descriptions for different sites :-)

So my request for help – could you tell me where I can edit the sql so that we tell it to pull down the description for where productid- the product and storeid= current store.

Thanks in advance!

April 22, 2014 at 5:54 pm #31586

Hi!

The products sql for the slideshow is located at tb_themes/shoppica2/catalog/model/productsModel.php in public function getProductsById($product_ids). Hope you’ll tune it easily.

Regards,
ThemeBurn team

April 29, 2014 at 11:19 am #31625
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.