Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Structure Data Highlighting in 4.0.1
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #1  
Old 06-22-2018, 11:46 AM
 
mcupka mcupka is offline
 

eXpert
  
Join Date: Jan 2013
Posts: 206
 

Default Structured Data Highlighting in 4.0.1

Hi,

I wanted to set up some structured data sets for my products with name and price, etc. Since we have a regular and sale price, the regular one shows up fine in the data highlighter. However, the sale price is completely hidden.

On my category pages, the <span class> is constantly changing with random class names for each price. However, on my product pages, it uses 'product_price' so I'm not sure why they're still invisible. Has anyone ever ran into issues with this before?

https://i.imgur.com/0k9QKdt.png

Does anyone have an install they could possibly test this with?

Last edited by mcupka : 06-22-2018 at 11:56 AM. Reason: Misspelling :)
Reply With Quote
  #2  
Old 07-24-2018, 06:50 AM
  zone1creative's Avatar 
zone1creative zone1creative is offline
 

eXpert
  
Join Date: Jan 2009
Location: Hove, UK
Posts: 249
 

Default Re: Structure Data Highlighting in 4.0.1

You will find that its best to not use google data highlighter. Only works on simple sites with less javascript.

Your best off having the structured data in the html as JSON notation.
__________________
Pinakin Patel
Zone1 Creative Ltd
http://www.zone1creative.co.uk/
Reply With Quote
  #3  
Old 07-24-2018, 06:52 AM
 
mcupka mcupka is offline
 

eXpert
  
Join Date: Jan 2013
Posts: 206
 

Default Re: Structure Data Highlighting in 4.0.1

Thanks for the feedback. How would I go about implementing that on all of these product pages? A bunch of if statements?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:59 PM.

   

 
X-Cart forums © 2001-2018