New to Magento- question about shopping carts and sub-domains

Hi folks, thanks in advance for anything you can share here. I have a question from our marketing team about what’s possible with Magento. Before I start my Googling journey to answer this, I thought I’d check in here to see if anyone has insight.

We have a single Magento instance under a single domain name to facilitate a unified shopping cart. While we two have multiple brands, you can add a product from brand A and a different product from brand B into your cart for a unified experience. Our marketing team is having an issue with this because they can’t get the SEO targeting for each brand that they’d like. So, the question is can you run multiple domains on top of a single Magento instance (for the SEO, so I imagine there would be dynamic SEO fields in the page depending on brand hostname/domain) but still have a unified shopping cart?

Thanks!

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

Anyone got any experience of working with Yopto in Magento 2?

We’re considering taking Yopto for a spin which largely seems built-in and integrated with Magento (2.4.x) but I’ve never come worked with a business that has used them before and can’t seem to find anyone that has got experience with them.

I was wondering if there is anyone here that has got experience of utilizing Yopto for reviews and ratings in Magento 2 and can offer any thoughts on whether it is painless or problematic (or anything else of relevance).

Our client was going to set up fully in Trust Pilot but it looks like Yopto offers a few features that would be of use to this particular client including cart abandonment and customer loyalty as well as the reviews/ratings management, automated emailing and onsite widget – hopefully which would all be marked up appropriately with review Schema etc.

I mean, it might be my naivety, but I like to think official integrations into the Magento core should run a lot more smoothly that third party integrating or custom solutions.

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

Contact form at /contact/ <— how to use or move on from?

I notice that the contact form at Magento is listed as /contact/. I created a page called /support.html and it explains this is our hours, this is how you can contact us, etc. Then it goes if you want to email us, go here, and it goes to /contact/. I can add a cms block to the /contact/ page and I can add some nice text like, “fill out the form below to message us, blah blah blah” but the problem is, that /contact/ url has weak SEO. I was able to change TITLE to Contact Us but there is no meta description, it just uses the generic meta description for all pages with no meta description.

I guess I find this /contact/ page useless since I should just have the form on /support.html. I guess magento does not support this? Are there third party modules that will create unique contract forms and let me place them on any page, any block, as widgets? I would like to create unique forms depending on the situation like, “suggest a product, “submit a return”, “get help” and use the forms in different ways.

For now I’m just looking for what to do with /contact/. Do most people just make /contact/ their default support page or do they have two pages?

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

I would like to hear some feedback about Hyva Theme.

It’s seem about 1 year after official release. I would like to hear some insight view about Hyva. And I also have some questions:

Is it worth to replace Luma development approach(~1000EUR)? Let me get into more detail:

  1. What do we gain?
    1. yeah, only one css file, js file load on FE page(lighter than Magento).
    2. As I know Hyva come with modern tech stacks. But how easy to move to TailwindCSS and alpineJs? does they document it in detail or just similar with the way Magento made their devdocs? How about their support, SLA?
    3. Hyva is still struggling with checkout page? On demo site: Luma checkout and React checkout. Why we don’t have checkout with TailwindCSS and alpineJs or is it in their roadmap?
    4. Speed: what is faster here? demo site, PDP and PDP page load is not faster than Luma. Not sure in demo site they have redis configured or not. If yes, it’s worst.
    5. Google Page Speed Insight: I remember I compare with Luma 2.4.x before. Luma’s score is a bit higher then Hyva demo. Not sure now.
    6. Reducing complexity: I don’t know how much about this.
  2. What are challenges?
    1. Adapting new stacks as above.
    2. 3rd party extension out there. I saw some Extension providers are converting their product to make it work with Hyva. But how many of them now?

Thank for reading and forgive me about my bad English.

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

Forcing the stock status to in stock when not managing inventory

If we don’t want to manage inventory in Magento (2.4), then by default all products will show in the frontend but their default stock status is out of stock.

Is there a best practice way of ensuring that product stock statuses are in stock instead of out of stock (which I know is because quantity is zero but we don’t want to manage inventory).

The reason we want better control over this is so that all products are not sent to Google Shopping as out of stock.

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

How do I dependency inject my “save product button”?

I’m creating an observer and I’m trying to connect it to saving a new product. If the product is new I’m trying to run a code, if not – skip.

Made an observer before save in creating a new product and after that I want to run the same code as shared catalog -> shared catalogs -> default -> set pricing and structure -> and just save without changing anything.

TLDR; I want the same effect as I hit save button on a new product and save button on shared catalogs.

This is my code:

