Thread: Custom Shipping

Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    23
    Plugin Contributions
    0

    Default Custom Shipping

    My custom shipping module would be pulling data from a new table to establish the price. I have the query set up, but I am not sure how to get the product_id that is getting quoted within the shopping module. What would be the best way of doing this. within the global there is shipping_weight and shipping_num_boxes, is there a products_id or something that I could utilize for this. I have tried a couple of things but it doesn't seem to work.

  2. #2
    Join Date
    Mar 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Custom Shipping

    So I think I have it figured out.... I would be interested if anyone knew a better way.
    for ($i = 0; $i < count($order->products); $i++ ) {
    $my_product_id = $order->products[$i]['id'];
    }

 

 

Similar Threads

  1. Custom Shipping Method
    By pietpetoors in forum Customization from the Admin
    Replies: 2
    Last Post: 17 Feb 2011, 06:36 PM
  2. Custom Shipping
    By greytail in forum Addon Shipping Modules
    Replies: 0
    Last Post: 11 Feb 2010, 08:35 PM
  3. Custom Flat Shipping Rates and Shipping Method Titles
    By clifford in forum Built-in Shipping and Payment Modules
    Replies: 17
    Last Post: 16 Nov 2007, 09:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR