Search found 148 matches

Search found 148 matches

Re: Suddenly, changes don't apply, old template loaded.

Also, what happens if you just straight up delete the files in /ocartdata/storage/cache/?

Jump to post
  • Tue Oct 03, 2017 4:08 am
  • Replies 4
  • Views 723
Suddenly, changes don't apply, old template loaded.

Having an interesting problem. I was making changes to the template last night, and everything was working fine... until suddenly it didn't. Changes I was making to the template category.twig were just not showing up. I cleared the Journal Cache, Theme Cache, SASS Cache, and browser cache. Nothing. ...

Jump to post
  • Tue Oct 03, 2017 4:07 am
  • Replies 4
  • Views 723
Re: Regarding the Current Forum Spam

Why do spam posts have to be deleted manually? There's GOT to be a way to do a search for "huyuiyu" (current A-hole filling up the boards) and batch-delete all posts by that user. And then ban that user by IP.

Jump to post
  • Tue Sep 26, 2017 4:08 am
  • Replies 26
  • Views 33723
Re: List of product variables in OC 3.0.2.0?

Well, my problem is, I would like to display the SKU on the category page & product page... but there's NO such reference in the templates.
I had it custom-hacked in the previous version (OC 2.0), but that's PHP and it's NOT working in this version on Twig.

Jump to post
  • Tue Sep 26, 2017 4:05 am
  • Replies 3
  • Views 1536
List of product variables in OC 3.0.2.0?

Is there a reference list of all the possible product variables in OC 3.0.2.0? For example, in the category.twig and product.twig files, there are references to things like: {{ product.href }} {{ product.name }} {{ product.description }} {{ product.price }} {{ product.special }} etc. Is there a list...

Jump to post
  • Tue Sep 26, 2017 12:21 am
  • Replies 3
  • Views 1536
Category - how to change # of items per page (from 15 to 100)?

By default, OC is displaying only 15 products per page, with pagination.
How can I make it display ALL products, by default.
Or at least 100 / page?

Yes, it's possible for the user to select the drop-down and change it from 15 to 100. But I want 100 to be the default setting.

Jump to post
  • Fri Sep 22, 2017 3:05 am
  • Replies 1
  • Views 375
Re: Template FILE "product.twig" is DIFFERENT in Admin

Just did. And yes, there's a table "oc_theme", with a single entry that contains the "new" product.twig, with my change. Which REALLY makes me wonder.... WHY. IS. THERE. A. TEMPLATE. FILE. THEN. And how the hell is this all supposed to work now? Do we change the template file, or the code in the adm...

Jump to post
  • Fri Sep 15, 2017 10:24 pm
  • Replies 19
  • Views 3392
Template FILE "product.twig" is DIFFERENT in Admin

If I go into Admin -> Design -> Theme Editor -> product.twig, and make a test change (adding an H1), then save & reload the front-end, the change shows up. However, if I open the FILE /catalog/view/theme/default/template/product/product.twig - the change is NOT there. So, 2 questions: 1.) If the cha...

Jump to post
  • Fri Sep 15, 2017 10:02 pm
  • Replies 19
  • Views 3392
Reveal template path overlay (like Magento)?

Is there an option - or a 3rd-party plugin - that will show which template files are involved in building the current page? I remember seeing that kind of feature on Magento, in the core, and it was VERY useful in trying to untangle what was happening. Considering that there are a lot of very NON-ob...

Jump to post
  • Fri Sep 15, 2017 11:33 am
  • Replies 1
  • Views 232
"Too common" search keywords - idiotic

Can we PLEASE change the search parameters for this forum? Trying to look for any threads that have to do with editing the product page - get the following message: "The following words in your search query were ignored because they are too common words: page product . You must specify at least one ...

Jump to post
  • Fri Sep 15, 2017 11:06 am
  • Replies 7
  • Views 584
Category image rollover - possible to point to ** 2nd ** additional image, NOT 1st?

On the category display, it shows the product's "main image" (the one specified under "Data" tab -> "Image"), and upon mouseover, it shows the 1st of the "additional images" (specified under the "Images" tab). Is it possible to make it show the 2nd of the additional images, NOT the 1st? I've tried c...

Jump to post
  • Mon Apr 10, 2017 6:06 am
  • Replies 1
  • Views 324
URL Parameters (sort/limit/order) - duplicate content?

Going over my site with GWT, got to the "URL Parameters" section, and there seems to be a problem. Looks like Google is indexing every version of the category content, displayed in different order, sort limit, etc. 1.) What's the best way to handle this issue? Add exclusions in robots.txt? Use the G...

Jump to post
  • Fri Dec 30, 2016 6:18 am
  • Replies 1
  • Views 374
Re: Sitemap - too many categories - how to clean up?

Thanks for the tip - seems to be the most customizable sitemap extension currently available. Please confirm though - it will allow me to specify that I don't want to see a "remix of every possible subcategory", or at least delete them from the semi-final results, before it generates the final sitem...

Jump to post
  • Fri Dec 30, 2016 4:26 am
  • Replies 5
  • Views 1320
Sitemap - too many categories - how to clean up?

Having an issue with the sitemap generation - it lists every possible category/subcategory variant. Even though the "real" categories are already marked as "canonical", and Google seems to be seeing them properly, this still creates an unholy mess in the sitemap. For example, I don't want to see URL...

Jump to post
  • Fri Dec 30, 2016 3:21 am
  • Replies 5
  • Views 1320
How to apply "Expires" header to *external* content?

In my .htaccess, I have the following directive to improve content caching: <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access plus 1 days" ExpiresByType image/gif "access plus 1 weeks" ExpiresByType image/jpeg "access plus 1 weeks" ExpiresByType image/png "access plus 1 weeks...

Jump to post
  • Wed Dec 07, 2016 3:27 am
  • Replies 1
  • Views 442
Hide certain URLs from Google/Bing & SEO checkers

I'm using an SEO checking tool to clean up the SEO situation on our website, and one thing I can't figure out how to solve is this: We have found 5 URLs that are not SEO friendly! http://www.example.com/index.php?route=product/search http://www.example.com/index.php?route=checkout/cart https://www.e...

Jump to post
  • Wed Dec 07, 2016 3:15 am
  • Replies 3
  • Views 961
How to DISABLE OpenCart image cache?

OpenCart's image caching sucks. All of my product images, category images, banners, sliders - EVERYTHING comes out in TERRIBLE quality. On top of that, the cached versions of the images are actually LARGER than the originals. So, a bigger file size AND a loss of quality. How can I completely DISABLE...

Jump to post
  • Wed Nov 09, 2016 5:11 am
  • Replies 15
  • Views 2461
Separate "Add To Cart" button for options/accessories?

OpenCart 2.0.3.1 Is it possible to have a separate "Add To Cart" button for each product option (i.e. optional accessories / add-ons)? In other words, in addition to the main "Add To Cart" button, I would like to have extra ATC buttons for each item that's listed in a tab for that product. Each of t...

Jump to post
  • Fri Jul 29, 2016 6:01 am
  • Replies 1
  • Views 285
Re: Checkout - payment - zone dropdown: how to select defaul

Login into filezilla, open catalog/controller/checkout/payment_address.php Find: $this->load->model('localisation/country'); and this line below it: $data['zone_id'] = ''; Did that, tried Checkout again - it still shows up as "Florida", and adds the sales tax. I also tried creating a new "fake stat...

Jump to post
  • Thu Jul 28, 2016 2:02 am
  • Replies 5
  • Views 1365

Search found 148 matches