Site have http request error when routed behind Nginx proxy

Magento site content does not load properly when routed behind an Nginx proxy. In the browser console I see a lot of messages for http requests for stylesheets.

For example:

Mixed Content: The page at ‘https://web.MYDOMAIN.com/‘ was loaded over HTTPS, but requested an insecure stylesheet ‘http://web.MYDOMAIN.com/pub/static/frontend/Local/mytheme/en_US/css/local.css‘. This request has been blocked; the content must be served over HTTPS.

Also:

Mixed Content: The page at ‘https://web.MYDOMAIN.com/‘ was loaded over a secure connection, but contains a form that targets an insecure endpoint ‘http://web.MYDOMAIN.com/checkout/cart/add/uenc/aHR0cDovL3dlYi51YndlYnNpdGUuY29tL2Jyb2NrMjAyMC8%2C/product/2417/‘. This endpoint should be made available over a secure connection.

However, if I bypass Nginx and route directly to the backend server, the site loads fine.

I am assuming something in Magento is making it use http instead of https for some requests.

How should I go about fixing this?

submitted by /u/davidbarman
[link] [comments]

Magento 1.9 to WordPress/WooCommerce

Our company runs on Magento 1.9. I’m pretty tech-savvy but the moment I tried to understand Magento Admin Panel – I immediately started waving a white flag. We have pretty decent SEO rankings in all of our product categories. I find WordPress/WooCommerce much easier to use/maintain given its GUI.

Our website is used primarily as a “product catalog” given the industrial nature of our products. We do zero online commerce. Every product page has the specs/features of the product and a “Call for Quote” button. Is it advisable to migrate to WordPress? If so, is it possible to do it without impacting the SEO rankings? What else should I think about before I go down this route? Really appreciate the help!

submitted by /u/netfuturevalue
[link] [comments]

Override theme

I have a primary theme I am using. I need a custom page that I only need the page breadcrumbs and the content that is normally displayed in the product information tab.

The product is of type grouped. I have tried to create a new grouped.phtml file but not having any luck. I have also enable the template path hints. Perhaps my issue is that I need a new layout file instead of a new phtml file?

Any help would be appreciated.

submitted by /u/davidbarman
[link] [comments]

Current State of Headless Magento

I have been out of Magento for the past year or so; what’s the current state of headless Magento? I currently have a pretty vanilla Magento 2.4.6 site, but I’d like to spice up the front end and do a rework for my customers at some point. I’ve been playing around with NextJS for a pet project, and like the developer experience with it. Are there any mature projects in this space I could use as a starting point for my store? I don’t have many customizations right now.

submitted by /u/JaredTheGreat
[link] [comments]

What do you think of this app?

I’m creating an app for e-commerce platforms that automatically updates products, descriptions, and builds content for your cms related to your products to increase keyword rankings on your sight and boost seo. That way you don’t need to pay $5k a month for some seo guy to make a few edits on your page and drain your money.

I’m working with a few ML/ AI engineers to build this out. I’m interested to know if you all would actually want to use an app like this? Or any feedback you might have on the idea.

submitted by /u/AdJolly275
[link] [comments]

Unleashing the Power of Magento Development Services for E-Commerce Success

Do you want to improve your online store? Magento development services can help! Magento is a popular tool for e-commerce. It can make your store look great and work well.

Why Choose Magento for Your E-Commerce Store?

Magento is a good choice for many reasons:

  1. You can customize it to fit your needs.

  2. It works well for small and big businesses.

  3. It has lots of useful features built in.

  4. Many people use it and can help you.

How Magento Development Services Can Help Your Business?

Working with Magento experts can help you use all of Magento’s power. They can make your store:

  1. Look unique and work well.

  2. Add new features to your store.

  3. Fast and easy to use.

  4. Magento migration and upgradation

Choosing the Right Magento Development Service Provider

When choosing someone to help you with Magento, think about:

  1. How much do they know about Magento?

  2. How well they talk and work with you.

  3. If they will help you after the store is built.

Conclusion

Using Magento development services can be a big help for your online store. With expert Magento development services, you can make a store that looks stunning and performs well.

Don’t miss out on this chance to make your business better with Magento!

submitted by /u/ignitivllc
[link] [comments]

Why Does My Magento Site Have Random Issues?

I work for a company and the website is on Magento2. I am not a website developer at all so my explanation of the issues and my theories have no technical basis. We have 2 shopping carts and a lot of extensions.

  1. We can not get things like Apple Pay to work…our Apple pay is linked to something called Braintree and our developers can’t get past the test stage with Apple pay or something.
  2. We have a 1 step checkout extension and some people say that they type in their correct credit card or address and it changes somehow to an old card or address. I ask the client if they have auto fill and they say no.
  3. The website simply does not load for some people.
  4. I set up discounts on certain items and the discounts don’t work for some people
  5. Add to cart button gives us a popup preview of the product…it does Add to cart, but then there is another option to add to cart or continue shopping in the pop up which seems confusing.
  6. Our Instagram feed on the footer keeps disappearing
  7. its difficult to update things like our spa locator, also an extension, or it just doesn’t load.

