direct to the product creation page with a parameter in POST

  • Posts: 105
  • Thank you received: 2
8 years 1 month ago #252928

-- 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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 1 month ago #252947

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.

<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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

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