Hallo,
könnte man das Addon Coupons extrafields um den Punkt Versand kostenfrei erweitern?
Danke und Gruß
Frank
23.04.2013 13:46
|
|
FrankG.
Name: Frank
30.11.2011
Posts: 1600
|
|
23.04.2013 15:00
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
23.04.2013 15:57
|
|
FrankG.
Name: Frank
30.11.2011
Posts: 1600
|
|
23.04.2013 16:09
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
23.04.2013 16:25
|
|
FrankG.
Name: Frank
30.11.2011
Posts: 1600
|
|
23.04.2013 16:30
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
15.05.2013 15:11
|
|
FrankG.
Name: Frank
30.11.2011
Posts: 1600
|
|
25.05.2013 17:10
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
|
14.06.2013 15:13
|
|
davidsg3
Name: david
12.01.2012
Posts: 23
|
Aw: Coupons extrafields
Hi. I bought this addon last week and now amb going to use it. I added 2 new coupons but when I try to use, the system says this: Catchable fatal error: Object of class stdClass could not be converted to string in /usr/home/hobbycenter.es/web/plugins/jshoppingcheckout/extrascoupon/extrascoupon.php on line 98 How can I solve it? Need to be hurry because I need to use them. Thanks
Joomla: 2.5.11
JoomShopping: 3.7.2 Website Url: www.hobbycenter.es |
14.06.2013 15:21
|
|
davidsg3
Name: david
12.01.2012
Posts: 23
|
Aw: Coupons extrafields
The code says this: <code> foreach($cart->products as $k=>$val){ if (!in_array($val['product_id'], $products)) { $product = &JTable::getInstance('product', 'jshop'); $product->load($val['product_id']); $cats = $product->getCategories(1); if (count($coupon_products) && (!in_array($val['product_id'], $coupon_products))) continue; if (count($coupon_except_products) && (in_array($val['product_id'], $coupon_except_products))) continue; Line 98 if (count($coupon_categories) && (count(array_intersect($cats, $coupon_categories)) == 0)) continue; if (count($coupon_except_categories) && (count(array_intersect($cats, $coupon_except_categories)))) continue; if ($coupon->for_label_id && ($product->label_id != $coupon->for_label_id)) continue; if ($coupon->for_manufacturer_id && ($product->product_manufacturer_id != $coupon->for_manufacturer_id)) continue; if ($coupon->for_vendor_id && ($product->vendor_id != $coupon->for_vendor_id)) continue; $products[] = $val['product_id']; </code>
Letzte Änderung: 14.06.2013 15:22
|
14.06.2013 16:52
|
|
FrankG.
Name: Frank
30.11.2011
Posts: 1600
|
Aw: Coupons extrafields
Coupons extrafields 1.3.2 (Joomshopping 3.4.0 or higher) Coupons extrafields 1.4.0 (Joomshopping 3.8.0 or higher) Coupons extrafields 1.5.2 (Joomshopping 3.11.4 or higher) Coupons extrafields 2.0.0 (Joomshopping 3.14.2 / 4.2.1 or higher), (Joomla 2.5 / 3.0) Coupons extrafields 2.1.0 (Joomshopping 3.14.2 / 4.2.1 or higher), (Joomla 2.5 / 3.0) You have JoomShopping: 3.7.2
Letzte Änderung: 14.06.2013 16:52
|
14.06.2013 23:20
|
|
davidsg3
Name: david
12.01.2012
Posts: 23
|
|
14.06.2013 23:21
|
|
davidsg3
Name: david
12.01.2012
Posts: 23
|
|
15.06.2013 09:41
|
|
admin
(Support Team) Name: Admin
05.08.2010
Posts: 25913
|
Aw: Coupons extrafields
Joomshopping bug change file: components\com_jshopping\tables\product.php change function getCategories to function getCategories($type_result = 0){ if (!isset($this->product_categories)){ $db = JFactory::getDBO(); $query = "SELECT * FROM `#__jshopping_products_to_categories` WHERE product_id='".$db->escape($this->product_id)."'"; $db->setQuery($query); $this->product_categories = $db->loadObjectList(); } if ($type_result==1){ $cats = array(); foreach($this->product_categories as $v){ $cats[] = $v->category_id; } return $cats; }else{ return $this->product_categories; } } |