I have added 2 fields in db_schema.xml there created on table catalog_product_entity the challenges for me now are I’m using the one field as custom state and this state is the field I need to filter on. here is my code $products = $this->productCollection->create() ->addAttributeToSelect('*') ->addAttributeToFilter([ [ 'attribute' => 'status', […]
Magento1
I’ve just updated to 2.4.3 (which now includes Page Builder). When using Page Builder to add images from the Media Gallery, the selected image does not display properly because the image src is incorrect. If I use the Upload Image option rather than Select From Gallery, there is no issue. […]
I need help to verify my if statement, I am not sure in Magento of using "$block->escapeHtml($label)" in if condition is correct or not does my if statement correct for only showing “Card Number” & “Card Type” info? thanks! <?php if ($block->escapeHtml($label) == 'Card Number') || ( $block->escapeHtml($label) == 'Card […]
Got a 503 service unavailale for https://takoda.shop/ , only it is not maintenance, because maintenance.flag is deleted and also disabled. I did a new magento update yesterday, everything was basically working fine. Today I check, and have this error, am doing it all, restart services, doing the setup update deploy, […]
I’m trying to pass the custom option in vuestorefront api/cart/update call and trying to get it on sales_quote_product_add_after observer but I’m getting an error [2021-08-17 13:54:40] main.CRITICAL: Report ID: webapi-611bbfa0d28e4; Message: Property “SingleSqmQty” does not have accessor method “getSingleSqmQty” in class “MagentoCatalogApiDataCustomOptionInterface”. {“exception”:”[object] (Exception(code: 0): Report ID: webapi-611bbfa0d28e4; Message: Property […]
I am having this strange issue when trying to upgrade magento 2.4.2p1 to 2.4.3 In bin/magento setup:upgrade I get: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '543741' for key 'catalog_url_rewrite_product_category.PRIMARY', query was: ALTER TABLE `catalog_url_rewrite_product_category` ADD CONSTRAINT PRIMARY KEY (`url_rewrite_id`) I found entry in table catalog_url_rewrite_product_category entry 543741 and deleted […]
I’m trying to update 2 custom field I have created by the db_schema.xml file into my catalog_product_entity thats part working as its shut be and everything are working smooth. Now I’m trying to call a event on catalog_product_save_after and trying to update a my to new fields. The problem is […]
We have a Magento2.3.4 Enterprise Cloud environment. See screenshot. We have a feature called Slider which I want to add to the homepage of the site. However not sure how to do this if I need to edit the homepage.xml and if so what tp actually right . I am […]
I am using Display currency is USD and Base currency is AED. But now invoice is coming in display currency USD. But i want to create pdf invoice in Base currency. How to i can do this ? Kind Regards