Add addresses block to the cart page

  • Posts: 14
  • Thank you received: 0
10 months 4 days ago #284228

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.0
-- PHP version -- : 5.6.31
-- Browser(s) name and version -- : Chrome 62.0.3202.94

Hello!
Can you say how to add the addresses block (shipping and billing) with function to change them (add, select, remove... etc.) to the "cart page" ?
This block is already on the checkout page.

How to dublicate it correctly?

Maybe there is a ready-made snippet?

Thanks!

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

  • Posts: 63535
  • Thank you received: 9153
  • MODERATOR
10 months 4 days ago #284254

Hi,

By cart page, you mean the page you can access from the user control panel ?
If so, there is no easy way to add that.
That would require some extensive coding.

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

  • Posts: 14
  • Thank you received: 0
10 months 4 days ago #284258

I mean the page where the user can see the list of selected products (even before he logged in) See the attachments please.

Maybe I can take code from checkout page for this block?

Attachments:

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

  • Posts: 63535
  • Thank you received: 9153
  • MODERATOR
10 months 3 days ago #284260

Hi,

You can take some of the code from the checkout, but you'll need to add on top of it a lot of code to make it work properly there.
It's really complex to do that. I would say it would even be easier to start from scratch and not use the address block code from the checkout and do your own code.

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

  • Posts: 14
  • Thank you received: 0
10 months 3 days ago #284372

Thank you very much , Nicolas! I will try)

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

Time to create page: 0.081 seconds
Powered by Kunena Forum