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

Site Structured Data module for X-Cart Classic
 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #11  
Old 08-01-2019, 10:16 AM
 
voodoo1967 voodoo1967 is offline
 

eXpert
  
Join Date: Sep 2009
Posts: 379
 

Default Re: Site Structured Data module for X-Cart Classic

Sorry for any confusion - but yes that is what I meant - basically "FAQ rich snippets"
You can generate the code online eg

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "What is the best xcart mod?",
"acceptedAnswer": {
"@type": "Answer",
"text": "My mods are the best etc."
}
},{
"@type": "Question",
"name": "",
"acceptedAnswer": {
"@type": "Answer",
"text": ""
}
}]
}
</script>

So I guess my question is - if there isnt an xcart mod that can do it - how can I manually add this is a category or perhaps maybe create a static page instead. Id rather be able to get it on a specific category page though (hope that makes sense)
__________________
x-cart Gold
CDSEO Pro
php 7.x
Reply With Quote
  #12  
Old 08-01-2019, 10:57 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,455
 

Default Re: Site Structured Data module for X-Cart Classic

You have to have the actual FAQs visible on the page for the customer not just the markup. Google may not even consider it if there is nothing that customers see or if the info is different.

If this is going to be all the same on all categories repeating it on every category page is really not the way to go. Just create FAQ static page and you can add the markup to it as well.

If every category will have different FAQ block you can still use static pages but you will have to reference them conditionally in the subcategories template and this can get really messy if there are more than say 2-3 FAQ pages. In this case it is really better to have a simple custom module to allow you to add FAQs on per category basis in admin and this will also output all the info.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
voodoo1967 (08-02-2019)
  #13  
Old 08-01-2019, 12:28 PM
 
voodoo1967 voodoo1967 is offline
 

eXpert
  
Join Date: Sep 2009
Posts: 379
 

Default Re: Site Structured Data module for X-Cart Classic

Thanks Steve - I sort of came to the same conclusion re a static page or category page with code added in the editor etc.
__________________
x-cart Gold
CDSEO Pro
php 7.x
Reply With Quote
  #14  
Old 08-02-2019, 01:09 AM
 
voodoo1967 voodoo1967 is offline
 

eXpert
  
Join Date: Sep 2009
Posts: 379
 

Default Re: Site Structured Data module for X-Cart Classic

And now todays xcart issue - trying to get an expandable faq list on click using the html editor.....

sorted eventually using an expandable grid
__________________
x-cart Gold
CDSEO Pro
php 7.x
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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 12:11 AM.

   

 
X-Cart forums © 2001-2018