• Hi guys,

    I’m using Yith Request a quote and I’m having trouble retrieving the selected article(s) through a snippet[php] to make an http submission. Does anyone know the method I should use? The documentation is quite sparse.

    Checkout cart woocommerce methods don’t work in this case.

    Any related documentation is welcome.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alberto Ruggiero

    (@witcher83)

    Hello @eucariotasupport

    you could hook a function to this action:

    do_action( 'ywraq_process', $args );

    and check for $args['raq_content'] element.

    Thread Starter eucariotasupport

    (@eucariotasupport)

    Thank you Alberto. Its work perfect. We got almsot all values except for this scenario:

    The form has the possibility of adding attachments and if the attachment is a light png image, there is no problem and it comes to me to recover the value through the method that you shared with me. But in the event that it is a PDF that meets all the conditions but is perhaps heavier, then the attachment comes to me as null but it is attached to the order if I look in WooCommerce order in the wp-admin. What could it be?

    For example, if it is a 70kb PDF it is ok, but if it is 572KB it is not.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Snippet] Rescue the cart items’ is closed to new replies.