Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Yuval

    (@yuvalsabar)

    Hi @ecoverapple,

    I’m not sure what exactly you are trying to do, since pipes are not related in any way to redirection. Do you want to redirect based on a dropdown value? if so, this question has been asked and answered before in the forum.

    Thread Starter The Journey Opener

    (@ecoverapple)

    Thanks for your help. Unfortunately, what I’m trying to do, is based on the Add To Cart URL (WooCommerce) as stated here: https://businessbloomer.com/woocommerce-custom-add-cart-urls-ultimate-guide

    I would let visitors redirect based to the checkout based on product id they selected from dropdown item.

    If I need to code, it might be complicated with some of conditional situations.

    Do you get any idea?

    Thread Starter The Journey Opener

    (@ecoverapple)

    For example I would like to redirect visitor to this link:
    ”https://yourdomain.com/any-page-url/?add-to-cart=47&variation_id=88&attribute_pa_colour=blue”

    So, they are so many variations and attributes to relate in a custom code.
    Another challenging, the variation_id must be in numeric value (which is not understand by common visitor.

    Plugin Contributor Yuval

    (@yuvalsabar)

    I see. Pipes has nothing to do with that. You should use pipes only if you are looking to change the recipient email according to the selected item in a dropdown menu.
    You should look at the link I provided in the last message to get some idea on how to do what you are looking for, but it’s not related directly to the plugin, though you can use the script field.

    • This reply was modified 6 years ago by Yuval.
    Thread Starter The Journey Opener

    (@ecoverapple)

    Ok thanks @yuvalsabar for your ‘patiently’ response.
    Really appreciate it.
    ??

    Thread Starter The Journey Opener

    (@ecoverapple)

    UPDATED! MY PROBLEM WITH THE PIPE ALREADY SOLVED!! Yahoooo….

    I found a great solution from here:
    https://stackoverflow.com/questions/48515097/cant-set-values-for-select-option-in-contact-form-7?rq=1

    So I add a snippet code provided from that link (in answer field).

    Then, the plugin successfully redirect to external link without any problem.

    Yeahhh… How can I say thanks to all of you.

    Plugin Contributor Yuval

    (@yuvalsabar)

    Nice to hear ??
    Thank you for the update.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Pipe Value Not Working’ is closed to new replies.