Jump to content

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

Please Make Pricevaliduntil Field Rate Topic   * * * * * 1 votes

 

Posted 20 March 2019 - 03:21 PM #1

Hello Cs-Cart,

 

I got 2 warning from Google Structured Data Testing Tool:

 

The priceValidUntil field is recommended. Please provide a value if available.

The url field is recommended. Please provide a value if available.

 

Could you please make these fields asap. 

Thank you so much

Attached Thumbnails

  • Screen Shot 2019-03-21 at 0.14.38.png


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 5110 posts

Posted 20 March 2019 - 06:38 PM #2

see here https://forum.cs-car...for-seo/page-4?


4 14.1


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

Posted 21 March 2019 - 06:36 AM #3

Our module contains url field

 

https://www.ecom-lab...ets-add-on.html

 

priceValidUntil is not used since it does not have analog in CS-Cart. If you buy our addon, we can add this field for you free of charge if you provide us with the required value


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 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • ThomH
  • Senior Member
  • Members
  • Join Date: 20-Nov 07
  • 1683 posts

Posted 21 March 2019 - 02:39 PM #4

Our CDSEO add-on (the first and probaly the best SEO add-on with Google structured data feature) validates all required and recommended values:

 

Google test tool link

 

You have the ability to set up the price validity under the products management page.

If you don't want to go and set up for each product, the add-on will add 1 year automatically to the structured data value (dynamically).


WebGraphiq offers a wide range of professionally developed, ready to use CS-Cart add-ons to provide additional functionality and boost your sales. The oldest active CS-Cart add-on development team. -- Since 2006 --


CS-CART ADD-ONS | FREE QUOTE | CS-CART DEVELOPMENT | @webgraphiq


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

Posted 22 March 2019 - 06:17 AM #5

We have updated our addon. In the new version you can use product SKU as MPN and send priceValidUntil value (current date + 1 month)


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 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • automatednow
  • Advanced Member
  • Members
  • Join Date: 18-Aug 14
  • 137 posts

Posted 01 May 2020 - 11:00 AM #6

We have updated our addon. In the new version you can use product SKU as MPN and send priceValidUntil value (current date + 1 month)

I purchased your add-on, seems to work well, but am still getting errors about pricevaliduntil, I have the latest version, how do I set this up? The box is checked for SKU as MPN



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

Posted 01 May 2020 - 01:06 PM #7

I purchased your add-on, seems to work well, but am still getting errors about pricevaliduntil, I have the latest version, how do I set this up? The box is checked for SKU as MPN

 

Please make a request on our website. We will check it


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 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • Lufee
  • Newbie
  • Trial users
  • Join Date: 01-Oct 20
  • 3 posts

Posted 01 October 2020 - 04:08 PM #8

Rather, the problem is in the module part or its settings themselves, because this was not the case in the original version.



 
  • corelatam
  • Newbie
  • Members
  • Join Date: 30-Jul 20
  • 4 posts

Posted 07 March 2022 - 05:33 AM #9

Hi There;

 

JSON is added in app/addons/seo/func.php file You need to add an output similar to what is already there in the block that starts with if ($show_price).

In:

