Post by CaptainHaddock » Thu Nov 13, 2014 10:35 am

Hi,
Have searched this forum and google looking for an answer and not found one. Hope someone can help me here.

Is it possible to have product reviews enabled in a multistore, but disabled in the default store?

E.g.
Default store is http://www.default.com and I do not want product reviews showing at all (e.g. as a tab on product pages).
Multistore is http://www.multistore.com and I want product reviews enabled so people can do reviews and they are shown.

I'm on opencart 1.5.5.1.
It seems I can only enable/disable reviews on the default store via admin/system/settings/www.default.com/options/
Changing it to on or off then affects the default store and all the other multistores.
The multistore settings options do not have a setting for reviews.

Thanks

Active Member

Posts

Joined
Tue Jul 02, 2013 7:01 am


Post by Martijn ISB » Thu Nov 13, 2014 4:41 pm

You can modify the product.tpl to not show the reviews for a specific store ID.

Something like this should work (untested):

catalog/view/theme/default/template/product/product.tpl

find

Code: Select all

<?php if ($review_status) { ?>
replace w/

Code: Select all

<?php if ($review_status AND (int)$this->config->get('config_store_id')!=1) { ?>

Newbie

Posts

Joined
Thu Nov 13, 2014 2:48 am
Who is online

Users browsing this forum: No registered users and 58 guests