<?php namespace CompanyNewProductReindexerObserver; use MagentoFrameworkEventObserver; use MagentoFrameworkEventObserverInterface; class NewProductObserver implements ObserverInterface { private $save; public function __construct(Save $save) { $this->save = $save; } public function saveFunction() { $this->save->execute(); } public function execute(Observer $observer) { $product = $observer->getProduct(); //$sku = $product->getSku(); $isProductNew = $product->isObjectNew(); if ($isProductNew == true) { $this->saveFunction(); } else { return; } } } 

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

How to create observer that starts another button?

I have two buttons. Button create new product on products page and I want to connect it with button i shared catalogs. Every time I make a new product I have to go to shared catalogs page, enter default category and just save it without changing anything so product appears on website.

I want to create an observer that says “after you press create new button, go to shared catalogs and press edit”.

Anyone knows what would be the best way to do it?

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

Keep failing upgrade from 2.3.2-p1 to 2.4.3-p1 –need help!!

I’ve been working with Adobe support on this but I figured it was worth asking around here to see if anyone has run into this before. I’m trying to upgrade our cloud instance of Magento 2.3.2 to 2.4.3 and I keep running into the following error which causes the build to fail.

[2022-01-11 20:28:41] NOTICE: End of reconciling modules. [2022-01-11 20:28:41] INFO: File "front-static.php" was copied [2022-01-11 20:28:41] INFO: Configuring directory nesting level for saving error reports [2022-01-11 20:28:41] NOTICE: The file /app/pub/errors/local.xml with the `config.report.dir_nesting_level` property: `1` was created. [2022-01-11 20:28:41] INFO: Sample data media was not found. Skipping. [2022-01-11 20:28:41] NOTICE: Running DI compilation [2022-01-11 20:30:23] ERROR: [15] The command "php ./bin/magento setup:di:compile --ansi --no-interaction" failed. %message% 0/9 [>--------------------Interception cache generation... 6/9 [=========>----] 66% 1 min 538.5 MiBB0 MiB In Log.php line 92: Error during compilation setup:di:compile W: W: In Processor.php line 129: W: W: The command "php ./bin/magento setup:di:compile --ansi --no-interaction" fa W: iled. %message% 0/9 [>---------------------------] 0% < 1 sec 9 Proxies code generation... 0/9 [>-------------------- Proxies code generation... 1/9 [= 0 MiB Repositories code -----------------] 11% < 1 sec 97.0 MiB : 2mRepositories code generation... 2/9 [====>---------------] 22% 8 se Service data attributes generation... 2/9 [===>- Service data attributes generatio 294.0 MiB Application c .. 3/9 [====>---------] 33% 9 secs 296.0 MiB A W: ode generator... 3/9 [====>---------] 33% 9 secs 296.0 MiB W: pplication code generator... 4/9 [======>-------] 44% 19 secs 320.0 M Interceptors generation... 4/9 [======>-------] 44% 19 se Interceptors generation... 5/9 [=======>------] Area configuration aggregation... 5/9 [= Area configuration aggregation 1 min 394.5 MiB Interception ca 6/9 [=========>----] 66% 1 min 538.5 MiB W: che generation... 6/9 [=========>----] 66% 1 min 538.5 MiB W: In Log.php line 92: W: W: Error during compilation W: W: W: setup:di:compile W: W: W: In CompileDi.php line 73: W: W: The command "php ./bin/magento setup:di:compile --ansi --no-interaction" fa W: iled. %message% 0/9 [>---------------------------] 0% < 1 sec 9 Proxies code generation... 0/9 [>-------------------- Proxies code generation... 1/9 [= 0 MiB Repositories code -----------------] 11% < 1 sec 97.0 MiB : 2mRepositories code generation... 2/9 [====>---------------] 22% 8 se Service data attributes generation... 2/9 [===>- Service data attributes generatio 294.0 MiB Application c .. 3/9 [====>---------] 33% 9 secs 296.0 MiB A W: ode generator... 3/9 [====>---------] 33% 9 secs 296.0 MiB W: pplication code generator... 4/9 [======>-------] 44% 19 secs 320.0 M Interceptors generation... 4/9 [======>-------] 44% 19 se Interceptors generation... 5/9 [=======>------] Area configuration aggregation... 5/9 [= Area configuration aggregation 1 min 394.5 MiB Interception ca 6/9 [=========>----] 66% 1 min 538.5 MiB W: che generation... 6/9 [=========>----] 66% 1 min 538.5 MiB W: In Log.php line 92: W: W: Error during compilation W: W: W: setup:di:compile W: W: W: In Shell.php line 86: W: W: The command "php ./bin/magento setup:di:compile --ansi --no-interaction" fa W: iled. %message% 0/9 [>---------------------------] 0% < 1 sec 9 Proxies code generation... 0/9 [>-------------------- Proxies code generation... 1/9 [= 0 MiB Repositories code -----------------] 11% < 1 sec 97.0 MiB : 2mRepositories code generation... 2/9 [====>---------------] 22% 8 se Service data attributes generation... 2/9 [===>- Service data attributes generatio 294.0 MiB Application c .. 3/9 [====>---------] 33% 9 secs 296.0 MiB A W: ode generator... 3/9 [====>---------] 33% 9 secs 296.0 MiB W: pplication code generator... 4/9 [======>-------] 44% 19 secs 320.0 M Interceptors generation... 4/9 [======>-------] 44% 19 se Interceptors generation... 5/9 [=======>------] Area configuration aggregation... 5/9 [= Area configuration aggregation 1 min 394.5 MiB Interception ca 6/9 [=========>----] 66% 1 min 538.5 MiB W: che generation... 6/9 [=========>----] 66% 1 min 538.5 MiB W: In Log.php line 92: W: W: Error during compilation W: W: W: setup:di:compile W: W: W: build:generate W: E: Error building project: Step failed with status code 15. E: Error: Unable to build application, aborting. 

I’ve been working on this for the past 2 weeks and this is the farthest I’ve been able to get. Googling the error codes is not pulling up anything that relates to this and I’m lost on where to look for answers.

“help me obi-wan kanobi, you’re my only hope”

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

Magento 2 Checkouts

The default Magento 2 checkout is really poor IMO. And almost every client we speak to does not like it and the logic of it. I’ve looked at loads of extensions over the years which all seem to be the same old one page checkout.

Can anyone share any Magento 2 websites which is clean, user-friendly and easy to use? I’d be keen to explore any for ideas more than anything else at this stage. TIA

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