data output in the link (50$)

  • Posts: 23
  • Thank you received: 0
10 years 7 months ago #175466

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.6

Hi. I need some help. price 50$ I created a minimalist style , ordering going in the second step.



But I need to output the data in order to link this page / step-2. Need a link of the form &ids=1260:2,12427:10,2229:1 (1260 - product_id, 2 - value, and "," - separator). Please, help me with the problem.

Attachments:
Last edit: 10 years 7 months ago by ifenix.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #175467

Hi,

I think that you will have to edit the file "components/com_hikashop/controllers/checkout.php" function "step()" and edit the redirect url to pass the desired parameters.

The following user(s) said Thank You: ifenix

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

  • Posts: 23
  • Thank you received: 0
10 years 7 months ago #176183

I think the array data in the file /components/com_hikashop/controllers/checkout.php
need to transfer in link /components/com_hikashop/views/checkout/tmpl/step.php on line 60

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

  • Posts: 23
  • Thank you received: 0
10 years 7 months ago #176184

Thank you. I think needed create a separate script. After update changes in the code are replaced Defaulted.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #176233

Hi,

Yes in that kind of file the code is replaced by the one of the update.

You will potentially have to make a plugin, here is documentation about that:
hikashop.com/support/support/documentati...tation.html#checkout

The following user(s) said Thank You: ifenix

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

Time to create page: 0.085 seconds
Powered by Kunena Forum