}
}
+
+ /**
+ * @throws \Exception
+ */
+ public function writeBastideResahGuestCart()
+ {
+ $this->lessVariables['import-cart-styles'] = 'bastide-resah';
+ $this->addJsLib('bastide', 'js/libs/fluidbook/cart/fluidbook.cart.bastide-resah-guest.js');
+ }
+
+
/**
* @throws \Exception
*/
{
$this->lessVariables['import-cart-styles'] = 'bastide-resah';
-
$this->addJsLib('bastide', 'js/libs/fluidbook/cart/fluidbook.cart.bastide-resah.js');
$row = array_combine($column_headings, $row);
// The ARTICLE CODE is required, so if it doesn't exist, we can assume it's not a valid row
- if (empty($row['ARTICLE CODE'])) {
+ if (empty($row['CIP'])) {
continue;
}
- $references[$row['ARTICLE CODE']] = $row;
+ $references[$row['CIP']] = $row;
}
}
}
-
public function writeCartConfig()
{
if ($this->fluidbookSettings->cartLinkAppearance == 'overlay') {
case 'BastideResah':
$this->writeBastideResahCart();
break;
+ case 'BastideResahGuest':
+ $this->writeBastideResahGuestCart();
+ break;
default:
break;
}
'Thiriet' => 'Thiriet',
'CFOC' => 'CFOC',
'Bastide' => 'Bastide',
- 'BastideResah' => 'Bastide Resah'
+ 'BastideResah' => 'Bastide Resah',
+ 'BastideResahGuest' => 'Bastide Resah (invité)',
],
'default' => 'com.fluidbook.player.basket.BasketManager',
]);