Jump to content

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

How To Remove "price" And "stock" For Rich Snippets ? Rate Topic   - - - - -

 
  • michael
  • Senior Member
  • Authorized Reseller
  • Join Date: 27-Oct 06
  • 237 posts

Posted 23 September 2020 - 02:19 AM #1

Because we are a B2B website, no price information for list, does anyone know how to remove these two for Rich Snippets ? Thanks !

Attached Thumbnails

  • richsnippets.jpg

Do whatever you want to do....

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

Posted 23 September 2020 - 04:56 AM #2

You can use the additional_product_data_post hook to change the $product_data['seo_snippet'] array


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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • michael
  • Senior Member
  • Authorized Reseller
  • Join Date: 27-Oct 06
  • 237 posts

Posted 25 September 2020 - 10:23 AM #3

You can use the additional_product_data_post hook to change the $product_data['seo_snippet'] array

can you please give me the detail steps ? Very appreciate !


Do whatever you want to do....

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

Posted 25 September 2020 - 01:20 PM #4

Instruction how to use hooks in CS-Cart can be found here

 

https://docs.cs-cart...ards/hooks.html


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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 

Posted 28 September 2020 - 04:47 PM #5

so far as my knowledge, we should not write price of products and stock in the rich snipperts