• This plugin does not work with variable products when I import with WP All Import. I have no problem with simple products.

    My xml for the import is like this:

    <article>
    <article_configurations>
    <configuration>
    <prices>
    <price quantity="4800">0.1353></price>
    <price quantity="2400">0.1394></price>
    <price quantity="1200">0.1517></price>
    <price quantity="600" >0.1599></price>
    <price quantity="1">0.1681></price>
    </prices>
    </configuration>
    </article_configurations>
    </article>

    <configuration> is a product variation.

    Can you help me?

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter expande

    (@expande)

    [16:58:00] ------------- Tiered Pricing Table START -------------
    [16:58:00] Product ID: $post_id
    [16:58:00] Field _fixed_price_rules updated with value {"200":"1.1316","400":"1.0537","800":"1.0086","1600":"0.9717"}
    [16:58:00] Field _percentage_price_rules updated with value []
    [16:58:00] Field _tiered_price_rules_type updated with value "fixed"
    [16:58:00] Field _tiered_price_minimum_qty updated with value 0
    [16:58:00] ------------- Tiered Pricing Table END -------------

    @bycrik not include the product ID…

    My WPAllImport.php:

    https://ibb.co/RCmmbny

    Plugin Author Mykola Lukin

    (@bycrik)

    @expande,

    It looks like you used singular quotation marks instead of double quotes, as in the example I’ve provided.

    $this->log( “Product ID: $post_id” ); // Double

    $this->log( 'Product ID: $post_id' ); // Singular
    Thread Starter expande

    (@expande)

    Hi @bycrik

    Not ?include the product ID

    [16:58:00] ------------- Tiered Pricing Table START -------------
    [16:58:00] Product ID: $post_id
    [16:58:00] Field _fixed_price_rules updated with value {"200":"1.1316","400":"1.0537","800":"1.0086","1600":"0.9717"}
    [16:58:00] Field _percentage_price_rules updated with value []
    [16:58:00] Field _tiered_price_rules_type updated with value "fixed"
    [16:58:00] Field _tiered_price_minimum_qty updated with value 0
    [16:58:00] ------------- Tiered Pricing Table END -------------

    My WPAllImport.php:

    https://ibb.co/RCmmbny

    Thread Starter expande

    (@expande)

    @bycrik

    [07:10:42] ------------- Tiered Pricing Table START -------------

    [07:10:42] Product ID: 170707

    [07:10:42] Field _fixed_price_rules updated with value {"600":"0.15","1200":"0.1394","2400":"0.1353","4800":"0.1271"}

    [07:10:42] Field _percentage_price_rules updated with value []

    [07:10:42] Field _tiered_price_rules_type updated with value "fixed"

    [07:10:42] Field _tiered_price_minimum_qty updated with value 0

    [07:10:42] ------------- Tiered Pricing Table END -------------
    Plugin Author Mykola Lukin

    (@bycrik)

    So, 170707 is a variable product id or variation id?

    Thread Starter expande

    (@expande)

    @bycrik , is a variation id. But this product has 5 variations and only take the prices of the first variation.

    Plugin Author Mykola Lukin

    (@bycrik)

    @expande,

    Can you also clarify how you match the products in WP All Import?

    Plugin Author Mykola Lukin

    (@bycrik)

    So it always logs the same variation ID for all variations import?

    Thread Starter expande

    (@expande)

    @bycrik
    So it always logs the same variation ID for all variations import? no, only import the first variation

    https://ibb.co/b70r7pB
    https://ibb.co/gygMrBW
    https://ibb.co/LknWjxc


    I have tried to do an import just to update the price but the same thing happens, some variations matter but not all of them:

    Plugin Author Mykola Lukin

    (@bycrik)

    Hello @expande,

    Unfortunately, I’m unsure why import does not run for all variations. I’ll do further testing, but for now, I’d recommend creating a separate CSV tiered pricing import, where you match variations by ID. This should work fine.

    Sorry about the inconvenience.

Viewing 10 replies - 16 through 25 (of 25 total)
  • You must be logged in to reply to this topic.