Page 1 of 1
Search found 7 matches
Re: Only show Add to Cart button when logged
Hi, thanks for your reply.
Your code not working.
Actually my problem is solved. Just add $user_group in controller.
Thanks =)
- Sat May 09, 2015 10:14 am
- Replies 2
- Views 625
Re: Simple image module
Nope, everything works without any error. No data returns when I need to edit this.
Previously, I build another module with single type of field, everything was ok.
Do we need kind of ID for multiple data rows/foreach function?
Thanks
- Sat May 09, 2015 10:11 am
- Replies 3
- Views 644
Simple image module
Hi everyone, I try to creating a simple image module. To the point, the only problem is data is not saved/not loaded everytime I visit this module back. Here's my code in controller: if (isset($this->request->post['photo_image'])) { $photo_images = $this->request->post['photo_image']; } elseif (isse...
Jump to post- Sat May 09, 2015 12:44 am
- Replies 3
- Views 644
Only show Add to Cart button when logged
Hi everyone, Need your help to make this work on OC v2.0.1.1 I need to show "Add to Cart" button only when user is logged. I can make this work on OC 1.5 simply by using: if ($this->customer->isLogged()) In 2.0, I think I need to add something in category.php, but don't know where to start...
Jump to post- Wed Apr 29, 2015 10:18 am
- Replies 2
- Views 625
Item Weight on Cart and Checkout page (Not Total Weights)
Hi guys, How to display weight of each item in cart & checkout page? I mean each product, not total weight (like on top of page title). This, $this->data['weight'] = $this->weight->format($product_info['weight'], $product_info['weight_class_id']); works on product page. But I can't make it work ...
Jump to post- Sun Feb 15, 2015 12:21 am
- Replies 2
- Views 1446
Re: SOLVED: PHP Error in Opencart 2.0
Found this: $this->load->model('settings/extension'); $extensions = $this->model_settings_extension->getExtensions('module'); and changed it to: $this->load->model('extension/extension'); $extensions = $this->model_extension_extension->getExtensions('module'); Hi Tom, Which file I need to change to...
Jump to post- Fri Feb 06, 2015 5:29 pm
- Replies 10
- Views 14288
Include header outside store
Hi guys,
Is it possible to include store's header outside store folder?
I have put store (opencart) folder as sub-directory in root.
The main problem, because I need my page in root to have account (logged/not) and cart (empty/not) functions just as store does.
Is it possible?
Thanks
- Sun Nov 23, 2014 11:03 pm
- Replies 1
- Views 771
Search found 7 matches