Separate shipping and payment steps and other issu

  • Posts: 25
  • Thank you received: 1
10 years 11 months ago #134063

Hi, I have some questions, I'm building a custom template for hikashop.

1) The checkout workflow provides a single action for address, both for shipping and payment. My client requires the shipping address to be in the first step and the billing address to be in the second. Is this possible?

2) Is there an "add a gift message"/"this is a gift" option on checkout?

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

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

  • Posts: 12953
  • Thank you received: 1778
10 years 11 months ago #134086

Hi,

1.This kind of modification will require some code customization, and I don't think that this will be easy without some development skill and Hikashop/Joomla knowledge.

2. I think that you'll be able to do it by using a custom field from the "order" table which is only available through the Hikashop business version.

Last edit: 10 years 11 months ago by Mohamed Thelji.

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

  • Posts: 25
  • Thank you received: 1
10 years 11 months ago #134119

1. Is some core hacks? Or just template override code? I'm quite a skilled developer myself and Joomla ninja :)

2, Ok...

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 11 months ago #134203

Hi,

In HikaShop you can override nearly everything using view override or plugins.
It is possible thanks to a view override to change how the "checkout | address" will be displayed (depending his position in the checkout workflow).
You can also create a plugin to create new checkout step actions (more complicated than the view modification, but it's possible).

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.
The following user(s) said Thank You: acwilan

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

  • Posts: 25
  • Thank you received: 1
10 years 11 months ago #134881

Thanks, do you have code samples on that.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 11 months ago #134958

Hi,

We don't have samples on that, because we don't have many requests on that.
But in the view "checkout / address", you can add a check on JRequest::getInt('step',0); to know in which step you are, if it's the first one so display only the billing address, and if it's the step 2 display the shipping one.

It will require more modifications than that to display the shipping fields by default instead of the checkbox"use the same address as billing", etc.

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

Time to create page: 0.080 seconds
Powered by Kunena Forum