What are/How to edit cache files for opencart website - caching

Hi all am a noob on the rise with web development and design and I am trying to edit a file that I found that seems to be controlling some information about world countries. More specifically I want to add a zone to a country. This file is part of the opencart e-commerce suite. It is located here: system/cache and is called cache.zone.16 and I openned it with notepad. the contents are as follows:
a:31:{i:0;a:5:
{s:7:"zone_id";s:3:"284";s:10:"country_id";s:2:"16";s:4:"name";s:7:"Acklins";s:4:"code";s:3:"ACK";s:6:"status";s:1:"1";}i:1;a:5:{s:7:"zone_id";s:3:"285";s:10:"country_id";s:2:"16";s:4:"name";s:13:"Berry Islands";s:4:"code";s:3:"BER";s:6:"status";s:1:"1";}i:2;a:5:{s:7:"zone_id";s:3:"286";s:10:"country_id";s:2:"16";s:4:"name";s:6:"Bimini";s:4:"code";s:3:"BIM";s:6:"status";s:1:"1";}i:3;a:5:{s:7:"zone_id";s:3:"287";s:10:"country_id";s:2:"16";s:4:"name";s:11:"Black Point";s:4:"code";s:3:"BLK";s:6:"status";s:1:"1";}i:4;a:5:{s:7:"zone_id";s:3:"288";s:10:"country_id";s:2:"16";s:4:"name";s:10:"Cat Island";s:4:"code";s:3:"CAT";s:6:"status";s:1:"1";}i:5;a:5:{s:7:"zone_id";s:3:"289";s:10:"country_id";s:2:"16";s:4:"name";s:13:"Central Abaco";s:4:"code";s:3:"CAB";s:6:"status";s:1:"1";}i:6;a:5:{s:7:"zone_id";s:3:"290";s:10:"country_id";s:2:"16";s:4:"name";s:14:"Central Andros";s:4:"code";s:3:"CAN";s:6:"status";s:1:"1";}i:7;a:5:{s:7:"zone_id";s:3:"291";s:10:"country_id";s:2:"16";s:4:"name";s:17:"Central Eleuthera";s:4:"code";s:3:"CEL";s:6:"status";s:1:"1";}i:8;a:5:{s:7:"zone_id";s:3:"292";s:10:"country_id";s:2:"16";s:4:"name";s:16:"City of Freeport";s:4:"code";s:3:"FRE";s:6:"status";s:1:"1";}i:9;a:5:{s:7:"zone_id";s:3:"293";s:10:"country_id";s:2:"16";s:4:"name";s:14:"Crooked Island";s:4:"code";s:3:"CRO";s:6:"status";s:1:"1";}i:10;a:5:{s:7:"zone_id";s:3:"294";s:10:"country_id";s:2:"16";s:4:"name";s:17:"East Grand Bahama";s:4:"code";s:3:"EGB";s:6:"status";s:1:"1";}i:11;a:5:{s:7:"zone_id";s:3:"295";s:10:"country_id";s:2:"16";s:4:"name";s:5:"Exuma";s:4:"code";s:3:"EXU";s:6:"status";s:1:"1";}i:12;a:5:{s:7:"zone_id";s:3:"296";s:10:"country_id";s:2:"16";s:4:"name";s:9:"Grand Cay";s:4:"code";s:3:"GRD";s:6:"status";s:1:"1";}i:13;a:5:{s:7:"zone_id";s:3:"297";s:10:"country_id";s:2:"16";s:4:"name";s:14:"Harbour Island";s:4:"code";s:3:"HAR";s:6:"status";s:1:"1";}i:14;a:5:{s:7:"zone_id";s:3:"2908";s:10:"country_id";s:2:"16";s:4:"name";s:9:"Hope Town";s:4:"code";s:3:"HOP";s:6:"status";s:1:"1";}i:15;a:5:{s:7:"zone_id";s:3:"299";s:10:"country_id";s:2:"16";s:4:"name";s:6:"Inagua";s:4:"code";s:3:"INA";s:6:"status";s:1:"1";}i:16;a:5:{s:7:"zone_id";s:3:"300";s:10:"country_id";s:2:"16";s:4:"name";s:11:"Long Island";s:4:"code";s:3:"LNG";s:6:"status";s:1:"1";}i:17;a:5:{s:7:"zone_id";s:3:"301";s:10:"country_id";s:2:"16";s:4:"name";s:12:"Mangrove Cay";s:4:"code";s:3:"MAN";s:6:"status";s:1:"1";}i:18;a:5:{s:7:"zone_id";s:3:"302";s:10:"country_id";s:2:"16";s:4:"name";s:9:"Mayaguana";s:4:"code";s:3:"MAY";s:6:"status";s:1:"1";}i:19;a:5:{s:7:"zone_id";s:3:"303";s:10:"country_id";s:2:"16";s:4:"name";s:14:"Moore's Island";s:4:"code";s:3:"MOO";s:6:"status";s:1:"1";}i:20;a:5:{s:7:"zone_id";s:3:"304";s:10:"country_id";s:2:"16";s:4:"name";s:11:"North Abaco";s:4:"code";s:3:"NAB";s:6:"status";s:1:"1";}i:21;a:5:{s:7:"zone_id";s:3:"305";s:10:"country_id";s:2:"16";s:4:"name";s:12:"North Andros";s:4:"code";s:3:"NAN";s:6:"status";s:1:"1";}i:22;a:5:{s:7:"zone_id";s:3:"306";s:10:"country_id";s:2:"16";s:4:"name";s:15:"North Eleuthera";s:4:"code";s:3:"NEL";s:6:"status";s:1:"1";}i:23;a:5:{s:7:"zone_id";s:3:"307";s:10:"country_id";s:2:"16";s:4:"name";s:13:"Ragged Island";s:4:"code";s:3:"RAG";s:6:"status";s:1:"1";}i:24;a:5:{s:7:"zone_id";s:3:"308";s:10:"country_id";s:2:"16";s:4:"name";s:7:"Rum Cay";s:4:"code";s:3:"RUM";s:6:"status";s:1:"1";}i:25;a:5:{s:7:"zone_id";s:3:"309";s:10:"country_id";s:2:"16";s:4:"name";s:12:"San Salvador";s:4:"code";s:3:"SAL";s:6:"status";s:1:"1";}i:26;a:5:{s:7:"zone_id";s:3:"310";s:10:"country_id";s:2:"16";s:4:"name";s:11:"South Abaco";s:4:"code";s:3:"SAB";s:6:"status";s:1:"1";}i:27;a:5:{s:7:"zone_id";s:3:"311";s:10:"country_id";s:2:"16";s:4:"name";s:12:"South Andros";s:4:"code";s:3:"SAN";s:6:"status";s:1:"1";}i:28;a:5:{s:7:"zone_id";s:3:"312";s:10:"country_id";s:2:"16";s:4:"name";s:15:"South Eleuthera";s:4:"code";s:3:"SEL";s:6:"status";s:1:"1";}i:29;a:5:{s:7:"zone_id";s:3:"313";s:10:"country_id";s:2:"16";s:4:"name";s:13:"Spanish Wells";s:4:"code";s:3:"SWE";s:6:"status";s:1:"1";}i:30;a:5:{s:7:"zone_id";s:3:"314";s:10:"country_id";s:2:"16";s:4:"name";s:17:"West Grand Bahama";s:4:"code";s:3:"WGB";s:6:"status";s:1:"1";}}
The problem is this, I am trying to open an online store using opencart because its free and am broke but I've notice that when I was trying to register a fake account to test it out with my new design I noticed something strange. The capital of the Bahamas, which is Nassau, is missing from this list. And thats kind of huge issue because Nassau is where the majority of the population of the Bahamas lives. So can someone be so kind as to offer some advice for this problem? Where to look, something to read, perhaps even a solution.
Thank You;
Eulond Kelly III

