Search found 4602 matches

Search found 4602 matches

Re: Downloadable files

Look in both the PHP and OpenCart error logs to see exactly what the error is.

Jump to post
  • Fri Mar 29, 2024 9:36 pm
  • Replies 2
  • Views 44
Re: PCI Compliance Session-Fixation

Sorry for resurrecting such an old post, but for some reason this has just been flagged in a PCI scan, but hasn't shown up before. V2.3.0.2 We have recently changed our hosting package, so could it be something to do with that? It is with the same provider and it was seamless, so I don't think we p...

Jump to post
  • Fri Mar 29, 2024 9:31 pm
  • Replies 4
  • Views 893
Re: www.elegantmarket.ro doesn't work properly

Thanks, it works perfectly with this code. Although an error appears in your code and I received a message that the domain to which it was redirected was not on the server. I checked and noticed that there was an extra point. After I removed it, the code turned out to be perfect. For other people w...

Jump to post
  • Fri Mar 29, 2024 6:37 am
  • Replies 6
  • Views 193
Re: Gift Voucher - Free Shiiping?

Just tested in a few versions on OpenCart and they worked as expected. What OpenCart version, PHP version, theme and extension are you using?

Jump to post
  • Fri Mar 29, 2024 6:35 am
  • Replies 3
  • Views 63
Re: Gift Voucher - Free Shiiping?

You shouldn't have to do anything. It shouldn't ask for a shipping address and method if the customer is only purchasing Gift Certificate.

Jump to post
  • Fri Mar 29, 2024 1:46 am
  • Replies 3
  • Views 63
Re: Image manager not working correctly

You have an error in the JavaScript on that page. Disable all you extensions one by one in case one of them is the cause.

If none are the cause, compare all your files against a clean download of your version of OpenCart.

Jump to post
  • Thu Mar 28, 2024 5:58 pm
  • Replies 3
  • Views 159
Re: www.elegantmarket.ro doesn't work properly

Something like the following should work.

Code: Select all

RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]

Jump to post
  • Thu Mar 28, 2024 8:28 am
  • Replies 6
  • Views 193
Re: Image manager not working correctly

Use your web browser's developer console to check for errors.

Jump to post
  • Thu Mar 28, 2024 8:23 am
  • Replies 3
  • Views 159
Re: How to disable the Site Shutdown function? 3.0.3.8

Look at the action_pre_action in system/config/catalog.php. You could remove the 'startup/maintenance' entry. Else look in catalog/controller/startup/maintenance.php. However, I wouldn't recommend it as a final solution. If it is being changed by someone and not just a bug, they probably have access...

Jump to post
  • Thu Mar 28, 2024 2:57 am
  • Replies 16
  • Views 502
Re: OpenCart SEO Pagination issue on category pages - /page/2//page/2

I would say category/page/3 is no better for SEO, it may just look nicer. I believe Google expects ?page=3. https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading#use-urls-correctly If you did want to fix the issue, try disabling your other extensions t...

Jump to post
  • Thu Mar 28, 2024 2:44 am
  • Replies 6
  • Views 816
Re: access admin module without token

@add creative, It stays on the admin login page and the function doesn't execute. I also removed the parameter and put an index function with a log write in the file just to make sure and that isn't being executed either. Just tested by adding extension/module/account to the 3 lists and I was able ...

Jump to post
  • Thu Mar 28, 2024 2:25 am
  • Replies 8
  • Views 1454
Re: access admin module without token

I'm trying to accomplish the same thing here. I have a cron that I want to run on a controller in the admin and I don't want to bother with events or create a duplicate file in another directory. Is this method of putting the path in the ignore array of the login and permissions file still valid. W...

Jump to post
  • Wed Mar 27, 2024 6:44 pm
  • Replies 8
  • Views 1454
Re: Page number at the end in all our products listings.

Your canonical link on that page is wrong in that it includes the page parameter when is shouldn't. Default OpenCart doesn't do that so it is caused by one one of your extensions.

You could also inspect the URLs in the Google Search Console and see what the referring page is.

Jump to post
  • Tue Mar 26, 2024 5:40 pm
  • Replies 1
  • Views 130
Re: OpenCart SEO Pagination issue on category pages - /page/2//page/2

Check in the extension's options and see it you can switch of the changing of pagination URLs.

Jump to post
  • Tue Mar 26, 2024 8:00 am
  • Replies 6
  • Views 816
Re: how to stop google from indexing this type of URL

Adding to robots.txt will stop Google from crawling, but will not stop indexing. If you want to remove pages from the indexed results, you can set noindex. Adding something like following to htaccess would set noindex. <If "%{QUERY_STRING} =~ m#(sort|order|limit|tag|search|sub_category|descript...

Jump to post
  • Mon Mar 25, 2024 8:03 pm
  • Replies 3
  • Views 176
Re: Discount "-" negative sign missing in checkout total

Try changing.

Code: Select all

'value' => (($discount / 100) * $total['total']),
To.

Code: Select all

'value' => -(($discount / 100) * $total['total']),

Jump to post
  • Sat Mar 23, 2024 5:42 pm
  • Replies 5
  • Views 237
Re: Encoded URL's don't work... And how to fix it?

I don't see any links encoded like that on Google Shopping. How are you sending your products to Google Shopping?

Jump to post
  • Fri Mar 22, 2024 9:04 pm
  • Replies 5
  • Views 243
Re: Log on as admin in maintenance mode and can't see the front end....

As this is present in 4.0.2.3 as well... I'm wondering, what is the intended behavior here ? 2 cookies with same session id (accessing same file / db entry) and different paths? I've hit this issue trying to execute an action triggered by catalog/model/checkout/order/addHistory/before, where I need...

Jump to post
  • Fri Mar 22, 2024 8:24 pm
  • Replies 16
  • Views 2027
Re: Encoded URL's don't work... And how to fix it?

No, because that would be incorrect. Instead of "product_id" being equal to "40", you are saying "product_id=40" is equal to "". = reserved character and should only be encoded if it's data and not used to delimit parameters and parameter values. You can see t...

Jump to post
  • Fri Mar 22, 2024 6:38 pm
  • Replies 5
  • Views 243

Search found 4602 matches