Search our site
Forum Search
Google Site Search
|
TastelessApple
Advanced Member
USA
499 Posts Pre-sales questions only (More Details...)
|
Posted - 12/01/2021 : 21:37:40
This should be a simple one.
I have $enablecustomerratings=FALSE; but the customer/viewer can still leave a review. How to I disable that?
Thanks, Josiah
|
Phil
ECT Moderator
United Kingdom
7715 Posts |
Posted - 12/02/2021 : 02:48:40
|
isellit
Starting Member
USA
2 Posts Pre-sales questions only (More Details...)
|
Posted - 12/16/2021 : 16:13:30
Commenting out this option should not show the ratings info correct. // Customer Reviews and Ratings //$enablecustomerratings=TRUE;
But yet it still shows this on detail. How do we not show?
Product Reviews No Reviews For This Product. Click to review this product
Thanks, Eddie
Edited by - isellit on 12/16/2021 16:15:36
|
ITZAP
Ecommerce Template Guru
Australia
1018 Posts |
Posted - 12/16/2021 : 16:50:20
Josiah and Eddie, to answer your question ... In your includes.php config file, the key thing to do is set the order of elements to be displayed on category, product and product detail pages (read more), like for example: // CUSTOM LAYOUT for categories.php page (New v7.2.3) $categorypagelayout="catimage, catname, discounts, description";
// CUSTOM LAYOUT for products.php $productpagelayout="productimage, productname, reviewstars, listprice, discounts, price, description";
// CUSTOM LAYOUT for Recommended, Related pages $csproductpagelayout="productimage, productname, reviewstars, listprice, discounts, price, description";
// CUSTOM LAYOUT for proddetail.php pages $detailpagelayout="productimage, productname, navigation, dateadded, sku, manufacturer, reviewstarslarge, socialmedia, description, options, listprice, discounts, price, quantitypricing, addtocart, reviews, previousnext";If you do not want Reviews to appear, then you simply delete the red entries highlighted above. Any element not listed in those parameters does not get displayed. Leave other includes.php entries as is, like for example: // REVIEWS and RATINGS $enablecustomerratings=TRUE; $ratingsonproductspage=TRUE; $customerratinglength=2048; $allowhtmlinreviews=TRUE; // Allow HTML text styles in reviews $onlyclientratings=FALSE; // Must be logged in to enter review ? Nope, but reviews must still be Approved before they are published. $numcustomerratings=15; // Display xx per page, lets not have too many page breaks. $dailyratinglimit=10;And so, if you ever want to restore Reviews sometime in future, then you simply alter the CUSTOM LAYOUT elements above accordingly ... and all will be good  Gary 
Edited by - ITZAP on 12/16/2021 17:35:10
|
isellit
Starting Member
USA
2 Posts Pre-sales questions only (More Details...)
|
Posted - 12/17/2021 : 07:23:30
That works somewhat. I was able to remove the reviews. I assume this format style doesn't use the CSS for the detail formatting. For instance the quantity is above the "Add to Cart" and not to the left and some other formatting is missing.
Eddie
|
TastelessApple
Advanced Member
USA
499 Posts Pre-sales questions only (More Details...)
|
Posted - 12/17/2021 : 14:21:54
Very helpful Gary, thank you.
Eddie, I think the idea is the get the layout as close as possible in the includes.php file and then use CSS from there.
|
ITZAP
Ecommerce Template Guru
Australia
1018 Posts |
Posted - 12/17/2021 : 16:09:39
$usecsslayout=TRUE;Yes, you must be using CSS layouts for any of this to work. addtocartquantEnter this element to put the Add to Cart button along with the Quantity control in the same container, so it's easier to keep them aligned. (instead of "quantity, addtocart".) There is also: // ARTICLE page layout (New v7.2.1) $articlepagelayout="productimage, productname, navigation, dateadded, socialmedia, description, previousnext";I have not shown all the elements available in my examples above. Do check out the "PHP parameters" page for more details; one of the most important ECT Help pages of all. You rearrange the Display Order of elements however you like; Vince magic  Gary 
Edited by - ITZAP on 12/17/2021 17:18:08
|
|
|
Shopping Cart Software Forum for Ecommerce Templates |
© 2002-2022 ecommercetemplates.com |
 |
|
|