Hi Guyzz,
Thanx a lot for ur code. Actually i was in need to create a wishlist for my shopping cart. U guyz helped me at right time.
But still there is a problem. Lets assume i add 5 products to my wishlist. And i wanna add juz 2 products(of my choice) to the cart page , things are not working out. If i select 2 products , only 1 product is added to the cart( that product is the one which i added to wishlist at last )
Cud anyone please help me in getting this stuff correct??? Any ideas???
Thanx a lot for ur code. Actually i was in need to create a wishlist for my shopping cart. U guyz helped me at right time.
But still there is a problem. Lets assume i add 5 products to my wishlist. And i wanna add juz 2 products(of my choice) to the cart page , things are not working out. If i select 2 products , only 1 product is added to the cart( that product is the one which i added to wishlist at last )
Cud anyone please help me in getting this stuff correct??? Any ideas???
Hello everyone i have created such extension and i sale it on my site. Here is link for it http://stscript.info/wishlist-opencart . The script is installed in my shop you can test it. If someone have questions to write me a Private Message.
From and To Opencart Data Migration services | XML/CSV/XLS/TXT to Opencart data entry service | Opencart Update | Viste Bulgaria
Here you can see live demo of this wish list.
DEMO: http://stscript.info
Email: demo@stscript.info
Password: demo
http://stscript.info/index.php?route=account/login
DEMO: http://stscript.info
Email: demo@stscript.info
Password: demo
http://stscript.info/index.php?route=account/login
From and To Opencart Data Migration services | XML/CSV/XLS/TXT to Opencart data entry service | Opencart Update | Viste Bulgaria
Has anyone developed this further on so that the wish list could be printed or emailed?
The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."
hey guys, I love this.. It worked out of the box.. 1 problem though.. Since we have multiple languages in my country it appears that the script just adds the same shirt in 2 languages.. any idea about how to resolve this?
thx
Wouter
thx
Wouter
fixed it by changing:
to:
many thanks for this script! really love it! Now I only need to get the € sign to show instead of € Ideas anyone?
grts
Wouter
Code: Select all
public function getWishLists($customer_id) {
$query = $this->db->query("SELECT pd.name, p.product_id, p.image, p.model, p.price, p.tax_class_id FROM " . DB_PREFIX . "wishlist w LEFT JOIN " . DB_PREFIX . "product p ON (w.product_id = p.product_id) LEFT JOIN " . DB_PREFIX . "product_description pd ON (p.product_id = pd.product_id) WHERE w.customer_id = '" . (int)$customer_id . "' and pd.name !=''");
return $query->rows;
}
Code: Select all
public function getWishLists($customer_id) {
$query = $this->db->query("SELECT pd.name, p.product_id, p.image, p.model, p.price, p.tax_class_id FROM " . DB_PREFIX . "wishlist w LEFT JOIN " . DB_PREFIX . "product p ON (w.product_id = p.product_id) LEFT JOIN " . DB_PREFIX . "product_description pd ON (p.product_id = pd.product_id) WHERE w.customer_id = '" . (int)$customer_id . "' AND pd.language_id = '" . (int)$this->config->get('config_language_id') . "' and pd.name !=''");
return $query->rows;
}
grts
Wouter
Hi guys!
Thank you for the script! It took me a while to adjust it to my needs, but it was a good scratch to start from!
Works great!
Now I need to develop a kind of 'admin' part for it... to check what is really desired by the customers, maybe inform them about price updates and so on...
Thank you for the script! It took me a while to adjust it to my needs, but it was a good scratch to start from!
Works great!
Now I need to develop a kind of 'admin' part for it... to check what is really desired by the customers, maybe inform them about price updates and so on...
did you manage to get it working without errors? I keep getting:
Notice: Undefined index: product_id in ...\***\catalog\controller\account\wish_list.php on line 29
Notice: Undefined index: success in ...\***\catalog\controller\account\wish_list.php on line 56
I've looked at the code but I can't seem to find a solution though.. :s
Notice: Undefined index: product_id in ...\***\catalog\controller\account\wish_list.php on line 29
Notice: Undefined index: success in ...\***\catalog\controller\account\wish_list.php on line 56
I've looked at the code but I can't seem to find a solution though.. :s
Hi
I have installed the above mentioned codes. But im getting this error :
Controller part :
Can anyone figure out.. Im new to this opencart framework and this mit be a very silly problem..
I have installed the above mentioned codes. But im getting this error :
Code: Select all
Fatal error: Call to a member function http() on a non-object in C:\xampp\htdocs\opencart\catalog\controller\account\wish_list.php on line 33
Code: Select all
if ($this->customer->isLogged() && @$this->request->get['product_id']) {
if($this->model_account_wish_list->addProductWishList($this->customer->getId(), $this->request->get['product_id']))
{
$this->session->data['success'] = $this->language->get('text_success');
}
[b][color=#FF0000]$this->redirect($this->url->http('account/wish_list'));[/color][/b]
}
Who is online
Users browsing this forum: No registered users and 82 guests