We have had so many changes made to the website to try to make it look better. In my mind, it’s like a painting that keeps getting painted over, which leads to these issues perhaps…but I have been told that it is not how it works. Any insight would be appreciated!

submitted by /u/CM11182020
[link] [comments]

Magento and cloudflare issues

Does anyone here have experience setting up magento to use cloudflare?

I have a lot of issues with bots, sql injection attempts etc.

I followed cloudflares instructions and caching is working but add to cart does not work, I assume because cloudflare is caching a dynamic element required for the cart to function.

Has anyone run into this before?

submitted by /u/nitro535
[link] [comments]

Amasty Extensions

I have an account (amasty) with 26 licensed extensions worth $5,600 and another $1,000 of credit for new plugins. This account was used for a client that is no longer in business. I have no use for the plugins or the credits. I am open to offers, PM if interested. A list of plugins is available to download below.

Abandoned Cart Email for Magento 2 Community 1.16.0

App for Payments with Stripe for Magento 2 Community 3.0.15

Blog Pro for Magento 2 Community 2.13.0

Cross-Sell / Upsell Products for Magento 2 Community 2.18.0

Customer Segmentation for Magento 2 Community 1.2.4

Delete Order for Magento 2 Community 1.1.17

Delivery Date for Magento 2 Community 1.6.24

Dimensional Shipping Weight for Magento 2 Community 1.11.3

Elastic Search for Magento 2 Community 2.0.1

Follow Up Email for Magento 2 Community 1.4.7

GDPR Pro for Magento 2 Community 2.11.0

Google Page Speed Optimizer Pro for Magento 2 Community 3.2.0

Improved Layered Navigation for Magento 2 Community 3.0.0

Infinite Scroll for Magento 2 Community 1.5.1

Landing Pages for Magento 2 Community 1.8.17

Login as Customer for Magento 2 Community 1.1.4

Multiple Coupons for Magento 2 Community 2.1.1

Product Feed for Magento 2 Community 2.9.0

Product Labels for Magento 2 Community 2.3.7

Promo Banners for Magento 2 Community 1.14.0

SEO URL Rewrite for Magento 2 Community 1.1.0

Shipping Rules for Magento 2 Community 2.9.1

Shipping Table Rates for Magento 2 Community 1.11.3

Social Login for Magento 2 Community 1.11.2

Special Occasion Coupons for Magento 2 Community 1.0.8

Special Promotions Pro for Magento 2 Community 2.13.0

submitted by /u/wm007-1
[link] [comments]

Accessing session related data while using full page caching (e.g. getting current user wishlist items)

Hi All,

I’m just wondering if anyone else has ran into headaches related to full page caching for seemingly trivial coding. One example would be, in a custom theme, code to check to see if an item in a listing is in a user’s wishlist. If so, perhaps change the icon/color, etc. Or perhaps adding some simple ajax functionality to add an item quickly to a wishlist. I know there are many plugins, some free, that do such things, but they don’t seem to work (or work well) with full page caching enabled, using Varnish, or some other. The issue appears to be with accessing any user session related data in a way that doesn’t break caching.

There are some dribbles of resources out there, on Stackoverflow etc., that allude to various ways to deal with this, but I haven’t been able to really put something together that works well, without going down several other rabbit-holes. Is there some very simplistic solution to this that someone could point me towards?

Much appreciated, as always.

submitted by /u/test00test00
[link] [comments]

Syncing products between two stores

We run 2 Magento stores, one for retail and one for trade. We wanted to run the trade site as a seperate storeview but the inventory settings are global which prevents this in our case as trade customers can order more than we have in stock with a leadtime, whereas retail customers can only buy what is on our shelves.

We tried manually adding products twice but when we’re busy things get out of sync. I considered trying a Zapier integration to add products automatically but as we changed the /admin url this doesn’t work. We also tried periodically doing an inventory export/import but Magento doesn’t seem to like it.

Any other ideas?

submitted by /u/Ok-Detective-8344
[link] [comments]

Upgrade Magento migrate from Elasticsearch to Opensearch

Hello, good day:

I upgraded my Magento installation from 2.4.2-p2 to 2.4.6-p3, i uninstalled elasticsearch in a kubernete of testing and replace for opensearch, all works fine aparently

I don’t understand at all how works elastic/open search so: I need to transfer any data from elastic to open search? If yes how?

After opensearch installation I ran the command:

php bin/magento indexer:reindex 

Aparently all it’s ok, no data is missing but I don’t made a backup from elastic to open search and i don’t want to lose any data.

Thank you in advance

submitted by /u/elhui2
[link] [comments]