I need to update the installation part of one extension from old to declarative schema. Old system looks like: Setup version – 1.0 Adds table vendor_entity entity_id name desciption status Setup version – 2.0 Adds new table vendor_entity_locale entity_locale_id entity_id name desciption store_id with SQL method for moving data from […]
Magento2
I have a shop developed in Magento 2.2. Now, I did a upgrade to Magento 2.4. I had to upgrade all the external modules in use. Everthing worked ok. But now, sometimes the $.widget called in my x-magento-init are not running, sometimes it runs. I don’t have any error on […]
For Magento 2 we have created an attribute to exclude that product from shipping methods and that product that is excluded will have an individual shipping price on it. For example, we have 2 products in cart A and B, the A product has that attribute set to yes and […]
I have a custom module with named A and db tab is z ok. now question is my: How to add child table? which is already I have done with PK and FK key constrains. How to add data in created child table using model?
I am trying to sort an order collection (MagentoSalesModelResourceModelOrderCollectionFactory) based on custom product attribute data for the product items in the order. It is ok just to sort based on the first product item row. How can I achieve this? I know I can add a custom column on the […]
I need to install the following extension on Magneto store: https://github.com/bitExpert/magento2-force-login I’m using this commend: composer.phar require bitexpert/magento2-force-customer-login but after enter “Authentication required (repo.magento.com)”, it is start “Generating autoload files” then the following error appears Installation failed, reverting ./composer.json to its original content. [ErrorException] chmod(): Operation not permitted as alternative […]
I am looking for an bash script which will create the basic new module skeleton. I’ve found this post useful but it only works from the root. Any solution? Thanks in Advance!
This is an image from a product page. Notice that there’s a semi-transparent overlay at each side of the image, each containing the left and right arrows. The overlay should be eliminated, but the arrows maintained. Can that be done? Please note: while the cursor is over the image is […]
When I create a simple product with a single image it takes 17 seconds to save, I have changed the indexing to schedule and removed all extensions and themes. On debugging further I can see that the delay is caused by the media(media/catalog/product) I have 3000 products where my product […]