Fed-Ex -

  • Posts: 60
  • Thank you received: 3
11 years 3 months ago #119592

-- url of the page with the problem -- : www.canoneducation.com
-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.14
-- Browser(s) name and version -- : Firefox / IE - Any
-- Error-message(debug-mod must be tuned on) -- :

Message
This shipment qualifies for FedEx Home Delivery. Please resubmit your request with serviceType Ground Home Delivery.
There are no valid services available.



I can't get this message to go away. Clearly there are valid services available, it's listing them... And the FedEx Home Delivery is checked in the back end. See screen shots.

Thanks!

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #119673

Hi,

The temporary solution will be to unpublish the FedEx Ground (USA, PUERTO RICO) service and use the FedEx Ground (Home Delivery) (USA, PUERTO RICO) service.
Then your FedEx shipping method won't display any error message.

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

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

  • Posts: 60
  • Thank you received: 3
11 years 3 months ago #119674

Thanks, Mohamed.

Our company ships to both residences and businesses. Won't I need both options activated?

Also, you mentioned the temporary solution... Is there a more permanent solution in the works?

Thanks for your help.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #119744

I'm currently working on a fix regarding the FedEx Ground issue, so yes I think that there will be a " more permanent solution".

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

  • Posts: 60
  • Thank you received: 3
11 years 3 months ago #119759

Excellent, Mohamed. Do you have an estimated time frame on that?

Thanks!

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
11 years 3 months ago #119796

It will be in next version that we'll release in a few days/weeks.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #119882

Hi,

Here is the last version of the FedEx shipping method (with my fix), can you test it with it ?

File Attachment:

File Name: h826c91e.zip
File Size:47 KB

Attachments:
Last edit: 11 years 3 months ago by Mohamed Thelji.

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

  • Posts: 60
  • Thank you received: 3
11 years 3 months ago #119884

Though I haven't thoroughly tested it, I did install it and it does display both Fed-Ex Ground Rate as well as Home Delivery with two different rates. So it looks as though it worked. Thanks!

Question... When I select to display my company's discounted rates, the rates don't change but fewer options are displayed. My company does a LOT of freight with Fed-Ex and have deeply discounted rates.

Different bug?

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

  • Posts: 60
  • Thank you received: 3
11 years 3 months ago #119924

Furthermore, it automatically selects a shipping option even with several choices. I have selected "If only one method is available" in "Auto select default shipping and payment methods" in the Configuration --> Shipping & Payment tab.

Am I missing something?

Thanks.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #120087

Hi,

1. I'm currently working on the FedEx "discounted rates" option.

2. Regarding the "Auto submit shipping and payment methods selection" option, we just fixed it, you'll just have to :
- Edit the "YOURWEBSITE\components\com_hikashop\views\checkout\view.html.php" file
- Add this code :

if($auto_select_default == 1 && count($usable_rates) > 1)
	$auto_select_default = 0;
After these lines :
if(is_array($usable_rates) && count($usable_rates)){
	$method = reset($usable_rates);
$config =& hikashop_config();
$auto_select_default = $config->get('auto_select_default',2);
Thanks for your feedback :).

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

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

  • Posts: 60
  • Thank you received: 3
11 years 3 months ago #120088

After adding that code I get the following error:

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /...../components/com_hikashop/views/checkout/view.html.php on line 796


My code in that entire section now looks like this (to verify if I implemented it correctly):
if($auto_select_default == 1 && count($usable_rates) > 1)
				$auto_select_default = 0;


			if(is_array($usable_rates) && count($usable_rates)){
				$method = reset($usable_rates);
				$config =& hikashop_config();
				$auto_select_default = $config->get('auto_select_default',2);

				
			if($auto_select_default && empty($shipping_id) && count($usable_rates)) {
				$rates = array();
				$shipping_id = array();
				$shipping_method = array();
				foreach($shipping_groups as $key => $shipping_group) {
					$p = reset($shipping_group->shippings);
					foreach($usable_rates as $rate) {
						if($rate->shipping_id == $p) {
							$rates[] = $rate;
							$shipping_id[] = $rate->shipping_id.'@'.$key;
							$shipping_method[] = $rate->shipping_type.'@'.$key;

							break;
						}
					}
				}

Last edit: 11 years 3 months ago by blueagle1829.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 months ago #120094

My bad, I switch the code to add and the location, so you'll just have to :
- Revert your changes
- Add this code :

if($auto_select_default == 1 && count($usable_rates) > 1)
	$auto_select_default = 0;
After these lines :
if(is_array($usable_rates) && count($usable_rates)){
	$method = reset($usable_rates);
$config =& hikashop_config();
$auto_select_default = $config->get('auto_select_default',2);
PS: I also edited my previous post :).

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

  • Posts: 60
  • Thank you received: 3
11 years 3 months ago #120098

That worked. Thanks, Mohamed. LOVE this component.

Please post to the thread when you get the "Display Discounted Rates" vs. Public rates worked out.

Thanks again!

The following user(s) said Thank You: Mohamed Thelji

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #120532

Hi again,
Can you test it with this last version of the FedEx shipping method ?

Attachments:

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

  • Posts: 60
  • Thank you received: 3
11 years 2 months ago #120545

I installed the new plugin over the old one (didn't uninstall the old one first). Nothing seemed to change in regards to the "Public Rates" vs. "Display Discounted Rates".

I assume that value should be changing?

Thanks.

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

  • Posts: 60
  • Thank you received: 3
11 years 2 months ago #120547

Furthermore, I've noticed that on the checkout page that I can't seem to re-order the Shipping methods. I change the order in the admin area, but they don't seem to change on the front.

Something I haven't configured correctly, or a bug?

Thanks!

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #120652

Hi,
1. Regarding the ordering, I think that this is probably coming from a cache issue, you should then login/logout from your website and test it again.

2. Can you send me a temporary access to your back-end, then I'll be able to directly test it through your website ?

Thanks :).

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

  • Posts: 60
  • Thank you received: 3
11 years 2 months ago #120685

Private Message sent.

Thanks!

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #120705

Hi,
I've done some tests with your FedEx account, and it seems like your account don't have any access to any "FedEx discount".
So are you sure that you have access to this kind of discount, if not can you contact and ask FedEx about this ?

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

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

  • Posts: 60
  • Thank you received: 3
11 years 2 months ago #120706

Our company ships very significant amounts with Fed-Ex and has some great discounts. I'll have to contact their tech support and see if the meter ID needs to be reset.

Thanks for your help.

EDIT:
To help make sure we're on the same page, I'm facing three issues (potentially related):

  1. Can't Reorder the Shipping Methods during checkout (I've tried clearing cache and logging out/in) (CAN modify list order for payment plugins-- just shipping that isn't working)
  2. Only displaying Discounted Rates on Front End (checked with FedEx and they verified they are passing both values back)
  3. Link for "Select an Option" next to "Product Tax Category" on the FedEx Plugin does nothing
Thanks for everyone's help with this. Hope it helps others in the future.

Last edit: 11 years 2 months ago by blueagle1829. Reason: Combined List

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

Time to create page: 0.104 seconds
Powered by Kunena Forum