Login to admin panel and go to System > Zones.
Then click on 'Insert' button and enter the needed information.
Click on save button.
That's all !!

Related

Easy, simple, attractive way/path/option to signup/register a new user in Joomla 3.9

I'm a volunteer for a not-for-profit project committed to conceiving a "way" to easy (considering the user audience not used to browse websites) and make attractive the registration of a new user on the home page Joomla website 3.9.
After a web search and a look in the Joomla section of the extensions on the related, I've just found that one of the possible options that meet my requirements is a free extension that enables the user to signup with a social account (Twitter, Facebook, etc.): SLogin.
I've found that the category under which I may look for a suitable extension is: Tutorial or website tour. But all of the ones I find on the web are not free.
If I was in the shoes of a user not familiar with registering a new account on a website, maybe I'd expect to find a guided procedure with popup windows or more than one webpage with plenty of information on any single step involved in the user creation.
I wonder if there is a template or extension (free) or any other option (not custom developed) that may do that job; I'm open to any suggestions based on the requirements above.
Try BreezingForms - https://extensions.joomla.org/extension/breezing-forms/
I think it allows you (even in the free version) to create custom forms, as complex as you need (multi-page, etc.) and then port them into Joomla! user creation.
You're gonna need to hunt around on their forums/support to find out how to do this exactly because it's been a long time since I've used BreezingForms.
This post on their forum has a user asking the same question and I think they answer it conclusively: https://crosstec.org/en/forums/3-breezingforms-for-joomla/123224-how-to-make-login-and-registration-forms-with-breezingforms-pro.html
Good luck and have fun!
In addition to the options already mentioned, I've evaluated and finally selected a Joomla template with a slideshow extension on top that repeatedly displays the required number of slides to show how to register and/or login.
One of those slides will feature two buttons that will open a modal window to register or log in.

