Jump to content


Popular Content

Showing content with the highest reputation since 06/11/2019 in all areas

  1. 2 points
    Dear @peterbuzzin, @MrPhil , @Hotclutch thank you very much for your help. The RewriteRule : RewriteEngine On RewriteBase /catalog/ RewriteRule !^admin($|/) https://www. newdomain.com%{REQUEST_URI} [L,R=301] did the magic impeccably. The problem I had was that the other RewriteRule in the old domain (on the old hosting) they were interfering. I deactivate the old RewriteRule and voilà!!! Best regards. Valqui
  2. 1 point
    JcM Adverts Header V1.0 CE BS3/4 A simple add-on that allows you to display adverts in a carousel in the header It’s a simple no core change add-on so just copy files over go to admin and install and setup. It is setup to allow 3 slides for display. These can be images or videos or any combination.
  3. 1 point
    That usually happens due to an extra or missing div tag. Have you made any code changes? If not, it could be due to the product description. Add a new product without a description and see if it displays correctly or not. If it does, then the problem is in your product descriptions. If it doesn't, then some code that is only on the product page (assuming that is the only place it fails) is at fault.
  4. 1 point

    Transactional email service

    I think we've got 2 or 3 different issues mixed together here: Excessive volume of emails (exceeding host's per-minute, per-hour, per-day caps). You need to find out from your host what the limits are. Unless they are ridiculously low, or your site is very, very busy; routine emails such as order confirmation should not be a problem. Newsletters and other such mass-mailing rates have to be low enough to not to interfere with routine emails. It's possible that you will need to use an external service to handle newsletters and other mass mailings. Newsletters and other "not necessary" communications (mass mailings) have to be explicitly "opt in", to avoid legal problems and accusations of spamming. Don't forget in every mailing to right at the top remind the reader that 1) they had signed up to receive the communication, and 2) how to easily unsubscribe (without reporting your store as a spammer). If your host (or other systems, such as Yahoo or Gmail) are flagging the content of any of your emails as spam, you will need to adjust the wording and contents to pass the spam tests. Certain words, certain phrases, an excessive number of links, etc. might have to be changed.
  5. 1 point

    TYOP - BS4

    To run a repo for your own version of osc you don't really need to get into much more than sourcetree and putting bitbucket in the mix is an unnecessary complication. Pretty much all the courses you'll find on the net assume that the repo is your system and not a fork that keeps your project variant so they're likely to confuse as much as help. Simply create a github account (if you want to keep a full copy of your system in their cloud and keep it private you'll need to subscribe but if you strip out your config files and anything obviously hacker-useful like that then you can use a free one). Create a fork of Gary's repo on github, then set up sourcetree and clone your fork. This gets a copy of the CE version into your sourcetree on windows. Find the point on his master that you've reached with your updates and create a branch for your project. Copy your code into this branch. This records it as a set of changes to Gary's "core". When you want to do some development on your system, create a branch of your project branch and do the work in there. When it's live and stable you can merge the dev branch back into your project. Never do any changes to master or merge anything into it or you'll lose the ability to use it to catch up with Gary's. Best way to learn is to try it out... There are some more detailed discussions on the forum but they typically get distracted - I know I've helped do that in the past 😉 Happy to talk you through it on here
  6. 1 point

    TYOP - BS4

    I use sourcetree ... once you've got it set up with your project you can merge in any further changes to master and just deal with any conflicts
  7. 1 point

    TYOP - BS4

    to what are you referring?
  8. 1 point
    Fantastic! Glad it's all working for you now
  9. 1 point

    Transactional email service

    I use gmail as a backup service but it is just a backup. You should not have issues with transactional email as they should orignate from your email server. Make sure you have white listed all your customer emails. Also check with your host to find out what if any restrictions they have on the free mail service included with your hosting packege. It could be you are exceeding the limits set? Good if it's due to high buissness, you may then have to look at upgrading your hosting plan to allow for high mail usage. The other thing you have to be carfull about is sending newsletters and promotional emails from your shared server these can get you into hot water! I would allways use a proper marketing mailer for things like that, mailchump or somthig like that. Also if your on a old hosting plan it may be worth looking at some of the new cloud based shared hosting plans.
  10. 1 point
    Auto Update Currencies V 1.0
  11. 1 point

    Optional Related Products, Version 4.0

    Hello @Rwe, ht_product_schema is a core module and can't therefor take in consideration the related products add. Schema tags are constantly updated. I'll have a look and try to address this for the next update. Anyway I would say it's not really very important. Thank's for the report anyway.
  12. 1 point
    Morning, So it sounds like you have two hosting environments? Each with their own separate .htaccess files? If the above is true then you'll need different rules in both those files (not the same rules), otherwise you'll cause a infinite redirect loop. If you have the 301 redirect in both files then that could be the cause of the internal server error. In your old site you only need the following: RewriteEngine On RewriteBase /catalog/ RewriteRule !^catalog/admin($|/) https://www.newdomain.com%{REQUEST_URI} [L,R=301] Because it's only purpose now is to redirect all the traffic to the new site (apart from /admin). Also if you're using RewriteBase /catalog/ then you may only need to have the last line as.. RewriteRule !^admin($|/) https://www.newdomain.com%{REQUEST_URI} [L,R=301] Because it's using the previous rule (RewriteBase) as a base/starting point for proceeding rules. So experiment with "catalog/admin" and then just "admin". Then in the new site you'd have this: RewriteEngine On RewriteBase /catalog/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} If that still doesn't work then please do as MrPhil suggested and post contents of both your .htaccess files and we'll soon get to the bottom of it.
  13. 1 point
    Sorry, you have to apply also these previous updates: https://github.com/gburton/Responsive-osCommerce/commit/737363f01b1135cc42f2ae90577da7e2520df72b https://github.com/gburton/Responsive-osCommerce/commit/0e7f0879e56ca68b363232efcdc8ba079fb03f8a https://github.com/gburton/Responsive-osCommerce/commit/003c59b91239de501ee5482cb903e95de696b5ee
  14. 1 point
    It has been included in EDGE at a later point after the FROZEN release. See: https://github.com/gburton/Responsive-osCommerce/commit/20dd3c7d643490d05e3efa5428aacaf4d11132c9
  15. 1 point

    Updated Stripe payment module

    Using that logic why does anyone use PayPal?? That said I am prepared to help if I can. I cannot give you access to my account dashboard but I could possibly give you Keys to do test transactions and, at a suitable time convenient for both of us, give you live feedback as to results. Here is the Stripe page with the coding changes, it is way above my paygrade. https://stripe.com/docs/payments/payment-methods The current code I believe uses tokens
  16. 1 point
    Fixer works only with EUR base currency. Pleasae see this post:
  17. 1 point

    how to manage heaps of images

    Many thanks @JcMagpie just copied yours and added my small changes back in to the file - all working
  18. 1 point

    Updated Stripe payment module

    @JcMagpie Been using them for ages now. Cheaper than paypal and as I found out one day great customer support. No complaints here. Just have to be patient and wait for your money, but that will change apparently when the new modules are used as the risk for the processor changes. Opencart module has been updated as have a few others so some can do it. Above my pay grade though. Code does look a nightmare though. Hoping @HPDL gets on to this as he is now back. Other payment modules may also need changing to comply, but who knows.
  19. 1 point

    how to manage heaps of images

    😊 Try this will do all images. Have as many subdir.. as you like , I based on this add-on. Working fine on CE Edge. file attached as allways backup first. http://forums.oscommerce.com/index.php?showtopic=347582 categories.php
  20. 1 point

    Sitewide Hooks

    came up with an idea, a page that checks you are running the latest version of a script e.g. lets say you got jquery 3.3.1 installed via the hook, it will compare what it says in the hook, to what is currently available. and tells you if you are up to date, or if you need to update that script e.g. cdnjs have got an api which returns results in json format - which i was able to do a very basic check against - but it is not going to be prefect, as they have only got up to font awesome 5.8.2 and not 5.9.0 as that would be easier looking at one place than having to look at multiple different places
  21. 1 point

    Auto set currency based on ip

    Alex, I modified and used this for years... 3 important points... Keep in mind - I'm not a coder... and have enough knowledge to be dangerous (I only reply because I have years of experience with this addon that should be taken into consideration that mostly has nothing to do with the code) 1) as @Jack_mcs pointed out the API is (I believe) is gone and wasn't very reliable when it was there which caused serious issues. I modified it to work with the Cloudflare which has a reliable IP country feature. If you happen to delivery your site on CF.... just replace the function with: $location = $_SERVER["HTTP_CF_IPCOUNTRY"]; 2) there is some missing logic (fail safe) - if the function (or cloudflare) doesn't return the country.... that causes the price (ALL prices) on whichever country to be 0.00. Easy to fix up if you have only 2 currencies as I do... more difficult if you are thinking more than 2. 3) MOST IMPORTANT... there are some serious SEO considerations which I tried to work around for years. Although Google has crawlers all over the world, predominately, they crawl with USA based bots in North America (think Canada and Mexico) - and if you deliver your content dynamically to the USA you will be crawled as the bots see it... as USA. This includes currency. If you are not in the USA this will cause (did for me) your structured meta tag for all google listings to display in US currency no matter where your customers are located (example: we are in Canada and all our Google search results in Canada displayed in USD while using this addon). Long story short, Google does NOT like dynamic pricing based on IP. I recently kill this addon and replaced it with a modal that delivers only to USA customers, asking if they would like to shop in USD. After this change my Google listings, within days, started to be re-crawled and displayed in my "home/default" currency. There were some other suprising results as well... example: bounce rate for USA customers dropped like a stone.... (with @burt permission I will share my modal... as it was his modal for another addon I used.... but you still need a API call that will work - again I used cloudflare)
  22. 1 point

    Product tabs/SEO issue?

    Yes, due to the recent changes in Google algorithms, tabbed content is now actively being indexed. This makes bootstraps tabs valuable assets for SEO.
  23. 1 point
    Can you show us the full .htaccess file on both sites, and which directory they're in? ***-out any sensitive information. You don't have anything on your new site redirecting back to the old site, do you? Your description of what is happening is very confusing. Is this happening on the old site or the new site? If it's on the new site, it should have nothing to do with the redirection from the old site. Are both sites on Apache servers, or did you change server types?
  24. 1 point
    so how did you put it down in htaccess that it throws the error ? I think it could be like this, but not 100% sure: RewriteEngine On RewriteBase /catalog/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} RewriteRule !^catalog/admin($|/) https://www.newdomain.com%{REQUEST_URI} [L,R=301] Rewrite ^(.*)$ https://www.newdomain.com/$1 [R=301,L]
  25. 1 point

    Forum Changes

    Harald, I have said it before, and I'll say it again: You cannot leave a product unattended for more than 12 months, or the ecommerce market declares it dead. You must have a major refresh or release at least annually, to stay in the public mind as a "current" product. The official product (currently is the one that "one button" installers will pick up. That's the one that all newcomers will be using. It must be kept current. It doesn't matter if @burt's dazzling BS4 responsive PHP 7.3-ready plutonium-powered incredible edible edition is "available" on the main page -- that's not the one installers will pick. It would be best to take Frozen + patches and rebrand it as osC 2.5 (since 2.4 is already taken), and make it the official release. At least that will buy some time for a newer edition to be developed. If your work isn't ready by early 2020, Gary's BS4 edition could be 2.5.1, buying another year's grace. It's a very bad habit to not keep the current release updated, on the expectation that your work will be ready (Gold) Any Day Now -- history has shown that never happens, and these things slip for years. It doesn't matter how wonderful whatever you're working on will be -- it may well be the greatest thing since sliced bread, but if it's been more than a year since the last update, it will be starting from scratch in the public marketplace. In fact, it's worse than that -- it will have to first dig itself out of the "osCommerce is dead, dead, dead" hole before it's even in the race. Please declare everything earlier than (official) to be immediate End of Life, and bar any further support discussion, except for how to migrate to the current version. and Gary's CE works should go EOL in a year or so. Let's clear the decks of all the ancient stuff, and get everyone to the new 2.5 (a.k.a. Frozen) and eventually to whatever you release. Yes, tools are needed to make migrations less painful. If this feels like a bucket of ice water poured over your head, it's meant to be. Time to wake up!