Multiple email addresses associated with an order

Is there a way to associate and contact multiple email addresses with an order in Magento?

With the products we sell, we often get requests to email both the customer (residential homeowner) and their contractor (or interior designer) with their order updates.

The workarounds we have for this are tracking it in our ticketing system, and things inevitably slip through the cracks and get missed.

Extensions out there to address this?

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

Add shipping tracking number to email template

I’ve been trying to Google this problem looking for advice and I’m not getting anywhere. So on an email template I wanted to echo or display the FedEx tracking number. When I ship an order and I go to shipments I have to paste the tracking number. The customer is sent an email which has displays the shipping information on it including the carrier and the tracking number and a link back to the website with more details. Still on the top of the actual email I wanted to say or clearly state “your package has shipped and the tracking number is XYZ”. I didn’t know if there was a variable or any way to display this information on the email template?

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

Magento 2 + Alpline.js but Without Hyva Theme – Anyone Using Instead of Knockout / UiComponents?

Hi,

Maybe this is Magento 2 heresy 😛 but thought I’d ask. I am going to develop some new frontend javascript stuff and wanted to tryout just loading alpine.js but has anyone tried just using it instead of knockout? How did it go?

I don’t have the budget to just buy the Hyva theme to see all the stuff about how they handle it. But a couple big points come to mind if you have used it:

How would the translations work (multi-language type sites)? In knockout Magento added stuff like

data-bind="i18n: 'My label'" 

How would that work in alpline.js?

The other thing is loading the data from php to alpline.js any tips there?

Either way I’ll jump in and give it a shot as if this method works I’d really prefer it. JS in Magento 2 is the stuff of nightmares.

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

Category tree for left sidebar

Hi, I’m trying to build a category tree for the left sidebar. Therefore my plan was to always get the current category id:

 public function getCurrentCategoryId() { return $this->layerResolver->get()->getCurrentCategory()->getId(); } 

And get the current categoryId passed in to the category factory to get the corresponding children.

 public function getChildCategories($categoryId) { $category = $this->categoryFactory->create(); $categoryCollection = $category->load($categoryId); //Get category collection return $categoryCollection->getCollection() ->addNavigationMaxDepthFilter() ->addUrlRewriteToResult() ->addIsActiveFilter() ->addAttributeToFilter('include_in_menu', 1) ->addAttributeToSelect('*') ->setOrder('position', 'ASC') ->addIdFilter($categoryCollection->getChildren()); } 

In the .phtml, I simply loop through:

<?php $currentCategoryId = $this->getCurrentCategoryId(); $categories = $this->getChildCategories($currentCategoryId); ?> <?php foreach ($categories as $category): ?> <div class=""> <a href="<?= $block->escapeUrl($category->getUrl()) ?>" class=""><span><?= $block->escapeHtml(__($category->getName())) ?></span> </a> </div> <?php endforeach; ?> 

This is working. However, I’m quite not there, because on the last level I want to show all categories of the last level.

Example of structure:

-category level 0 -category level 1 -category level 1 -category level 2 -category level 2 

At the moment it’s like this:

Click on category level 0 in topmenu -> it will show all category level 1 in sidebar: That’s good

Click on category level 1 in sidebar -> it will show all category level 2 in sidebar: That’s good

Click on category level 2 in sidebar -> it will show nothing anymore in sidebar: That’s bad, because here I want to show all level 2 categories so that users can switch between these categories of the last level.

Maybe my approach is wrong but since I’m almost there, I don’t think I’m on the complete wrong path, am I? Just need to fix this last issue.

Any help would be appreciated. Thanks

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

Somewhat Magento related

What percentage of annual revenue do you generally see committed to development in terms of £ / $ / €? Both for support and for feature development?

The reason I consider it more of a Magento question than a generic ecommerce question, is SFCC dev for example is more expensive, Shopify ones cheaper. So how much do you typically see get allocated to dev?

I appreciate it’s a weird question, and likely a £10mil turnover site with an AOV of £1 will require more dev and support than a £10mil turnover site with an AOV of £500, but what is the rough benchmark?

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

I created an extension for filtering “in stock” products

As the normal stock attribute doesnt seem to work with the default magento2 filter, I created an extension. It iterates over all simple products with a configurable cronjob and sets a newly created “filter_stock” attribute according to the stock-status of the product. Maybe there is some use for it:
https://github.com/nordcomputer/magento2-stockfilter

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

Magento 1 Users, Check Out OpenMage – 20k live sites!

Hey guys,

for anyone still using Magento 1, OpenMage is a great option to migrate to.

There are around 19500 live sites using OpenMage.

The community is very active and would love your input, thoughts and contributions. Check out the

There are continual bug fixes and improvements to the platform. If you have ever thought “man I wish M1 did this” or something similar, then now is your chance to get involved and make it happen.

Migrating to OpenMage 19.4.14 (code here https://github.com/OpenMage/magento-lts/releases/tag/v19.4.14) can be a fairly painless process. This is the simplest and easiest way to move to OpenMage.

Any questions just drop them below 🙂

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