Search found 980 matches

Search found 980 matches

Re: Blank admin page after turning off caching and cleared cache

Access logs: 84.62.96.87 - - [24/Nov/2020:15:43:02 +0100] "GET /shop/admin/ HTTP/1.0" 500 392 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15" You can see above that its a 500 error. With 500 errors you need the PHP error ...

Jump to post
  • Wed Nov 25, 2020 4:32 pm
  • Replies 21
  • Views 450
Re: Categories problems in MySQL data

Mark this topic as solved if you have no more issues.

Jump to post
  • Wed Nov 25, 2020 11:26 am
  • Replies 13
  • Views 502
Re: email problems

Submitting a review or a contact message appears to succeed but no email is received. Is there something else I need to install? Is there some logfile I can look at? Any suggestions much appreciated. Nowadays and depending on your email service, you may require SPF & DKIM records added to your DNS ...

Jump to post
  • Wed Nov 25, 2020 11:18 am
  • Replies 4
  • Views 351
Re: Coupon on Invoice / Checkout Page

Substitute en-gb for your language if not English.

Code: Select all

catalog/language/en-gb/extension/total/coupon.php

Jump to post
  • Wed Nov 25, 2020 10:13 am
  • Replies 3
  • Views 140
Re: Categories problems in MySQL data

Updated. Does that when you copy as permalink still it was referencing the correct branch.

Jump to post
  • Wed Nov 25, 2020 2:01 am
  • Replies 13
  • Views 502
Re: Categories problems in MySQL data

straightlight wrote:
Wed Nov 25, 2020 1:53 am
Take note that the referenced model on the above includes product variants that opencart.com does not yet provide on the named links called 'stable' from the downloads.
Pretty sure I referenced 3.0.3.6 is it showing the master branch for you?

Jump to post
  • Wed Nov 25, 2020 1:57 am
  • Replies 13
  • Views 502
Re: Categories problems in MySQL data

Where in the MySQL database do these zero's come from in the sub-categories? Comes from the getTotalProducts count - https://github.com/opencart/opencart/blob/3.0.3.6/upload/catalog/controller/extension/module/category.php#L43 You can further reference the model. https://github.com/opencart/opencar...

Jump to post
  • Wed Nov 25, 2020 1:46 am
  • Replies 13
  • Views 502
Re: Customers Can't Login

After clearing cache and starting the test over, I found I can check out as a guest initially. Sounds like it might again be related to improper Cache headers. See if you can duplicate with Chrome Inspector. In Chrome Inspector go under the network panel, it will have a checkbox to disable cache. K...

Jump to post
  • Wed Nov 25, 2020 1:37 am
  • Replies 14
  • Views 402
Re: Add "customer_id" in a new column in "/admin/customer" page

Customer ID is already available in the data array, its just 3 simple edits if you don't need it sortable. admin/view/template/customer/customer_list.twig You can access the variable in the customer loop with {{ customer.customer_id }} the rest is just basic table formatting. If you don't want to ed...

Jump to post
  • Mon Nov 23, 2020 7:30 am
  • Replies 9
  • Views 459
Re: Adding Shipping Zones Back

If you have basic knowledge of mySQL you can locate the opencart install.sql on GitHub for your OC version. Then drop and re-import the appropriate zones tables. If you have messed with zone IDs or added custom zones, it would be more involved. In anycase always have a backup if you take stuff like ...

Jump to post
  • Mon Nov 23, 2020 5:46 am
  • Replies 2
  • Views 176
Re: Sending Customer Order Email to Store/Admin Email Address

Use this free extension, "Customer order confirmation email for store owner": https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=35844 excellent reply,but it doesnot work for me,is there an commercial extension , by the way ,I think this should become a default functio...

Jump to post
  • Sun Nov 22, 2020 1:55 pm
  • Replies 19
  • Views 5183
Re: Class 'Twig\\Loader\\ArrayLoader' not found

After the upgrade is complete backup your current storage folder (e.g follow the path to it as listed in your config.php).

Then COPY the system/storage folder in replace of that folder.

The Vendor packages have changed in 3.0.3.6.

Jump to post
  • Sun Nov 22, 2020 6:40 am
  • Replies 11
  • Views 954
Re: Where is the file to edit guest success message?

If using a language other than English substitute en-gb for your language.

catalog/language/en-gb/checkout/success.php
https://github.com/opencart/opencart/bl ... uccess.php

Jump to post
  • Sun Nov 22, 2020 4:25 am
  • Replies 3
  • Views 191
Re: Pending orders

What payment gateway? What OC version?

Jump to post
  • Sun Nov 22, 2020 2:05 am
  • Replies 1
  • Views 103
Re: Product Images Are not Fetching

Link to your site?
Google "Open Graph tags" and find an extension on the marketplace if that's what you're going for.

Jump to post
  • Sun Nov 22, 2020 2:00 am
  • Replies 2
  • Views 155
Re: Open cart 3.0.1.1 Theme Editor Crashing

And the JSON error is what? Check your server / error logs, etc.

Jump to post
  • Fri Nov 20, 2020 3:54 pm
  • Replies 3
  • Views 362
Re: Product Stock status in checkout and also in confirmation email

I have an extension allows me to change the product availability status to what I choose not depenting on quantity The code above is for a default Opencart install and works as intended. If you are using a custom stock extension reach out to the extension developer or otherwise that would need to b...

Jump to post
  • Fri Nov 20, 2020 2:41 pm
  • Replies 6
  • Views 508
Re: Product Stock status in checkout and also in confirmation email

Keep @straightlight changes, but amend the following. In catalog/controller/mail/order.php Find. ( should be two occurrences. ) $data['products'][] = array( Add BEFORE $product_info = $this->model_catalog_product->getProduct($order_product['product_id']); Then replace the two stock_status edits you ...

Jump to post
  • Fri Nov 20, 2020 1:20 pm
  • Replies 6
  • Views 508
Re: Calculate price including tax with event/module

johnjohn22 wrote:
Thu Nov 19, 2020 11:54 pm
I can get the "tax_class_id" like this $product_info['tax_class_id'] but how do i get the rate? Is there a readymade way to get the tax for a product?

Code: Select all

system/library/cart/tax.php
Note the tax class methods available to you.

Jump to post
  • Fri Nov 20, 2020 7:12 am
  • Replies 3
  • Views 158

Search found 980 matches