- Posts: 14
- Thank you received: 0
invoice and delivery address in checkout
- De Keersmaeker
-
Topic Author
- Offline
Less
More
13 years 4 weeks ago #125868
by De Keersmaeker
invoice and delivery address in checkout was created by De Keersmaeker
-- HikaShop version -- : 2.2.1 business
-- Joomla version -- : 2.5.7
-- PHP version -- : 5.3
Hi,
In the checkout procedure, at the final step, i would like to show the invoice adres and the delivery address (no changeable).
Status only gives the chosen delivery method, but not the delivery address.
How can i retreive de invoice address and the delivery address of my order? (A bit like you can see in the 'order' overview)
greetings,
Vincent
-- Joomla version -- : 2.5.7
-- PHP version -- : 5.3
Hi,
In the checkout procedure, at the final step, i would like to show the invoice adres and the delivery address (no changeable).
Status only gives the chosen delivery method, but not the delivery address.
How can i retreive de invoice address and the delivery address of my order? (A bit like you can see in the 'order' overview)
greetings,
Vincent
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 4 weeks ago #125871
by Mohamed Thelji
Replied by Mohamed Thelji on topic invoice and delivery address in checkout
Hi,
The best solution will probably be to add the "address" action gain at the last step of your checkout workflow through "Hikashop->System->Configuration->Checkout".
The best solution will probably be to add the "address" action gain at the last step of your checkout workflow through "Hikashop->System->Configuration->Checkout".
Please Log in or Create an account to join the conversation.
- De Keersmaeker
-
Topic Author
- Offline
Less
More
- Posts: 14
- Thank you received: 0
13 years 4 weeks ago #125873
by De Keersmaeker
Replied by De Keersmaeker on topic invoice and delivery address in checkout
that will not give me the actual delivery address : I see the checkbox that delivery address is same as invoice address, and the delivery methode i choose. But it will not give me the actual delivery address
Please Log in or Create an account to join the conversation.
13 years 4 weeks ago #125936
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic invoice and delivery address in checkout
Hi,
Right.
There is no "step" for just displaying the address status. But it is a good idea that I noted in our TODO list.
With HikaShop 2.2.2 it is possible to create new checkout step using plugin.
You can also add code in the view "checkout | step" in order to display the address manually.
These different solution will require some development and PHP skills.
Regards,
Right.
There is no "step" for just displaying the address status. But it is a good idea that I noted in our TODO list.
With HikaShop 2.2.2 it is possible to create new checkout step using plugin.
You can also add code in the view "checkout | step" in order to display the address manually.
These different solution will require some development and PHP skills.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- De Keersmaeker
-
Topic Author
- Offline
Less
More
- Posts: 14
- Thank you received: 0
13 years 1 week ago #128346
by De Keersmaeker
Replied by De Keersmaeker on topic invoice and delivery address in checkout
Is there some doucmentation on how to do that in 2.2.2 . I do have some development skills and php, but some help would be nice.
And if i put the code in the checkout/step view : where do i find the order data back, that holds the shipment and invoice data? I don't thnik the order is at that moment allready created in the database....
And if i put the code in the checkout/step view : where do i find the order data back, that holds the shipment and invoice data? I don't thnik the order is at that moment allready created in the database....
Please Log in or Create an account to join the conversation.
13 years 1 week ago #128423
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic invoice and delivery address in checkout
Hi,
Here some code from HikaMarket which uses the 4 triggers.
In your case, the 2 first triggers are useful (because you don't have any kind of validation).
Hope it will help you.
Regards,
Here some code from HikaMarket which uses the 4 triggers.
In your case, the 2 first triggers are useful (because you don't have any kind of validation).
Code:
class plgHikashopMarket extends JPlugin {
public function onCheckoutStepList(&$list) {
$list['plg.market.terms'] = 'HikaMarket ' . JText::_('HIKASHOP_CHECKOUT_TERMS');
}
public function onCheckoutStepDisplay($layoutName, &$html, &$view) {
if($layoutName == 'plg.market.terms') {
$params = new stdClass();
$params->view = $view;
$js = null;
$html .= hikamarket::getLayout('checkoutmarket', 'terms', $params, $js);
}
}
public function onBeforeCheckoutStep($controllerName, &$go_back, $original_go_back, &$controller) {
}
public function onAfterCheckoutStep($controllerName, &$go_back, $original_go_back, &$controller) {
if($controllerName == 'plg.market.terms') {
$checkoutClass = hikamarket::get('class.checkout');
$checkoutClass->afterCheckoutStep($controllerName, $go_back, $original_go_back, $controller);
}
}
}
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds