Projekt

Allgemein

Profil

GX-Bug #58722 » VPECartDropDownFix.patch

Till Tepelmann, 22.08.2018 18:08

Unterschiede anzeigen:

src/system/classes/shopping_cart/ShoppingCartDropdownBoxContentView.inc.php (date 1534953991000)
24 24
  --------------------------------------------------------------------------------------- */
25 25

  
26 26
require_once(DIR_FS_CATALOG . 'inc/xtc_get_countries.inc.php');
27
require_once(DIR_FS_INC . 'get_products_vpe_array.inc.php');
27 28

  
28 29
class ShoppingCartDropdownBoxContentView extends ContentView
29 30
{
......
128 129
			
129 130
			$price = (double)$t_products[$i]['quantity'] * (double)$t_products[$i]['price'];
130 131
			
132
			$vpe = get_products_vpe_array($t_products[$i]['id'], $t_products[$i]['price'], array(), $p_combisId);
133
			
131 134
			$this->content_array['products'][] = array(
132 135
				'QTY' => gm_convert_qty($t_products[$i]['quantity'], false),
133 136
				'LINK' => $url,
134 137
				'NAME' => $t_products[$i]['name'],
135 138
				'IMAGE' => $t_image,
136 139
				'PRICE' => (strlen(trim($t_price)) > 0 ? $t_price : $xtPrice->xtcFormat($price, true)),
137
				'VPE' => $t_products[$i]['vpe'],
140
				'VPE' => $vpe['vpe_text'],
138 141
				'UNIT' => $t_products[$i]['unit_name']
139 142
			);
140 143
		}
(2-2/2)