Quote:
Originally Posted by SiamContainer
However, with 4.3.1 Pro, provider still could not use this function.
Once click Click-n-Ship, site just open new page with "order details"
I'm looking into this but I'm really noob so if anyone could help modify this, pls tell me.
|
Got it done!!!
Just need to add the command line for provider too.
Goto: x-cart_directory/provider/order.php
Find
Quote:
#
# Delete order
#
if ($mode == "delete") {
func_delete_order($orderid);
func_header_location("orders.php?".$query_string);
}
|
Directly below it, add this code:
Quote:
// Start Click-N-Ship Mod
elseif (!empty($active_modules["Click_N_Ship"]) && $mode == "click_n_ship") {
include $xcart_dir."/modules/Click_N_Ship/click_n_ship.php";
}
// End Click-N-Ship Mod
|
Same code as in admin folder.
However, shipping from will be automatically be filled in with the same as what admin setup.
But it's still a good start since provider do not have to fill customer address in.