Answer the question
In order to leave comments, you need to log in
What to specify in the priceValidUntil field during micro markup?
When checking Shema.org structured data, I get
priceValidUntil It is
recommended to fill in the priceValidUntil field. Specify the value if known.
priceValidUntil - Date (in ISO 8601 format) after which the price will no longer be valid. Product details may not appear if the priceValidUtil property specifies a date that has already passed.
I can't figure out what date to put in this field
Answer the question
In order to leave comments, you need to log in
Do you have a promotional product with a discount that ends on a certain day?
- Then you should fill in this variable
If you have a product with a standard price and you do not know when the price will change
- Then you do not need to fill in this variable
For the future, in the docks, words like "Recommended", "Required", "Desirable" force and must be taken literally
Put it like this, with a direct code and let Google choke)))
Some especially smart people make calculations on the server, such as from the date of receipt at the warehouse plus three years, or for example if the products are plus a month.
But if you judge soberly, and Google's butt will not crack , do extra operations on the server for ONLY HIM ONE??? This data will NEVER NEED ANYONE, except for Google.
Therefore, Google goes through the woods and gets the necessary numbers, and we are doing more useful things.
<div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
.....
<meta itemprop="priceValidUntil" content="2029-12-31">
.....
</div>
<meta itemprop="priceValidUntil" content="<?= date('Y-m-d',strtotime(date("Y-m-d", mktime()) . " + 3650 day"));?>">
In the store, the price of the product is calculated every day based on the euro exchange rate (since the product is strongly tied to it), if I set priceValidUntil for a day, will Google and Yankex think that the product (price) is no longer available. In short, I don’t know what to do, how to be right so as not to screw up seo?
Here is a function that displays the date for the priceValidUntil field in the required format:
$date = date('Y-m-d', strtotime("+365 day"));
1 year is added to the current date. Validity of the price - 1 year.
Take for 5 bucks a month a virtual machine from DO, Vultr or OVH, install some SoftEther and use it. You will be your own vpn-provider and you will live calmer.
Alternatively, you can look at the list of VPNs here and choose the more suitable https://www.vpnlist.ru/ for yourself. I'm currently using ShadeYou. The speed is excellent. I'm just sitting on a Russian VPN. It's worth the money, in my opinion)
I can recommend hydemyname. Good and relatively cheap vpn. The most thrill for me is that any applications go through a VPN, and there is also the ability to connect 5 devices at once. In the current situation, a very good option. If you also sign up using my link, it will be super. https://hidemy.name/#623cc3f4de403
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question