Skip to main content

direct to the product creation page with a parameter in POST

10 years 1 month ago #252928 by rfonta
-- HikaShop version -- : 2.6.0
-- HikaMarket version -- : 1.6.7

Hello,
I would like to send the vendor from an article of my site to the product creation page and pass a parameter as a POST.
Can you please tell me if it is possible and how to achieve this?

Please Log in or Create an account to join the conversation.

10 years 1 month ago #252947 by Jerome
Hi,

If you want to pass some parameter in the POST data ; you will need to create an HTML form.
Please note that it is not really related to HikaShop or HikaMarket.
Code:
<form method="post" action="/my-url"> <input type="hidden" name="parameter-name" value="parameter-value/> <input type="submit"/> </form>
Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.040 seconds
Powered by Kunena Forum