Automating HTML blocks to Text/Media blocks in PageBuilder

We recently upgraded our Magento version to 2.4.6. In the previous version, I had built out a ton of pages on Page Builder. Since we migrated, Magento decided to just convert all of those nice old Page Builder blocks to a single HTML block for most pages 🙃

Is there an easy way to convert the HTML back to PageBuilder blocks, i.e. text, image, and video blocks?

I know I can do it manually and I know how to do that, but that would be a lot of work as we have hundreds of pages like this.

Anyone know of an easy solution here? Or can recommend what our dev team should do to automate the migration somehow?

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

Migrated to magento 2 a few months ago. Recommended next steps?

Hello, we have migrated to magento 2 a few months ago and have a basic site running, we are working with a developer and I kinda do the marketing and store management. This is our website: https://3dtrcek.com/en/

I have no experience but I would like to start upgrading the website. I guess a good place to start is Homepage, category structure and product page optimization. I think I will focus on these things in the next month or so because we would like to translate the website in 3 more languages. After that I was also thinking about stuff like cross sell features at different stages of the buying process but that seems more like a nice to have and not so urgent.

Since I am not an expert I am wondering are there any other low hanging fruit I should take care of. What would your recommendations as magento experts be? Are there any mistakes or bad decisions I should avoid?

submitted by /u/3DTrcek
[link] [comments]

Discover my optimized theme for Peak Performance (PageSpeed & Web Vitals >90points on mobile)

Hello everyone,

I’m Jan, a Magento front-end developer, and I wanted to share something exciting with you—Azkarra Theme! 🚀

Azkarra – the fastest and most optimized Magento 2.4.x native theme (no PWA or Hyva). Based on the Magento Luma theme, it is tailored to deliver exceptional Core Web Vitals and SEO performance. Planning to migrate your store from Magento 1 to Magento 2? The AZKARRA template is the ideal solution! Drawing from years of frontend expertise in Magento.

Why consider Azkarra?

✨ Core Web Vitals friendly

✨ Optimized RequireJS loading

✨ Separate and optimized styles

✨ Lazyload for images and backgrounds

✨ Lazy scripts for improved performance

✨ Introduces new functionalities like slick sliders, sticky elements, dynamic wishlist heart icon, and more

✨ Multilingual support for theme elements (English, Polski, Deutsch, Français, Español, Português, Italiano)

Curious to see Azkarra in action? Check out the GitHub repo with a live demo (Magento 2.4.6):

👉 https://github.com/dev-jq/Azkarra-Magento2-Theme-for-Core-Web-Vitals-and-SEO

Feel free to explore and let me know your thoughts! 😊

submitted by /u/jq-dev
[link] [comments]

How is it possible that the Magento core is Deprecated?

It’s been a month since I received the assignment to create a simple redirect payment method, while I had no previous experience in Magento, so obviously, I am trying to find the latest documentation to do this as close to “best practices” as possible.

I have failed to find an up to date documentation, so I decided to “check how the others do it” as it has been suggested to me both here in /r/magento and in the magento stackExchange, so I did just that.

Welp…. The core Magento “Bank Transfer” and the rest of the core implemented payment methods are already deprecated.

How do you **realistically* write good code in Magento?

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

I need some help

I accidentally deleted import and export profile on Magento

if I created new in will connect to database automatically or not. I didn’t have full access to see that it can restore from delete profile. So, I really don’t know what to do, right now I create new with the same setting of old profile but didn’t sure it will import and export.

I really need help, Thank you.

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

“Uncaught Error: Class ‘MagentoSetupMvcBootstrapInitParamListener’ not found” error on fresh install

Hi all

!

I am working on a website migration, so I did a new CI/CD pipeline, which uses compsoer to install magento2 and merge it with custom pub directory. The problem I have, is, when I do the php bin/magento setup:install command, I receive following error :

PHP Fatal error: Uncaught Error: Class 'MagentoSetupMvcBootstrapInitParamListener' not found in /htdocs/releases/20231116163606/setup/config/application.config.php:29

Stack trace:

#0 /htdocs/releases/20231116163606/vendor/magento/framework/Console/Cli.php(78): require()

#1 /htdocs/releases/20231116163606/bin/magento(22): MagentoFrameworkConsoleCli->__construct()

#2 {main}

thrown in /htdocs/releases/20231116163606/setup/config/application.config.php on line 29

I have been reading forums for hours and I do not manage to get out of this. Magento project-community-edition version 2.4.2.

I did try removing my setup / vendor folders and then doing again the composer install or update, but this doesn’t change anything. I tried going on 2.4.6 version, still same error.

I did try removing these folders bin dev generated lib phpserver setup var vendor and still same errors.

Note, this is the only magento website we have in my org, so I’m really not familiar with it.

Does anyone have an idea? Thanks

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

Redirect payment method documentation.

