How do we change this value?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27712
    mirceacrisan
    Participant

    We’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>
    

    Wrong price in Google

    #27719
    wensolutions
    Keymaster

    Hello,

    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.

    #27720
    mirceacrisan
    Participant

    So what can we do to change the price in that code to the proper one?

    #27721
    wensolutions
    Keymaster

    Hello,

    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.

    #28693
    besalb
    Participant

    i 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.