Search found 54 matches

Search found 54 matches

Re: Read-only OpenCart?

Removing the cart doesn't make the site read-only, though, it just stops people who don't currently have a cart from adding to it. People can still change profiles and all sorts of other things that would alter the database after you've taken the backup for transfer. I've just given up and put the s...

Jump to post
  • Sun Nov 01, 2015 6:10 pm
  • Replies 6
  • Views 1327
Re: Read-only OpenCart?

Yes, but this is more like getting the janitor to open the school hall and corridors but not the classrooms, rather than locking or unlocking ALL doors. It's all part of his job, it is probably something he should have thought of being able to do, and it is just a matter of granularity ;) Somehow I ...

Jump to post
  • Sun Nov 01, 2015 3:55 am
  • Replies 6
  • Views 1327
Re: Read-only OpenCart?

Is there an option that doesn't involve paying money for something I'll do once every two or three years? The search is terrible and changing it to "Free" I just find unrelated stuff and an occasional "quick hack" MOD that still just does the "hide the buttons" method.

Thanks.

Jump to post
  • Sun Nov 01, 2015 1:02 am
  • Replies 6
  • Views 1327
Read-only OpenCart?

Hi, Is it possible to put OpenCart into a read-only mode and disable purchasing and registrations etc? I'm about to migrate a shop from one server to another, so my plan for a seamless transition is: * Set up script and test with old copy of database on new server * Disable shopping on old server (s...

Jump to post
  • Sun Nov 01, 2015 12:14 am
  • Replies 6
  • Views 1327
Re: Currency choice not working?

No, it isn't the cache. Firstly, opcache is a PHP opp code cache, so it caches the compiled PHP instructions so that they don't have to be re-interpreted each time. The script still gets executed as normal, just without the interpreter step. Secondly, if I change the method to public then it works. ...

Jump to post
  • Wed Sep 17, 2014 2:48 pm
  • Replies 2
  • Views 775
Currency choice not working?

Has anyone else had problems with the currency list not working for users in the 1.5.6 branch? I know it worked a number of months ago, but today I had a report that clicking on a currency from the list of available currencies (so the customer sees prices in their local currency) wasn't working. Ins...

Jump to post
  • Wed Sep 17, 2014 3:21 am
  • Replies 2
  • Views 775
