Add to cart manual

  • Posts: 35
  • Thank you received: 1
11 years 6 months ago #132472

is there any method to send at cart page GET or POST variables for add product ?

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

  • Posts: 26234
  • Thank you received: 4036
  • MODERATOR
11 years 6 months ago #132502

Hi,

Yes

index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=1
You can change the product_id and the quantity values.
The checkout=1 is the option to redirect the user to the checkout just after the operation.

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.

  • Posts: 35
  • Thank you received: 1
11 years 6 months ago #132527

ok , but is it possible to redirect user at same page and not at checkout page ?
i try to change checkout=0 but it's not work .... i try to remove checkout variable too , but it's not work ....

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #132574

Hi,
I think that you'l probably find some information through this thread :

Yes, that option cannot work if you use a direct HTML link.

If you want to stay and display a popup while still using an HMTL link, you will have to have you HTML link more complex:
www.hikashop.com/forum/4-how-to/8572-add...e-possible.html#8572

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

Time to create page: 0.071 seconds
Powered by Kunena Forum