Devam Ediyor

512718 Zen Cart UPS filter

I need a quick modification to Zen Cart includes/modules/shipping/[url removed, login to view]

Filter code should be added at about line 71.

If one or more products_id are using master_categories id XXX then set shipping method to: '2DA' => '2nd Day Air', and hide all other methods.

I need this to work for two different websites.

For [url removed, login to view] > Category > Cars ID = 66.

For [url removed, login to view] > Category > Cars Id = 100

> Sub category > Small Id = 109

> sub category > Large Id = 110

If any item in Cart is in this category UPS 2 day air is the only shipping method avalble.

code is similar to this:

// disable only when entire cart is free shipping

if (zen_get_shipping_enabled($this->code)) {

$this->enabled = ((MODULE_SHIPPING_UPS_STATUS == 'True') ? true : false);


// disable for one master_categories_id

if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','15') > 0)) {

// show UPS

$this->enabled = true;

} else {

// hide UPS

$this->enabled = false;

Beceriler: Her şey Kabul, PHP, Web Sitesi Yönetimi, Zen Cart

Daha fazlasını görün: air methods, filter, php ups shipping, set shipping zen cart, filter category, zen cart free shipping, air line, category filter, small ups, category filter cart, quick cart modification, ups free shipping php, cart category filter, ups modification, disable filter, filter code, zen cart shipping set, zen cart filter category, hide category zen cart, zen cart shipping ups, zen cart hide category, cart filter, cart shipping methods, websites using cart

İşveren Hakkında:
( 2 değerlendirme ) Saint Louis, United States

Proje NO: #2258650