Subfolder in Magento 2 root folder?

Hi /r/magento, I wonder if it’s possible to have a subfolder in the M2 root folder which is a custom and independent page (index.html). Whenever I create something like this, Magento will throw an 404 Error. I guess it’s looking for a Magento controller (www.mysite.com/mycustomfolder/index.html).

Is there a way to tell Magento that this is an independent page which has nothing to do with the Magento installation? Unfortunately I need this page in this place because many customers have bookmarked this path. It’s just an info page but it worked fine with M1.

Thanks

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

Proper way to get $block->getChildHtml inside the custom phtml file

I want to add default wishlist sidebar section into my Magento_Theme template,

Layout xml file file:

 <referenceBlock name="header.panel"> <block class="MagentoFrameworkViewElementTemplate" name="mylocation.block" template="Magento_Theme::location_link.phtml" after="-"> <!-- Wishlist sidebar section --> <block class="MagentoWishlistBlockCustomerSidebar" name="wishlist_sidebar" as="wishlist" template="Magento_Wishlist::sidebar.phtml"/> </block> </referenceBlock> 

FYI : The following code coming from core vendormagentomodule-wishlistviewfrontendtemplatessidebar.phtml

 <!-- Wishlist sidebar section --> <block class="MagentoWishlistBlockCustomerSidebar" name="wishlist_sidebar" as="wishlist" template="Magento_Wishlist::sidebar.phtml"/> 

After added in layout xml file and getting this block using getChildHtml in appdesighfrontendZeromy_themeMagento_Themetemplateslocation_link.phtml

<?php echo $block->getChildHtml('wishlist');?> 

Not working, any help thanks.

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

Research on chatbots for eCommerce – Request

I’m leading the SOM research team at the Open University of Catalonia (Spain).

As part of our research around chatbots and conversational user interfaces, we want to study the main reasons why companies are not using (more) chatbots as part of their eCommerce strategy. In particular, we want to understand what is stopping them from trying (or succeeding, if they tried and failed as the chatbot tools or the chatbot creation process or results were disappointing).

If you can give us 15-20 minutes of your time to answer a few questions we would really appreciate it. And if you cannot, but know somebody that could, can you make an introduction?

Just let me know and we’ll get it organized! Thanks!

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

Proper way to use block into my custom phtml file?

I want to show my wishlist sidebar section into my custom phtml file

What is the proper way to achieve this,

<referenceContainer name="sidebar.additional"> <block class="MagentoWishlistBlockCustomerSidebar" name="wishlist_sidebar_c" as="wishlistc" template="Magento_Wishlist::sidebar.phtml"/> </referenceContainer> 

path: vendormagentomodule-wishlistviewfrontendtemplatessidebar.phtml
Block : MagentoMultipleWishlistBlockCustomerSidebarInterceptor

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

How much am I worth?

I know this question is extremely subjective, I just really don’t have anyone I can go to for this kind of advice. I’ve been working a Magento 2 job for about a year now, and worked with M1 for 3 years prior. I don’t have any of the certifications though. I keep going back and forth if it’s worth it to get them.

I mainly do backend work, but I can figure out the Knockout JS stuff given the time. Haven’t really needed to dive too deep into frontend since we have separate devs for that area. Without seeing my work I know it’s pretty hard to say, but what salary range should I be looking for with these qualifications? As I said I do currently have a job, I’m really just curious what kind of salary I should be making realistically.

Thanks in advance for any advice!

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

Am I ready to give the associate developer (professional) exam?

I have 2 years of Magento2 development experience. I purchased Switftotter practice tests. On the first set I got a very low score – 57%. I found that I don’t know about certain concepts such as db_schema.xml and data patches.

So I studied it and took the test with second set(new set of questions) and got around 80%. This time I found the questions to be easier.

Switftotter claims their tests to be a bit more difficult than the actual one. So I think I am prepared for the exam. But I am still worried if I will clear it. I am planning to give the exam this weekend.

Any tips would be helpful

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

How to rewrite the third-party module template files from my custom module using Preference?

I am rewriting the model file using preference in a custom module,

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagefanBlogModelPost" type="ManciniMagefanBlogModelMagefanPost" /> </config> 

Same how to rewriting viewfrontendtemplates and CSS using preference in a custom module?

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

Storyblok Integration for Magento 2 (Visual Editor)

Hey everyone,

We just released an open source module to integrate Storyblok visual editor into Magento 2 e-commerce sites. We weren’t happy with the current state of content editing functionality in Magento and with Magento’s official Page Builder uncertainty of ever coming to open source we decided to give Storyblok a go.

It supports features like:

  • Visual Editor
  • Content Types with Blocks
  • Custom Fields
  • Internationalization Support
  • Content Scheduling, and more!

You can read more about it in my blog post: https://www.linkedin.com/pulse/storyblok-visual-editor-integration-magento2-villanueva/

Or download it now with composer or our GitHub repo: https://github.com/Media-Lounge/magento2-storyblok-integration

Let me know what you think!

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