I don’t need to mention the lack of Magento documentation so here’s what I need to do and I am having trouble implementing it.

  1. Register a payment configuration page in the Admin (Done)
  2. Register a new payment method in the Front
  3. User clicks Place Order, I make a request afterPlaceOrder and get a code from the external payment service to associate with current Magento order for later reference
  4. Redirect user to external url
  5. When payment succeeds/fails they are redirected to the callback URL (Done)
  6. Create a callback url to handle order status logic (Done)

I am having massive issues finding how to register a simple payment method that only redirects and nothing else. Everything I’ve found so far, including the official code examples and the documentation are outdated (Doc 1) | (Doc 2)

How does one actually learn how to do stuff in Magento?

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

Bulk edit prices with advanced pricing for quantity discounts?

Hey all! I am begging the souls of reddit to help me save hundreds of hours of tedious work.

For context, I work at a trophy shop that uses Magento for our ecommerce website. We are in the process of updating the price of all our medals. We have hundreds of styles of medals, and each style comes in multiple sports/reasons/places – so it’s thousands of individual listings to change. The pricing on these is one price for a single item, then there’s breaks for 10, 50, 100, etc.

I am looking for a way to bulk edit pricing because each style of medal costs the same, so rather than going into 20 or so products that all have the same price breaks and repeating it over and over, there must be a way to select multiple products and update the pricing at once?! I know from the Products page I can select multiple items, then Update Attributes, and price is one attribute I can alter for multiple at once, but it’s ONLY the single piece price, it doesn’t have the option for advanced pricing with the quantity discounts.

I cannot be the only one who needs this functionality, so I figure I must be missing something. I have NO formal Magento training, just what I’ve taught myself from good old google, but I’m basically solely responsible for maintaining this website. Being able to change prices like this would save me so much work. :}

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

Problems with execution after installing Magento2 Open Source to localhost

Hello,
I have the installation of Magento2 Open Source on localhost Windows 10, version 2.4.6 (currently in composer installation)
https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/setup/initialization.html?lang=en
made (XAMPP, OpenSearch, everything fresh/up to date), additions and process see below (*).
Unfortunately, access to the standard/admin (/admin_xyz was generated) is not possible.
127.0.0.1 is only assigned to localhost (in hosts).
http://127.0.0.1/magento2 delivers “404”, http://127.0.0.1/magento2/pub/ delivers a start page with text, amaong other things “CMS homepage content goes here.”, only completely unformatted.
In the console, “Laden fehlgeschlagen für” “http://127.0.0.1/magento2/static/version1700649929/frontend/magento/de_de/mage/requirejs/mixins.js“,
http://127.0.1/magento2/static/version1700649929/frontend/magento/luma/de/requirejsjs-config.js“, etc.
The “static” directory is completely missing.
* Process of the installation:
Adjust PHP.ini settings at XAMPP:
https://experienceleague.adobe.com/docs/commerce-operations/installation-guides/prerequisites/php-settings.html?lang=en
pcre.jit=0
Max_inPut_time=1800
memory_limit=4G
max_execution_time=18000
Username=public key and password=private key are stored.
C:XAMPPApacheConfhttpd.conf
Loadmodule rewrite_Module modules/mod_rewrite.so activated
Find all Occurrences of *allowoverride none *and change to *allowoverride all *
C:XAMPPhtdocsOpenSearchbinOpenSearch.bat execute and let them actively (like autostart?)
C:XAMPPphpmyadminconfig.inc.php: Password set
Composer Create-Project-Repository-URL=https: //repo.magento.com/ magento/project-community edition C:XAMPPhtdocsmagento2
C:XAMPPhtdocsMagento2VendorMagentoframeworkviewelementtemplatefilevalidator.php, line 138:
$ realpath=$ this-> FileDriver-> Trealpath ($ path);
=>
$ realpath=str_replace (‘\’, ‘/’, $ this-> filedriver-> TroLalpath ($ path));
C:XAMPPhtdocsMagento2VendorMagentoframeworkimageadaptergd2.php, line 96:
if ($ url && iset ($ url [‘scheme’]) &&! In_array ($ url [‘scheme’], $ allowed_schemes)) {
return false;
}
=>
if ($ url && iset ($ url [‘scheme’]) &&! In_array ($ url [‘scheme’], $ allowed_schemes) &&! File_exists ($ filename)) {
return false;
}
php bin/magento setup:install –base-url=http://127.0.0.1/magento2/ –db-host=localhost –db-name=magento2 –db-user=root –db-password=adminxy –admin-firstname=admin –admin-lastname=admin –admin-email=[email protected] –admin-user=admin –admin-password=adminxy –language=de_DE –currency=EUR –timezone=Europe/Berlin –use-rewrites=1 –search-engine=opensearch –opensearch-host=127.0.0.1 –opensearch-port=9200 –opensearch-index-prefix=magento –opensearch-timeout=15
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
Of course, searched intensively, but no solution, especially for the new version, was found.
Can someone help?
Thanks in advance!

submitted by /u/BY-Reddit
[link] [comments]