Jump to content
UniversalAir

Oscommerce 2.3.2 Free shipping on select items

Recommended Posts

I'm currently working on a shipping module that expands on the table rates.

 

My new module will have support for per category or per product and ship by qty, weight, or price.

 

I have been thinking that a shipping per product module that is individualy configured per product would work better.

 

My module right now is for OsCommerce 2.2 but i could look into making it work for 2.3 x I need the practice anyhow. If you want to talk pm me and i'll try to help

:thumbsup:

 

no promises though!

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

Receiving this error in the log: PHP Notice: Undefined variable: product_info in catalog/includes/modules/new_products.php on line 35

 
In the file catalog/includes/modules/new_products.php is: if(tep_products_ship_free_check($product_info['products_id']))
 
Is this section needed in this file needed?
 
// PRODUCTS SHIP FREE START
$freeship_str = '';
if(tep_products_ship_free_check($product_info['products_id']))
     $freeship_str = '<br /><span class="smallText">(' . TEXT_PRODUCT_SHIPS_FREE . ')</span>';
//      $new_prods_content .= '<td width="33%" align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br />' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</td>';
      $new_prods_content .= '<td width="33%" align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br />' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . $freeship_str . '</td>';
// PRODUCTS SHIP FREE END

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×