if ($show_price) { $offer = [ ‘@type’ => ‘http://schema.org/Offer’,

‘availability’ => fn_seo_get_schema_org_product_availability($product_data),

'url' => fn_url('products.view?product_id=' . $product_data['product_id']),

'price' => 0,

'priceCurrency' => $currency,

 

Add:

'validFrom' => date('Y-m-d',strtotime(date("Y-m-d", mktime()))),

‘priceValidUntil’ => date(‘Y-m-d’,strtotime(date(“Y-m-d”, mktime()) . " + 10 day")),

 

That's all, Greetings..!!

 

 

 



 
  • salihli
  • Member
  • Members
  • Join Date: 16-May 14
  • 20 posts

Posted 07 July 2022 - 02:11 PM #10

it works..
 
 
'validFrom' => date('Y-m-d',strtotime(date("Y-m-d", mktime()))),
'priceValidUntil' => date('Y-m-d',strtotime(date("Y-m-d", mktime()) . " + 10 days ")),


 
  • ChrisMila
  • Advanced Member
  • Members
  • Join Date: 03-Jan 17
  • 59 posts

Posted 08 July 2022 - 11:03 AM #11

We still have the problem with:

 

priceValidUntil' (in 'offers')

 

and 

 

missing field 'brand' 



 
  • ChrisMila
  • Advanced Member
  • Members
  • Join Date: 03-Jan 17
  • 59 posts

Posted 12 July 2022 - 08:07 AM #12

Update:

 

priceValidUntil' (in 'offers')    is working now.

 

 

Only missing field 'brand' is not working



 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3943 posts

Posted 15 July 2022 - 07:47 PM #13

Update:

 

priceValidUntil' (in 'offers')    is working now.

 

 

Only missing field 'brand' is not working

Hi!

 

Please, make sure that your product has feature with the Brand purpose.

 

Hope it helps.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • ChrisMila
  • Advanced Member
  • Members
  • Join Date: 03-Jan 17
  • 59 posts

Posted 16 July 2022 - 09:04 AM #14

Hi!

 

Please, make sure that your product has feature with the Brand purpose.

 

Hope it helps.

 

Yes, they have. 

But each article is displayed 2 times. 1 with Brand, 1 without Brand



 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3943 posts

Posted 28 July 2022 - 03:09 PM #15

Yes, they have. 

But each article is displayed 2 times. 1 with Brand, 1 without Brand

I am afraid, I could not understand what do you mean. Could you please provide some examples?


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • ChrisMila
  • Advanced Member
  • Members
  • Join Date: 03-Jan 17
  • 59 posts

Posted 29 July 2022 - 10:54 AM #16

I am afraid, I could not understand what do you mean. Could you please provide some examples?

When you check this article: 

 

https://my-beads.sho...au-schaatsster/

 

In Google Search Console it is displayed 2 times: (1x OK, 1x with Brand error)

 

Brand.jpg



 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3943 posts

Posted 02 August 2022 - 03:26 PM #17

When you check this article: 

 

https://my-beads.sho...au-schaatsster/

 

In Google Search Console it is displayed 2 times: (1x OK, 1x with Brand error)

 

Brand.jpg

The URL from the id field at the screenshot leads to 404 page:

https://my-beads.sho...-schaatsster/32

 

But at the https://my-beads.sho...au-schaatsster/page itself, everything is okay with the brand field, in the ld+json schema, it is present:

<script type="application/ld+json">
{
    "@context": "http://schema.org/",
    "@type": "http://schema.org/Product",
    "name": "​My-Beads zilveren Charm 618 Kunstschaatsen",
    "sku": "EAN-9503449869197/MB618",
    "mpn": "My-Beads",
    "brand":
    {
        "@type": "Brand",
        "name": "My-Beads sieraden"
    },
    "description": "My-Beads Charm 618 Kunstschaatsen\r\nAfmeting: 15 mm\r\nEdelmetaal: echt zilver, 925 (1e gehalte), nikkelvrij.Inclusief geschenkverpakking.Prijzen zijn incl. B.T.W\r\n\r\nCadeau tip voor: Schaatsster, kunstrijden op de schaats, trainster, wedstrijd gewonnen, kampioenschap.\r\nDeze zilveren My-Beads Charm is voorzien van een karabijnsluiting en past op vrijwel alle Charm armbanden.\r\nDit leuke  sportsieraad is leuk om kado/cadeau te geven of te krijgen.\r\nMaak de set compleet er zijn nog veel meer leuke sportsieraden van My-Beads.\r\n#MyBeadsSport #Kunstschaatsen #Kunstrijden",
    "image":
    [
        "https://my-beads.shop/images/watermarked/1/detailed/1/MB_618_250x250.png",
        "https://my-beads.shop/images/watermarked/1/detailed/1/MB_618_500x500.png"
    ],
    "offers":
    [
        {
            "@type": "http://schema.org/Offer",
            "availability": "InStock",
            "url": "https://my-beads.shop/my-beads-zilveren-charm-kunstschaatsen-kunstrijden-cadeau-schaatsster/",
            "price": 16.95,
            "priceCurrency": "EUR",
            "validFrom": "2022-07-28",
            "priceValidUntil": "2022-08-07"
        }
    ],
    "aggregateRating":
    {
        "@type": "http://schema.org/AggregateRating",
        "reviewCount": 1,
        "ratingValue": 5
    },
    "review":
    [
        {
            "@type": "http://schema.org/Review",
            "author":
            {
                "@type": "http://schema.org/Person",
                "name": "Tristan (Halsteren)"
            },
            "reviewRating":
            {
                "@type": "http://schema.org/Rating",
                "ratingValue": 5,
                "bestRating": 5
            }
        }
    ]
}
</script>

I can recommend you to contact Google Support on this case.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation