Help – Editing E-Mail Templates

I’ve got to add a variable, that’s stored in the customer (well, technically it’s in an EAV, but that points at the Customer), and I’d like to add that to my New Order Email. How do I do that? My biggest problem is, I don’t know what variables are available in the Email Templates. Sure, there’s the popup that should tell me what I’ve got to work with, but then I look at the template and I see a order_data Variable that I can’t see anywhere in the popup. So, any help on this is greatly appreciated.

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

What are some good resources for understanding admin side coding and UiComponents?

I have a fair bit of experience developing in Magento 2 frontend and have intermediate level of understanding of how the whole framework works on backend with Product, Sales orders, checkout etc.

But for the life of me, I have never got into admin side coding with ui components. Every time I have to develop a menu or something on the admin side I find myself following guides with very limited knowledge. The issue is that the same thing can be done in multiple ways.

I check one module for reference where they have used Blocks to add columns and template files and in another they use Ui Components which gets a bit confusing.

I have tried reading their official documentation as well but it does not provide enough information as to what I should follow or what the the tags in the XML actually do and how they are mapped.

Can someone please point me in the right direction as to where I can learn about ui components and admin side coding properly following best practices?

Thanks!

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

Matching orders with customers – 2.4

So I’m running two. Four. I was wondering if there is a module or way so that when I am checking in order, I can immediately see other orders that this customer has placed such as add on accessories later on? I asked because the credit card is feuds because often if there’s more than one charge, the customer will dispute both and it would be great if I could just immediately spot a pattern and take care of that. I didn’t know if something like this was built into the cart or if there was a way that these details could be matched up?

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

_extend.less not working

I created a _extend.less under the following directory

web–>css–>source–>_extend.less

and added a simple .full-width{width:100%} then went to a phtml file and added the full-width class to an h1 element but itš not working. I see in dev tools that the h1 element has the class but no styling is associated to it.

For info i am in a custom theme that extends luma theme

submitted by /u/Spiritual-warrior
[link] [comments]

how to make the first product card in related product section have the hover effect by default

I have a requirement to do this I thought I just check what class is being added when products are hovered and add it by default to first child but I can’t seem to find what js code is adding the class can someone help?

It probably should be in the catalog module since the related product section is added from there

submitted by /u/Spiritual-warrior
[link] [comments]

How do I change the default filter?

I have some products that have the similar names, but are different types of products.

For example, protein powders and protein pills. If I have products named

“Protein-One-Powder” “Protein-Two-Powder” “Protein-One-Pill” “Protein-Two-Pill”

It displays:

Protein-One-Powder, Protein-One-Pill, Protein-Two-Powder, Protein-Two-Pill

But I’d like it to be:

Protein-One-Pill, Protein-Two-Pill, Protein-One-Powder, Protein-Two-Powder

The default grid on the product page shows the powders and pills intermingled because the filter is set to alphabetically sort. I would like to find a way to sort product based on type, so powders come first, then pills.

Any help would be greatly appreciated, even if it’s a module suggestion.

Thank you so much in advance.

submitted by /u/Mr-Bitter
[link] [comments]

2.4.3-p1 to 2.4.4 Experiences

In the spirit of the post trying to make tbis a more useful sub. I thought talking about our upgrade experiences may be helpful as we’ve all just got our hands on 2.4.4.

So my experience so far:

I’ve just tried to update a 2.4.3-p1 install to 2.4.4 so I could check compatibility with it and php 8.1 for my marketplace modules. I’ve got lots of websites to upgrade for the day job in the next few months anyway.

Went about it in the usual way update the version constraint in composer.json and composer update.

That didn’t work… an error during setup:upgrade.

So it turns out theres a new pre-request and it has to be done before the switch to 8.1.

The magento/composer-root-update-plugin needs an update. As the first step. Then you update magento with a custom command. composer require-commerce magento/product-community-edition 2.4.4 --no-update then you can update as normal.

With a few failed attempts I’ve decided to leave it until the morning now.

None of this information or a link to it made it into the release notes though.

How have the updates or attempt at one gone for others?

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

Consultant/Dev Recommendations

Hey guys,

I’m two months in to my Magento learning journey and have a come long way, but I’m faced with some challenges where I want some more experienced help.

I’m using Adobe Commerce on 2.4.2 and have an Alotheme. One of my big issues right now is that the UX on the store needs some help, it appears page caching was disabled by the previous devs and I want to go through and optimize what I have to at least improve the stability of the experience.

I’m looking at using a different layout of Alotheme (will use “Default” Digitalstore rather than Digitalstore 5) and I’m concerned that I’m going to need someone who is very familiar with Magento2 themes and a good front-end dev.

Aside from that, this is self-hosted, I’ve spent a lot of time optimizing the installing- setting up opcache, optimizing nginx, etc., but could use a second set of eyes to help identify areas where optimization could lead to better TTFB or page loads in general.

Would appreciate any recommendations for good developers who could, at the vest least, help get the HTML/CSS/UX in a better spot than it is today. I know there are many reputable agencies in the U.S. and around the world I could go to, and I might explore that. For now, I am interested in developing a one-to-one relationship with a strong dev/architect type. I’m in the US, but I’m open to working with people anywhere in the world.

Thanks!

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

Help – Editing Email Templates

I’ve got to add a variable, that’s stored in the customer (well, technically it’s in an EAV, but that points at the Customer), and I’d like to add that to my New Order Email. How do I do that? My biggest problem is, I don’t know what variables are available in the Email Templates. Sure, there’s the popup that should tell me what I’ve got to work with, but then I look at the template and I see a order_data Variable that I can’t see anywhere in the popup. So, any help on this is greatly appreciated.

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