Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Add Rating Schema On My Site? Rate Topic   - - - - -

 
  • Mohol
  • Newbie
  • Trial users
  • Join Date: 25-Jul 18
  • 1 posts

Posted 25 July 2018 - 06:56 AM #1

I Want Add Rating Star Schema On My site for All pages but i don't know how to add & where to add 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18496 posts

Posted 25 July 2018 - 01:11 PM #2

What kind of information do you want to display on all pages in rating schema?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • david12
  • Newbie
  • Trial users
  • Join Date: 19-Jul 18
  • 2 posts

Posted 27 July 2018 - 07:20 PM #3

You should implement schema on each product page you want to display rating. Schema can find your existing rating and display it in result pages. I mean you need to have implemented rating script or use, for example, google my business to get opinions and then implement schema code according to this instruction: https://schema.org/Product



 
  • sealake100
  • Newbie
  • Trial users
  • Join Date: 28-Dec 16
  • 4 posts

Posted 01 August 2018 - 10:10 AM #4

hi, i want schema rate count in the categories. i tried not active.

{$discussion = $categories.categories_id|fn_get_discussion:"C":true:$smarty.request}

{include file="addons/discussion/views/discussion/components/stars.tpl"

    stars=$discussion.average_rating|fn_get_discussion_rating

    

}

and schema 

"ratingValue": "{$categories.discussion.average_rating}",

   "ratingCount": "{$categories.discussion.search.total_items}"
please help thank you very much!


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18496 posts

Posted 01 August 2018 - 01:16 PM #5

Please try


{$discussion = $category_data.category_id|fn_get_discussion:"C":true:$smarty.request}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • sealake100
  • Newbie
  • Trial users
  • Join Date: 28-Dec 16
  • 4 posts

Posted 02 August 2018 - 03:35 AM #6

:grin:  thanh you  eComLabs very much!, code actived , hope to get more help from you!!!

 

Please try


{$discussion = $category_data.category_id|fn_get_discussion:"C":true:$smarty.request}


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18496 posts

Posted 02 August 2018 - 06:19 AM #7

You are welcome!


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.