Show parents product (variable) only

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #105831
    Mono
    Guest

    Hello,
    We are planning to buy the Product XML Feeds for WooCommerce plugin to use it on various e-Commerce projects.
    I have one pre-sales question. If you can help me, because I can’t find a solution for this.
    We list products with variations and we want to show only the parent products. From the plugin’s Products Filtering Options I choose “Variable Products Only”.
    Now, if all variations have the same regular and sale prices the output of parent product in XML feed is this:
    <g:price>$500.00</g:price>
    <g:sale_price>$400.00</g:sale_price>
    That’s ok.
    But, if the variations have different regular and sale prices, for example variation 1 regular price: 500 / sale price 400, variation 2 regular price: 600 / sale price 500, the output is:
    <g:price>$500.00-$600.00</g:price>
    <g:sale_price>$400.00-$500.00</g:sale_price>
    The problem is that merchants like Google and Skroutz allows only single price format like this <g:price>15.00 USD</g:price>
    I use those shortcodes:
    <g:price>[alg_product_regular_price hide_currency=”no”]</g:price>
    <g:sale_price>[alg_product_sale_price hide_currency=”no”]</g:sale_price>
    I tried variable_price_type=”simple” but this working only with [alg_product_price].
    My question is if is there a way to list only the parent products of variations with the lowest variation regular/sale price?
    And one another question is if there is a shortcode for Item group ID [item_group_id]. As Google explains: “Use the item group ID [item_group_id] attribute to group product variants in your product data. Variants are a group of similar products that only differ from one another by product details like size [size], colour [color], material [material], pattern [pattern], age group [age_group] and gender [gender]. When you use an item group ID [item_group_id] to group your products, you can ensure that your product and its variants are shown to customers as a group, instead of separately.”
    Thank you!

    • This topic was modified 1 year, 1 month ago by Omar Dabbas.
    #105832
    WPWhale
    Moderator

    Hi Mono,

    Thanks for writing to us, the behavior you explained is the default by WooCommerce, parent takes range of prices based on variations, please give me a couple of days to read how Google & Skroutz are handling this, and then get back to you (on both issues).

    Omar

    #105833
    Mono
    Guest

    Hello, any news about this?

    Also, can you provide us a way to save the XML file into a specific directory, for example ../wp-content/xml-feeds and not into the main root directory?

    Thank you.

    #105834
    WPWhale
    Moderator

    Hi Mono,

    Very sorry for not getting back to you earlier, we’re working on this and will be released in the next update, will let you know when it’s out.

    For the other question, yes you can from the dedicated field for it, but WP needs to have access to write to that destination, if you’re in doubt or have troubles, please send us to [email protected]

    Omar

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.