Page 1 of 1
Search found 19 matches
Total is zero if Sub Total disabled
Hi, Nearly finished building a new site with OC 1.5.1. just noticed that in the shopping cart, if Subtotals are disabled then the Total is always 0! This is an issue for my client who won't be charging taxes, etc. so doesn't want to see a subtotal. Is this a bug, a feature or an RTFM? Many thanks. C...
Jump to post- Fri Nov 23, 2012 11:37 pm
- Replies 1
- Views 240
Re: How to echo store_id in payment.tpl file?
HI,
If I put $test = $this->config->get('config_store_id'); in the controller checkout/payment.php it's always null. How can I read the store_id in a multi-store situation?
OC 1.4.9.3.
Many thanks
Craig
- Tue Mar 29, 2011 8:13 pm
- Replies 10
- Views 3992
Order History by Store
Very nearly finished modifying my first OpenCart multi-store and loving it:) Just one thing I can't figure out. Is there a point where I can apply a store_id switch that will limit the order history page to orders from that store only? I think the default behaviour is that you see all your order his...
Jump to post- Sat Mar 26, 2011 12:28 am
- Replies 0
- Views 382
Re: Create a new store.
I'm finding that the main and sub-stores share order histories. Have I missed something in the set up or is this "as designed"? Main store address like http://www.greattours.com, sub-store address like shop.greattours.com.
Jump to post- Thu Mar 24, 2011 9:48 pm
- Replies 29
- Views 12118
Re: Learning concepts - help needed
Found it at last, sorry to bother! Here it is, just before the $this->render call if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/checkout/new_payment.tpl')) { $this->template = $this->config->get('config_template') . '/template/checkout/new_payment.tpl'; } else { $...
Jump to post- Sat Mar 19, 2011 2:33 am
- Replies 5
- Views 1135
Re: Learning concepts - help needed
Thought I'd keep the same thread going as I'm having a concept learning problem again as a noob. I'm developing a "payment by instalment" system in OpenCart for a client. All going well so far apart from I decided that for subsequent payments I would build a new payment View and Controller...
Jump to post- Sat Mar 19, 2011 12:50 am
- Replies 5
- Views 1135
Re: Learning concepts - help needed
That was it. Thanks for that. I'm learning fast;)
Craig
- Wed Mar 16, 2011 1:53 am
- Replies 5
- Views 1135
Learning concepts - help needed
Being new to MVC and fairly new to PHP I'm having a little issue with hitting a new function. Debugging isn't helping any. It just falls over as soon as findOrderInProcess is called. Can anyone help? In catalog/controller/checkout/payment.php I have:- //Check for first or subsequent payment if ($thi...
Jump to post- Wed Mar 16, 2011 1:01 am
- Replies 5
- Views 1135
Re: Need to make my website W3C valid.
Me too, getting a lot of problems with ampersands instead of &
Jump to post- Tue Mar 15, 2011 4:34 am
- Replies 9
- Views 2843
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
OK, reverted to ./vqmod.....etc. and now working (which it didn't before!). No it didn't show the xml file running. Found this was fixed by putting in the /xml directory (not mentioned in the instructions, though fairly obvious when you think about it I know.) Now see the file running in the log, ho...
Jump to post- Mon Mar 14, 2011 10:41 pm
- Replies 690
- Views 307282
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
OK so I thought I'd still see what vQmod could do for me anyway. So installed and have it's log show it's been initiated correctly. So the first try won't work (only showing the pertinent bits):- <modification> <id>Change Header Items</id> <version>1.0.0</version> <vqmver>1.0.8</vqmver> <author>Crai...
Jump to post- Mon Mar 14, 2011 9:34 pm
- Replies 690
- Views 307282
Re: Create a new store.
The penny dropped and I've got it working:) Even managing to serve up differences from the controllers by using a check on the HTTP_HOST:- If (stristr($_SERVER['HTTP_HOST'],'shop') === false) { $this->data['home'] = HTTP_SERVER . 'index.php?route=common/home'; } else { $this->data['home'] = 'http://...
Jump to post- Sat Mar 12, 2011 2:30 am
- Replies 29
- Views 12118
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Thanks for that Jay. Sounds like it will be helpful. Just getting to grips with OC and MVC all at the same time;)
Jump to post- Fri Mar 11, 2011 10:20 pm
- Replies 690
- Views 307282
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
For instance, I changed the header layout around for the main store. The link to the sub-store set to shop.mainstore in the header controller. In the sub-store I'll need a different link, but that's controlled by the same controller! I guess the multi-store stuff is only any use if all you want to c...
Jump to post- Fri Mar 11, 2011 10:06 pm
- Replies 690
- Views 307282
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
This looks very exciting from my perspective as an OpenCart noob. I'm looking into using it to get over a problem I'm having with a multi-store installation. I have a main store in which I've modified /catalog/controller/common/header.php (and others) which look fine. However, these changes are also...
Jump to post- Fri Mar 11, 2011 9:13 pm
- Replies 690
- Views 307282
Re: Create a new store.
A quick try like this didn't work:( # SEO URL Settings RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] RewriteCond %{HTTP_HOST} ^greattours/shop$ [NC] RewriteRule ^(.*)$ http://greattours/index.p...
Jump to post- Wed Mar 09, 2011 8:25 am
- Replies 29
- Views 12118
Re: Create a new store.
That's a great explanation mystifier, thank you. One last thing, I can't see any way of providing a link that would be http://shop.greatours.com in the controller. All I seem to be able to do is create a link http://greattours.com/shop with the line:- $this->data['shop'] = HTTP_SERVER . 'shop'; Then...
Jump to post- Wed Mar 09, 2011 8:09 am
- Replies 29
- Views 12118
Re: Create a new store.
This is really unclear. I have a store installed in a directory structure at htdocs/ it is the main site, and uses a database called DB1. It sells tours. I want to install another store linked to the first that sells merchandise for the tours (hats, mugs, etc.). It will be linked to from the first s...
Jump to post- Wed Mar 09, 2011 4:39 am
- Replies 29
- Views 12118
Payment by instalment advice
Hi, This is my first OpenCart (V1.4.9.3) venture and my client needs a payment system that allows payment by instalments, i.e. pay a deposit then pay the balance on subsequent visits. I need advice as to the best way to approach this in OpenCart. Would it be to modify the Checkout Process or the Pay...
Jump to post- Mon Feb 28, 2011 8:01 pm
- Replies 0
- Views 559
Search found 19 matches