• Resolved mariodts

    (@mariodts)


    Hi i use your plugin and also i use the plugin Product Bundles for WooCommerce to make discounts.

    at skroutz XML i use price as price.
    To show the discounted price i hate to change the price to the sale price.
    All works ok but for products without discount the price at XML is empty.

    How i should handle it?
    Thanks for all

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. What is the exact bundles plugin your are using? Our plugin currently only support the official one: https://woocommerce.com/products/product-bundles/

    Is that the one you are using?

    Thread Starter mariodts

    (@mariodts)

    Thanks for your reply. I made a mistake. I would like to refer to the plugin Woo Discount Rules from flycart. I use it to make discounts.

    The problem is with price and sale price.
    Skroutz xml needs one price. but i have 2 prices. some products have regular price and some others have sale price

    When you use the field mapping below the plugin will use the sale price when a product is on sale and the normal price for products that are not on sale:

    https://www.dropbox.com/s/1x9olucr1jxj4nd/Skroutz-Price.png?dl=0

    Hope this helps?

    Thread Starter mariodts

    (@mariodts)

    Hi and thanks for your reply.

    Now i found your topic with title

    WooCommerce get_price and get_sale_price not working

    at their plugin.

    I used the code they gave you

    $discount = apply_filters('advanced_woo_discount_rules_get_product_discount_price_from_custom_price', $price, $product, $quantity, $custom_price, $return_details, $manual_request, $is_cart);
    if($discount !== false){
      //$discount -> Here we get discount amount
    }

    added this snippet but i get again the price and not the sale price

    That code is already in our plugin, so please do not add anything yourselves.

    This is in and on our test websites works as expected:

    
                            // Is the Discount Rules for WooCommerce by FlyCart plugin active, check for sale prices
                            if ($this->woosea_is_plugin_active('woo-discount-rules/woo-discount-rules.php')){
                                    $discount = apply_filters('advanced_woo_discount_rules_get_product_discount_price_from_custom_price', false, $product, 1, $product_data['sale_price'], 'discounted_price', true, true);
                                    if($discount !== false){
                                            $product_data['sale_price'] = $discount;
    Thread Starter mariodts

    (@mariodts)

    Hi and thanks for the update. I have both latest versions of your plugin and of the discount rules plugin but for me it doesn’t work.

    At xml I get the regular price instead of the sale price. What I have to do?

    When you use this field mapping it really should work: https://www.dropbox.com/s/1x9olucr1jxj4nd/Skroutz-Price.png?dl=0

    When not, please share with us your plugin debug.log so we can have a closer look at how you configured your product feed. Instructions on how to retrieve the debug.log can be found here: https://adtribes.io/send-your-debug-log-to-support/

    You mentioned before using bundled products. Is the real problem that regular/sale prices are not showing correctly on bundled products only perhaps?

    Thread Starter mariodts

    (@mariodts)

    I made a mistake and I referred to bundled products plugin. I don’t use it. I have the problem with the Woo Discount Rules from fly cart plugin. I set a 20% discount on some products and at xml I see the price without the discount. I will send you a debug log.
    Thanks again.

    Thanks for sending over the debug.log. You did not map the price field like I mentioned a few times in my previous reply.

    You mapped the “Sale price” attribute to the “Price with VAT” field whereas you should use this mapping: https://www.dropbox.com/s/1x9olucr1jxj4nd/Skroutz-Price.png?dl=0

    Please change it and reprocess the feed.

    Thread Starter mariodts

    (@mariodts)

    Thanks for the update. I have it as you told me at test xml. At other xmls I mapped with sale price because I want to give them the xml with the discounted price. Check test xml please

    Thread Starter mariodts

    (@mariodts)

    hi, any update? thanks

    Hi,

    At this point there is not so much we can do, this mapping really should work. We have replicated it a few times at our end and it works as expected:
    https://www.dropbox.com/s/1x9olucr1jxj4nd/Skroutz-Price.png?dl=0

    Perhaps you are using other 3th party plugins that somehow effect your prices / discounts?

    Thread Starter mariodts

    (@mariodts)

    No i also deactivated all my plugins and still the same. i have a stagging site on this if you are interested to take a look pls tell me where could i send you credentials. Thanks for your time

    Thread Starter mariodts

    (@mariodts)

    hi due to many tests the problem doesn’t solve.
    Skroutz closed my store due to the xml.
    Is there any discount plugin that works with your feed xml?

    Because the plugin from flycart isn’t compatible. All tests i made don’t return the sale price. Returns regular price

    Hi,

    One more last try, can you download the latest version of our plugin. Version 9.5.0?

    And use this field mapping:
    https://www.dropbox.com/s/oq2zlpg7h7cjvl3/Skroutz-Price2.png?dl=0

    Let us know if this helped.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘skroutz xml and the Product Bundles for WooCommerce’ is closed to new replies.