Author Topic: rating stars  (Read 423 times)

encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10
rating stars
« on: November 21, 2018, 16:28:03 pm »
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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27096
  • Always on vacation
    • Jenkin Hill Internet
Re: rating stars
« Reply #1 on: November 21, 2018, 17:43:39 pm »
Template?   Do they show with Protostar?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1

encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10
Re: rating stars
« Reply #2 on: November 21, 2018, 18:49:09 pm »
Sorry forgot to mention ... default template dont wotk also ...


encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10
Re: rating stars
« Reply #3 on: November 21, 2018, 18:50:11 pm »
Sorry forgot to mention ... default template dont wotk also ...



No only show in the section of review ... not in the upper section

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27096
  • Always on vacation
    • Jenkin Hill Internet
Re: rating stars
« Reply #4 on: November 22, 2018, 10:15:37 am »
Versions? URL?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: rating stars
« Reply #5 on: November 22, 2018, 12:17:27 pm »
image?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: rating stars
« Reply #7 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>
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10
Re: rating stars
« Reply #8 on: November 22, 2018, 13:59:37 pm »
it does also the same with Protostar

encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10
Re: rating stars
« Reply #9 on: November 22, 2018, 14:06:39 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 ??

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: rating stars
« Reply #10 on: November 22, 2018, 16:32:43 pm »
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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10
Re: rating stars
« Reply #11 on: November 22, 2018, 17:22:00 pm »
arf ... so probably conflict or main file ... because no matter the template it does that ....

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: rating stars
« Reply #12 on: November 22, 2018, 17:44:13 pm »
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?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10
Re: rating stars
« Reply #13 on: November 22, 2018, 18:07:28 pm »
arf ok ... will disable this rating review ... will decide what will do later

encreplus

  • Jr. Member
  • **
  • Posts: 198
    • Dr-ink
  • VirtueMart Version: 3.0.10
Re: rating stars
« Reply #14 on: November 22, 2018, 18:16:52 pm »
fixed ... i did re install all core files and it works now ;)