PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Add product fields dynamically.

  1. Hello,
    I was wondering if you could add product fields dynamically , with values ​​that I get via $ _POST.

    example:
    '
    <? php
    name_product_1 $ = $ _POST ["name_product_1"];
    qty_product_1 $ = $ _POST ["qty_product_1"];
    price_product_1 $ = $ _POST ["price_product_1"];

    name_product_2 $ = $ _POST ["name_product_2"];
    qty_product_2 $ = $ _POST ["qty_product_2"];
    price_product_2 $ = $ _POST ["price_product_2"];
    ?>
    '
    from these values ​​you should be able to get 2 product fields in the form. is it possible?

    Posted 12 years ago on Monday March 26, 2012 | Permalink