Re: Ideas how to fix notification experience (add to cart et

I've got it fixed in the top-right corner now. I can't remember whether it is quite what I had planned at the time, but it works well enough, and with just CSS (I hate using JavaScript unnecessarily) then it stays in place when people scroll, so it is always visible. Basically, I think I've tweaked ...

Jump to post
  • Thu Mar 07, 2013 4:58 am
  • Replies 8
  • Views 1110
Re: Disable product returns feature

Rather than commenting them out, I'd suggest deleting them (and keeping a copy before hand, in case you decide to re-enable it for any reason). By commenting it out, the code will still be generated and sent to the customer/visitor, but their browser will not show it. By deleting it completely then ...

Jump to post
  • Tue Apr 17, 2012 2:06 am
  • Replies 31
  • Views 31238
Re: ZenCart Import

Have you got a copy of the code? Is it a re-use of this module, and if so then have any changes been made? I'm just thinking that my code was under GPL, so any changes made can freely be distributed (and even sold) as long as you allow everyone else the same rights (which includes allowing the first...

Jump to post
  • Thu Apr 12, 2012 3:28 am
  • Replies 20
  • Views 17484
Re: Reduce amount of Javascript?

The problem file already is just one file - I suspect that's part of the problem and why it is in excess of 200KB with lots of repeated comment headers! The 14.5KB saving is probably from stripping all of the comments - I didn't expect it to be much. As for PageSpeed, I think my site already ran up ...

Jump to post
  • Mon Feb 13, 2012 9:32 pm
  • Replies 6
  • Views 3474
Re: Reduce amount of Javascript?

I'll look into that, but it still leaves way more JS on that page than I feel comfortable with. I don't even see a particular benefit to it and I'm not entirely sure it is all used. Unfortunately, it appears the scripts have already been minified, so no space can be rescued there. The only thing I w...

Jump to post
  • Sun Feb 12, 2012 4:40 am
  • Replies 6
  • Views 3474
Reduce amount of Javascript?

I've just looked at AWStats for my store and checked out the amount of data I'm transferring. According to those numbers, I'l transferring about six times as much Javascript as I am PHP/HTML and four times as much JPG as Javascript. That's: JPG:PHP = 24:1 JS:PHP = 6:1 JPG:JS = 4:1 I expect the first...

Jump to post
  • Sat Feb 11, 2012 10:15 pm
  • Replies 6
  • Views 3474
Re: [BETA3] Upgrade Script 14x to 1.5.1.2 PLUS PRODUCT OPTIO

I could be wrong, but IIRC from the last topic then that means you've run this script (which upgrades you to 1.5.1.2) but not run the main update process (which takes you to 1.5.1.3).

Jump to post
  • Wed Feb 08, 2012 3:52 am
  • Replies 409
  • Views 244584
Re: [BETA3] Upgrade Script 14x to 1.5.1.2 PLUS PRODUCT OPTIO

If you're using the cPanel File Manager and not a proper FTP/SFTP client then I think you're stuck with uploading individual files. Basically, the root (top level) of the zip is the same as the root of your website. Everything that is in the "install" directory of the zip should end up in the "insta...

Jump to post
  • Sun Jan 29, 2012 9:22 pm
  • Replies 409
  • Views 244584
Re: Disable product returns feature

To fix the single option in the menu, find: <div class="right"><?php echo $text_action; ?> <select name="action" onchange="$('#order').submit();"> <option value="" selected="selected"><?php echo $text_selected; ?></option> <option value="reorder"><?php echo $text_reorder; ?></option> <option value="...

Jump to post
  • Wed Jan 25, 2012 4:24 am
  • Replies 31
  • Views 31238
Re: Merging carts causes checkout failure

Turns out it is a simple fix: Open catalog/controller/checkout/login.php Find: if (isset($this->request->post['email']) && isset($this->request->post['password'])) { After, add: $cartHadShipping = $this->cart->hasShipping(); Find: if ($this->customer->login($this->request->post['email'], $this->requ...

Jump to post
  • Sat Jan 21, 2012 11:32 pm
  • Replies 1
  • Views 739
Re: [BETA3] Upgrade Script 14x to 1.5.1.2 PLUS PRODUCT OPTIO

Odd, it worked for me and I have the column :\ Looking at the .php file, you've got my "don't drop the field if we're altering it rather than renaming it" fix on line 118, so that should have prevented it being dropped. Looking at the .sql, my instruction might be unnecessary, though, as it only get...

Jump to post
  • Sat Jan 21, 2012 2:58 am
  • Replies 409
  • Views 244584
Re: [BETA3] Upgrade Script 14x to 1.5.1.2 PLUS PRODUCT OPTIO

The quantity column was dropped because of some checks made for "ALTER TABLE...CHANGE..." queries. The original code never used that query, but I did, so I hit a bug where altering a column type (which uses "CHANGE currentname currentname typeinfo") made the code think "you're renaming from currentn...

Jump to post
  • Thu Jan 19, 2012 4:33 am
  • Replies 409
  • Views 244584
Merging carts causes checkout failure - FIX AVAILABLE

This is an odd case, but it can happen and is mainly caused by the single-page checkout. Basically, if you are a guest and add a gift voucher to your cart (or any other item that doesn't need a shipping address) then login as stage 1 of the checkout using a username that has a physical item in its c...

Jump to post
  • Sat Jan 14, 2012 10:32 pm
  • Replies 1
  • Views 739
Re: [BETA3] Upgrade Script 14x to 1.5.1.2 PLUS PRODUCT OPTIO

Sorry, I didn't realise you'd gone live with my changes yet - I'd forgotten to make my final updates! This version should fix the issues with missing columns (which was caused by a conflict between me trying to modify the definition and Qphoria's checks on whether columns needed to be dropped). Any ...

Jump to post
  • Sat Jan 14, 2012 10:19 pm
  • Replies 409
  • Views 244584

Search found 54 matches