Magento
I’ve only recently started working with Magento and developement in general, so I am new at this. I need a (simple) product’s quantity for some custom logic. But I don’t know how to get it into my .phtml template. I used this function: $quantity = $_product->getExtensionAttributes()->getStockItem()->getQty(); and print_r($quantity); to see […]
I created a custom image role drop down. I am trying to save its value into ‘catalog_product_entity_media_gallery_value’ table by using the observer event ‘catalog_product_save_after’: <?php namespace HotcoffeeImageCustomRoleObserver; use MagentoFrameworkEventObserverInterface; class Productsaveafter implements ObserverInterface { protected $request; protected $resource; /** * * @param MagentoFrameworkAppRequestInterface $request * @param MagentoFrameworkAppResourceConnection $resource */ public […]
I had installed mageplaza banner slider followed their guide. but the slider wont show in my custom theme. this happen as well with the default magento 2 slider
we are having a problem with out Magento2 installation. Everything worked fine until recently when we tried to add a new variant to a configurable product. The error happens when navigating to the “add product manually” page, see third image. We tried a few things should have helped, but nothing […]
When I open any page of my website https://www.agoshop.at everytime I will get scrolling circles and after that I will see my new page. This is very disturbing. Therefore I will ask how I can deactivate this. Here a picture of the circles: Hope someone can help me there. kindly […]
I’m new on the forum. Recently I tried to upgrade my Magento from 2.4.2 to 2.4.3-p1. It didn’t work. I normally do both code and bd backups before and after any major change or module installation. Now I want to reverse my Magento to the previous stage using one of […]
I want offer an online action and want insert a informationtext in the header of my website https://agoshop.at like in this picture: Hope someone can help me how I can solve this. kindly regards for any answer.
Category Page is broken after import or update the product or category. But after run the reindex, cache flush command and refresh the browser cache, it works well. Cron job is run correctly. Please let me know why this is happening. Thanks.