| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Site Structured Data module for X-Cart Classic | ||||
|
|
Thread Tools |
#11
|
|||||||
|
|||||||
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 Plus 4.7.12 CDSEO Pro latest ver ReDux template xcartmods.co.uk - it's great php 7.x |
|||||||
#12
|
|||||||||
|
|||||||||
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 |
|||||||||
|
#13
|
|||||||
|
|||||||
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 Plus 4.7.12 CDSEO Pro latest ver ReDux template xcartmods.co.uk - it's great php 7.x |
|||||||
#14
|
|||||||
|
|||||||
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 Plus 4.7.12 CDSEO Pro latest ver ReDux template xcartmods.co.uk - it's great php 7.x |
|||||||
#15
|
|||||||||
|
|||||||||
Re: Site Structured Data module for X-Cart Classic
Is anyone successfully using Steve's Site Structured Data module with X-Cart Classic 4.7.11 and Phil's reBOOT with 4.7.11?
When I try using both, and then testing with the Google tool https://search.google.com/structured-data/testing-tool When I add one of my product URLs, https://www.mystore.com/myproduct.html the google test tool redirects my product URL to my homepage.php. https://www.mystore.com/home.php Breadcrumb List and WebSite are created, but NOT for my product URL, but for the home page redirected php. If anyone is using this combination, please PM me. Thanks. Peggy
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7 |
|||||||||
#16
|
|||||||||
|
|||||||||
Re: Site Structured Data module for X-Cart Classic
I found my problem.
My redirect to my 'home.php' when entering a test url into the google structured data test tool, was coming from a line at the bottom of the reCaptcha_js.tpl. {* {if $main eq "catalog" && $cat eq "0"}{else}<noscript><meta http-equiv="refresh" content="0.0;url=home.php"></noscript>{/if} *} Thanks to Paul, Phil and Steve for helping my muddle through this. Hopefully this is helpful to others that may run into this problem.
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7 |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|