Magento email error:

CSS inlining fout: DOMXPath::query(): Invalid expression in selector >> 100% << in /var/www/html/vendor/pelago/emogrifier/src/Emogrifier.php on line 494

This is the error I’m getting no matter what…

I tried to update emogrifier with composer, did the cache etc.

It just doesn’t seem to help.. anybody knows the fix?

Thank you

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

How to remotely connect to magento thats hosted on xampp

Hey guys,

I’ve got a locally installed magento 2 site on my PC using xampp but i can’t figure out howto allow remote connections onto it.

Magento works fine on localhost (localhost/magento)

I can connect to my localhost remotely and I am able to see xampp landing page. (xxx.xxx.x.x)

But when i try to remotely connect to magento 2 i get a connection refused error. (xxx.xxx.x.x/magento)

What setting am i missing here? I’ve granted permissions from what i can tell.

Please help

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

Where to get Patches for m1.9?

Hello all,

I know magento 1.9 doesn’t get any security patches anymore. Is there any place to download and install them from another safe provider that works with m1.9? I know there is openmage, but I think that is specific to there version of magento.

Im planning on upgrading, but it will take a few months and in the mean time I just want my site to be secure.

Thanks in advance.

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

What’s the best product meta data extension for automating SEO among thousands of products?

I apologize if this is not an allowed post here.

We are using Magento 2.3.6 and have over 5000 active products.
We are currently on the hunt for the best automation option for product meta data. So far I have explored a few demos from Amasty, Mageworx, Etc but the demos are limited and im not sure they would work for us or not. If anybody has any experience with an extension of this type please share your knowledge below

Thank you!

submitted by /u/84thdev
[link] [comments]

Codes

Hi, I hope. you can help.. So I have an e-commerce business that I source my products from Amazon (I’m not an Amazon seller). I’m using Magento2.. Im looking for a way to add manufacturer barcodes or supplier codes or product code from Amazon onto my Magento listing so that when a product arrives, dispatch doesn’t have an issue recognising what the product is & who the customer is.. So my flow is I procure the product, its sent to UK warehouse, repacked into boxes & then sent to me.. At the moment Im facing an issue where products arrive & I have no way of knowing what it is but if I could scan the code it would match up with previous orders and then at least I can work from there

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

Do you change your products when selling in your store vs. selling on marketplaces?

Hi guys, I have a question for active online sellers who sell both in their online stores and on marketplaces: do you ever combine your products into variations for specific sales channels only? I mean, you may sell a product as a simple item in your store but create variations for the same product when you add it to the marketplace, or vice versa. I would be very interested to know if any of you guys is using this kind of strategy and whether it works. Thanks a lot, appreciate your answers!

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

Apple Pay through Braintree issue (Magento)

Hello,
We are trying to implement Apple Pay on our Magento (2.3.3) commerce. We have configured Braintree payment gateway and Apple side, we have a confirmation from Braintree that everything is set up correctly. Although when trying to make test payment we receive an error saying:

We’re unable to take payments through Apple Pay at the moment. Please try an alternative payment method.

Maybe someone had similar experience and knows how we could solve it?

submitted by /u/g-nenart
[link] [comments]

CSS and JS files not loading on admin dashboard

For some reason, CSS and JS files are not loading anymore only on the admin dashboard.

Recently I used mkdir as a root user (sudo su) inside the pub/media/tmp folder, to store some files generated by a plugin that I’m working on. I tried the following command to recreate permissions but no success:

find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && sudo find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + && sudo chown -R nginx:nginx . && sudo chmod u+x bin/magento

nginx is the user I’m using on it.

What can I do?

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

Is it possible to add ‘custom_attributes’ to orders RestAPI?

Hi /r/magento,

I was wondering if it’s possible to add ‘custom_attributes’ to an API response, especially to the orders api. All I can find are tutorials on how to add a custom attribute to ‘extension_attributes’ but unfortunately I need it as ‘custom_attributes’. Reference: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/attributes.html#ext-aut

{ "sku": "tshirt1", "price": "20.00", "description": "New JSmith design", "extension_attributes": { "logo size": "small" }, "custom_attributes": { "artist": "James Smith" } } 

What I’m trying to achivie is, to expose a field from the table ‘sales_order’ as a custom attribute in ‘custom_attributes’ in the orders API.

Is there any way to do this? Thanks a lot.

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