Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

samjc

Pioneers
  • Posts

    7
  • Joined

  • Last visited

Posts posted by samjc

  1. That is a standard message when the module does not have an address (or Zip code minimally) to calculate... or as the message reads the item is possibly too heavy for fedex.

     

    Check yuor installation

     

    I have the same problem. it was a new installation. any suggestion of any place i need to check?

  2. That "surcharge" line is not introduced by the fedex module, so I am not sure where that came from.

     

    To have the option to add a % surcharge rather than a fixed surcharge has been on the to-do list for the next update. The following may work but is not tested, let me know.

     

    in catalog/includes/modules/shipping/fedex1.php

     

    REPLACE:

     

    						$this->quotes['methods'][$key]['cost'] += (SHIPPING_HANDLING + MODULE_SHIPPING_FEDEX1_SURCHARGE + $this->surcharge + $cost) * $this->cart_qty;

     

    WITH:

    //						$this->quotes['methods'][$key]['cost'] += (SHIPPING_HANDLING + MODULE_SHIPPING_FEDEX1_SURCHARGE + $this->surcharge + $cost) * $this->cart_qty;
    					$this->quotes['methods'][$key]['cost'] += (SHIPPING_HANDLING + MODULE_SHIPPING_FEDEX1_SURCHARGE + $cost*(1 + $this->surcharge / 100)) * $this->cart_qty; // TEST Percentage surcharge

    and then

     

    REPLACE:

    													   'cost' => (SHIPPING_HANDLING + MODULE_SHIPPING_FEDEX1_SURCHARGE + $this->surcharge + $cost) * $this->cart_qty);

     

    WITH:

    //													   'cost' => (SHIPPING_HANDLING + MODULE_SHIPPING_FEDEX1_SURCHARGE + $this->surcharge + $cost) * $this->cart_qty);
    												 'cost' => (SHIPPING_HANDLING + MODULE_SHIPPING_FEDEX1_SURCHARGE + $this->surcharge + $cost*(1 + $this->surcharge / 100)) * $this->cart_qty); // TEST Percentage surcharge

     

    of anyone can offer input please improve the above.

     

    Thanks for trying. i tested and it didn't work. When i put 5 in the Fedex surcharge field, it still shows up as $5 added instead of times the 1+ 5% .

  3. This contribution works great on my site thanks!!

    I now have a few questions and have searched teh thread but didn't find solutions for them:

     

    1. i need to add surcharge based on % of the rate quote not by a fix amount. ie. 5% instead of $1.00

    I found adding a tax rate and applied to the shipping quote just worked fine. but now the question is, it shows up in the total like this:

     

    subtotal: $20

    fedex Ground $7.00

    CA Tax: $1.6

    Surcharge: $0.45

     

    Total: $29.05

    is there any way i can remove the 'Surcharge' amount and add it to the Fedex Ground quote instead of showing the surcharge amount?

     

    2. or this should be in the same question: is there any proper way of adding a % surcharge instead of fix amount to the quote?(without showing it of course)

  4. Thanks! This works great!

     

    However, i have a question:

    I've also added another contribution: "actual price in pull down_1_2_3a"

    it's simple yet let you show the price alone with the attributes. it workded on the product_info page, i guess it has nothing to do with the product list.

    I was wondering if anybody use it as well, or suggest anyother way to show the total price(not "+$20") in the attribute list on product list page?

     

    Truly appreciated!

  5. I've used an older version of PWA before (the one with the separate Order_info page), and recently tried to do a project with the newest version, which I noticed now just uses a "guest" parameter in create_account. This seems fine, except for one thing - the customer_id seems to be manually set to 0. So when people change their shipping address and it gets entered in the address_book table, they're all being entered as customer_id 0. This means that someone who went to change their address was seeing entries from 5 other people on the change address screen. Obviously, not ideal! Has anyone else experienced this problem? I've tried solving it by getting what the customer_id should be (getting auto_increment from the customer table, and then updating it and upping auto_increment...I also tried just doing the customer_table insert), and both of those methods seem to clobber the session and break everything.

     

    Any advice people have would be very much appreciated. Thank you!

     

    i am facing the same problem. anyone help? Thanks!

×
×
  • Create New...