- This topic has 4 replies, 3 voices, and was last updated 2 years, 10 months ago by
besalb.
- AuthorPosts
- July 6, 2020 at 8:41 am #27712
mirceacrisan
ParticipantWe’ve been working on the schema org for our site and we encountered an issue: a wrong price appears on Google (as seen in the image below). We found the bit of code which needs to be edited but we don’t know where it is.
The price for that tour is not € 1089 or € 989, it is 199 or 183 with a discount.
<span class="price-from"> From </span> <del> <span> <span class="wp-travel-trip-currency">€</span><span class="wp-travel-regular-price-figure">1,089.00</span> </span> </del> <span class="person-count"> <ins> <span> <span class="wp-travel-trip-currency">€</span><span class="wp-travel-trip-price-figure">989.00</span> </span> </ins> </span> </div> </div> </div>
July 6, 2020 at 12:12 pm #27719wensolutions
KeymasterHello,
Actually, the html structure you have mentioned has come from inc/helpers/helpers-price.php file.
Also, can you please mention the pricing function you have fetched(if you have fetched any) when playing around with schema?
Regards.
July 6, 2020 at 12:17 pm #27720mirceacrisan
ParticipantSo what can we do to change the price in that code to the proper one?
July 6, 2020 at 12:24 pm #27721wensolutions
KeymasterHello,
Can you please mention the pricing function you have fetched(if you have fetched any) when playing around with schema as we have mentioned earlier so that we can help you?
Regards.
July 30, 2020 at 6:05 pm #28693besalb
Participanti find a way myself, hope it will work and for you too. go to dashboard of your wordpress then go to WP Travel, go to Settings tab. At General (settings), Be sure you have disabled Switch to V4.
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.