Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

DesignAlot

Pioneers
  • Posts

    34
  • Joined

  • Last visited

Posts posted by DesignAlot

  1. Is there any way to have the packing slip for an order auto emailed to an email address of your choice? You would think that would be a built in feature. Is there any contribution for that? I searched, but did not come up with anything.

  2. Hello, I like your contribution a lot. But I added "contrib_XPricesPerProduct_1.0_1" first for multiple pricing (wholesale, etc.) Then when I went to add your contribution, some .php pages that needed to be altered had already been altered, so I needed to keep and not replace. Anyway, after a lot of hunting and replacing etc. I got both contributions to work together nicely. I just get a weird comment in the admin section in the catagories file, I believe. It says additional images under the catagories and has this text: "Warning: Variable passed to each() is not an array or object in /home/scottrez/public_html/shop/admin/categories.php on line 1259"

     

    I have included images below:

    CodeSample003Error.JPG

     

    What file do you think I need to edit? Should I post it here to view? Maybe you have a way I could narrow it down...

  3. Hello. I setup and alter osCommerce quite often. I have successfully used modules quite frequently. But one of my customers wants free shipping for the "Jewelry" catagory on orders over $100.00. I tried 2 modules. The first one, is known as "disable shipping option" and asks to be placed in line 80 of the shipping module php page you want to use it in. I chose flat rate. I get errors like this:

    Parse error: syntax error, unexpected T_IF, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/flagjewl/public_html/shoponline/includes/modules/shipping/flat.php on line 80

    The other module is known as "free shipping by cats v1.3". This one requires change to 3 or more pages. Has anyone had success with this one, as I feel intimidated now to mess with 3 or 4 pages for one module. I want to finish this job and shipping is all that holds me back. I am sick of working on this job. These 2 modules (In my opinion) should be standard includes with the osCommerce install as many people will need such a feature. Can any one offer advice. [email protected] .

  4. I was looking for a way to skip the shipping completely, and found a write up on how to do it. But when I made this change, I no longer got state tax added at the confirmation step of the checkout. Or a phone number in the email order. I put original code back in, and tax was back but so was shipping. Any better ways to pull of no shipping, or an edit to this code perhaps? Here is the code -

     

    To lose all shipping verbage, make sure item weight is set to 0. Then,

    In 'checkout_shipping.php' find the lines here: (Line 50)

     

    // if the order contains only virtual products, forward the customer to the billing page as

    // a shipping address is not needed

    if (($order->content_type == 'virtual') || ($order->content_type == 'virtual_weight')) {

    if (!tep_session_is_registered('shipping')) tep_session_register('shipping');

    $shipping = false;

    $sendto = false;

    tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

    }

     

    $total_weight = $cart->show_weight();

    $total_count = $cart->count_contents();

     

     

     

    And replace with this:

     

    // IFD MOD_SQUAD BEGIN: zero weight should skip shipping page

     

    $total_weight = $cart->show_weight();

    $total_count = $cart->count_contents();

     

    // if the order contains only virtual products, forward the customer to the billing page as

    // a shipping address is not needed

    if (($order->content_type == 'virtual') ||

    ($order->content_type == 'virtual_weight') ||

    ($total_weight == 0 )) {

    if (!tep_session_is_registered('shipping')) tep_session_register('shipping');

    $shipping = false;

    $sendto = false;

    tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));

    }

    // IFD MOD_SQUAD BEGIN

    ;)

×
×
  • Create New...