Good day ,
The rating stars in the review tab are working ok ... but the stars beside product name show none ... when i click on the tab the 5 stars are showing ...
what im doing wrong lol
Template? Do they show with Protostar?
Sorry forgot to mention ... default template dont wotk also ...
Quote from: encreplus on November 21, 2018, 18:49:09 PM
Sorry forgot to mention ... default template dont wotk also ...
No only show in the section of review ... not in the upper section
Versions? URL?
image?
here is an exmample : https://dr-ink.ca/inkjet-cartridges/hp/hp-deskjet-series/hp-deskjet-d1660/2-ink-cartridge-compatible-hp-60xl-xxl-detail.html
you need to find why this is empty($product->rating)
if (empty($product->rating)) {
?>
<div class="ratingbox dummy" title="<?php echo vmText::_('COM_VIRTUEMART_UNRATED'); ?>" >
</div>
<?php
} else {
because your page is showing
<div class="ratingbox dummy" title="Not Rated Yet">
</div>
it does also the same with Protostar
Quote from: GJC Web Design on November 22, 2018, 13:46:56 PM
you need to find why this is empty($product->rating)
if (empty($product->rating)) {
?>
<div class="ratingbox dummy" title="<?php echo vmText::_('COM_VIRTUEMART_UNRATED'); ?>" >
</div>
<?php
} else {
because your page is showing
<div class="ratingbox dummy" title="Not Rated Yet">
</div>
In wich file i will find this code ??
this is the standard product detail ratings sublayout ....
but that's not the point -- you need to find why YOUR $product->rating is empty
on a standard install appears to work fine
http://test.gjcwebdesign.com/joomla390/index.php/headpiece/cowboy-hat-detail
arf ... so probably conflict or main file ... because no matter the template it does that ....
not a "conflict" - this is php .. u need to backtrace the object to find where the rating isn't loaded or is it even being set?
arf ok ... will disable this rating review ... will decide what will do later
fixed ... i did re install all core files and it works now ;)