PayPal Express Review Order Page In Magento - Where I can edit code for design layout

My magento template is forcing me to have a final REVIEW ORDER page when checking out. I want to be able to edit the design of that page, but I cannot find what file the code is in. UGGH. Can someone help me? See screenshot.
I want to be able to change the font size of the words "REVIEW ORDER" to make it stand out more.
The file you are looking for resides on
app/design/frontend/base/default/template/paypal/express/review.phtml
But before making changes to it,its good practice of overwriting it to you theme and making changes there.
Hope, this is what you are looking for.

Custom Options Description Field Magento

First off, I've got a good understanding of Magento. I just wanted a simple answer on whether or not it would be wise for me to venture down this path.
I'm working on a vinyl printing retail business that allows customers to customize their products online. We want to add a custom option for font type but they would like their customers to visualize the fonts. There's an extension I found that does this for me but it's not free, which really isn't a problem.
While I was reading the comments for said extension, I stumbled upon another users site that has a simple description under the drop down box with a link. This seems like an opportunity to save a little bit of cash.
http://imgur.com/JXgdkLQ
TL;DR Do I pay $90 for an extension or is it going to be easier for me to add an extra description/link to my custom option
thanks

Wrong URL used when accessing article through a module

I have an annoying problem and am hoping someone will be able to help.
We use quite a few extensions on our Joomla site (Roksprocket mainly but also Global News Filter for instance).
The modules themselves are working fine however when I click on an article in one of these modules the article opens but it doesn't use the nice URL that should be displayed (we have Search Engine Friendly URLs set to Yes and Use URL rewriting set to Yes). This happens for all modules that draw off a category (so I don't think its linked to a specific extension).
For instance on our Case Studies page if you click on Read More on the RSA Case Study you get this URL
http://www.assima.net/en/resources/case-studies/99-home/resources/case-studies/ats-case-studies/649-case-study-rsa
but what you should get is the menu item URL associated with this article which is this
http://www.assima.net/en/resources/case-studies/ats-case-studies/rsa
I don't think there is anything wrong with our .htaccess as I reverted back to the default Joomla one and it still occured.
Also this used to work perfectly. I first noticed it around October or November last year.
If anyone has any ideas I would really appreciate it, I've googled the problem many times and not found any help.
Thanks
Emma
FIXED.
Due to a Joomla bug. Fixed by overwriting the route.php file as described in this post: http://forum.joomla.org/viewtopic.php?f=625&t=831007&start=30

Subtotal, Shipping, Discount and Grand Total Missing in Magento

Hope someone can point me in the right direction. I am not a Magento developer but am having to fix my site after my "developer" left me with most of the work to do.
Currently in my checkout screen i'm not seeing any values other than that of the actual product item value - no subtotals, discounts, shipping or the grand total. They all appear ok on the emails that are sent though (luckily).
I'm not using the default Magento package but from what i can see all the .phtml files seem to be there in the base directories and are not in my new design directories - so i would have assumed all would work ok. But alas, no. Is there anywhere i should be looking/tweaking etc etc? Have googled about as much as i can but to no avail.
I'm sure it must be something simple (!?) if all appear on the emails ok. Any ideas would be great!
I realise this is fairly old now but just in case anyone else comes across this I had this problem and for me all I had to do some enable the Mage_Tax module in System > Configuration > Advanced
It is difficult to answer your question without more insight, but here is what can be a starting point:
Login to your shop's admin panel.
In System menu click on Configuration.
From the Current Configuration Scope box select your Website.
Now in the menu on left-hand side under Configuration > Advanced (almost to the bottom of the screen)
Click on Developer
Now in the main panel, click on Debug.
For the field Template Path Hints select Yes.
Now reload your website (front-end) and you will see from which template is each part of the page being loaded.
Also if Magento's cache is enabled, you will need to clear that. I would suggest that this cache be disabled during development and/or on non-production versions of your site.

Resources