• Resolved Drazzic

    (@drazzic)


    When setting up the price in the feed I got problem to have the right price when on sale.

    If I choose regular price and the product is on sale, he shows the regular price but I would like the sales price.

    If I choose sales price and the product is not on sale, he shows nothing.

    What do I need to pick to get the actual price the user have to pay?

    Find out I could get it to work with adding some rules.

    • This topic was modified 7 years, 10 months ago by Drazzic.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author AukeJomm

    (@aukejomm)

    Hello Drazzic,

    You can use conditions for that.
    So like IF sales price is empty price is regular price OR Sales price for all other products.

    A note on using sales price for the price field is that Google has a Sales price field for that. You should add the regula price under the price field and sales price under … sales price field.

    Thanks Aukejomm,

    This is useful information. Can you please tell us how to map the regular price and the sale price correctly using WP Product Feed plugin?

    We currently have ‘Combine source fields’ with Regular Price, space, and Woocommerce Currency.

    We would like to add Sale Price to feed for Google to populate the Sale Price field on each product that is on sale.

    • This reply was modified 7 years, 9 months ago by AboutWebsites.
    Plugin Author AukeJomm

    (@aukejomm)

    Well it is the same answer as for Drazzic.
    Use the condition and swap regular price with sales price.

    Same note as Drazzic, there is a special sale_price element in the feed manager

    Hi Auke,

    I must confess, that I’m also a bit confused about setting up the sales price.
    Yet I did not find a way to set it like:
    If sales_price is empty > don’t add sales_price.
    According to GMC help, the regular price is mandatory also when on sale. So I must not just overwrite the regular price with the sales price but provide both of them. But using the sales_price field in a feed where also non sales products are listed, I only figured out yet, that in this case I list out both regular and sales price with the same value.
    I guess I’m wrong, but may be the howto-do-it-right can find a way into the documentation ??
    Thank you
    Tom

    Plugin Author AukeJomm

    (@aukejomm)

    Hi Tom,

    You can add the sales price tot the feed by selecting the sales_price attribute under optional.

    Add sales price to feed

    If the product has no sales price the sales_price attribute will not be shown so no need to add some condition here.

    If you would still want to use sale price in the price attribute if the sale price is set you could use the next condition

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Price problem when on sale’ is closed to new replies.