Recommendations or experience with small scale B2B.

I’m using m2 open source to build a small scale B2B site. It’s not B2B in the sense of wholesaling, more so just the products are industrial, the customers generally buy the case and some customers get better pricing based on overall volume. I need some of the features of B2B extension but don’t have anywhere near the budget for m2 commerce (or need the scale/power).

Generally what I need is group catalog so different customers can be grouped and have pricing based on their group. I’d also like to be able to have some products just for some groups. Ideally company accounts and approvals would be nice too. Some of the functions like requiring login were easy enough to find open source and work well.

I’ve found a few B2B extensions via google. Amasty, BSS, Mageplaza and others seem to offer them and I don’t mind spending money on something good, but does anyone have real world experience with any of the B2B modules they can specifically recommend or just any experience in general for small scale B2B they could share.

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

Magento 1.9 issue

Hi there, I am facing an issue with my magento website. With this website – the one-page-checkout works upto selection of payment method and then redirects to cart again. No order gets completed. We have checked all backend settings. After that, via FTP we reinstalled many of the original files. Still no success. This problem might be because of a patch, but we cannot say for sure. I have looked at other forums but no help. Kindly do help me out if you have faced this issue or know about it.

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

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]