// Add multishop for the Blockwishlist

This commit is contained in:
mDeflotte
2012-03-16 15:35:52 +00:00
parent 5dedafbda3
commit 4289ccbaad
8 changed files with 251 additions and 169 deletions
@@ -81,6 +81,8 @@ class BlockWishListMyWishListModuleFrontController extends ModuleFrontController
if(!sizeof($errors))
{
$wishlist = new WishList();
$wishlist->id_shop = $this->context->shop->id;
$wishlist->id_group_shop = $this->context->shop->id_group_shop;
$wishlist->name = $name;
$wishlist->id_customer = (int)$this->context->customer->id;
list($us, $s) = explode(' ', microtime());