I have a problem with duplicate images when ever I create POST request for the same product. I tried to change store configuration for Media Gallery, but failed to resolve the problem. Magento version I am using is: Magento ver. 2.4.7-p2. Post a product with one image using BASE64 format […]
Magento
We have Multiple configurable products but some of the Configurable Products are showing as Out of Stock. I have verified the following Multiple times All children are In Stock & have a quantity greater than 0. Configurable product is in Stock Manage Stock settings (of Parent & child products) $_product->isAvailable(); […]
When I created one Customer Custom Attribute and changed its value website-wise from Admin-> Edit Customer Information so did not change it. <?php namespace VendorExtensionSetupPatchData; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoCustomerModelCustomer; use MagentoCatalogModelResourceModelEavAttribute; use MagentoCustomerSetupCustomerSetupFactory; class AddCustomerStatusAttribute implements DataPatchInterface { private $moduleDataSetup; private $customerSetupFactory; public function […]
I am running into an issue when trying to run setup:upgrade, to where it fails with saying; SQLSTATE[42000]: Syntax error or access violation: 1091 Can’t DROP ‘REVIEW_STATUS_ID_REVIEW_STATUS_STATUS_ID’; check that column/key exists, query was: ALTER TABLE review DROP FOREIGN KEY REVIEW_STATUS_ID_REVIEW_STATUS_STATUS_ID I don’t have any reviews, so my review table is […]
I upgraded a number of module but when I come to compile (bin/magento setup:di:compile) I get the error below. Anyone know how to fix it? Thank you Andy Repositories code generation... 1/9 [===>------------------------] 11% < 1 sec 104.0 MiBCall to undefined function ComposerAutoloadincludeFile()#0 /var/www/vhosts/mysite.co.uk/htdocs/public_html/vendor/composer/ClassLoader.php(578): include() #1 /var/www/vhosts/mysite.co.uk/htdocs/public_html/vendor/composer/ClassLoader.php(432): ComposerAutoloadClassLoader::ComposerAutoload{closure}() #2 [internal […]
My exception log in magento 2.4.7-p3 if full of: main.CRITICAL: ValueError: DOMDocument::loadXML(): Argument #1 ($source) must not be empty in /home/public_html/vendor/magento/framework/View/Element/UiComponent/Config/DomMerger.php:322 I understand that in an xml file there is space at first line. So I tried with: find my/path/ -type f -empty like adviced in this question but it […]
I’m facing an issue with my Magento 2 store when adjusting the number of items per page in search results. I have a search that returns 16 items. The initial items-per-page setting is 12, so there are two pages of results. When I navigate to the second page and then […]
We are currently using Quickbooks, Wholesale and Manufacturing, a desktop version, and we need to upgrade and are looking at Quickbooks online version. Does Magento 2 integrate with Quickbooks online, and/or do we need a plug in/extension to make it integrate? OR, do you have a better suggestion than Quickbooks? […]
I’m creating a module which is called post-purchase upsell. In this module, as a final step, I need to charge an amount. For that, I need to load all available payment methods the same as checkout does https://prnt.sc/vsFunEkjlN_i. So, I can use direct payment services on the custom module page.