Skip to main content

Add addresses block to the cart page

More
8 years 9 months ago #284228 by Lisitsa
-- 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.

More
8 years 9 months ago #284254 by nicolas
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.

More
8 years 9 months ago #284258 by Lisitsa
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?

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

More
8 years 9 months ago #284260 by nicolas
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.

More
8 years 9 months ago #284372 by Lisitsa
Thank you very much , Nicolas! I will try)

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

Time to create page: 0.161 seconds
Powered by Kunena Forum