I know that there should be a direct integration between the Facebook Pixel and Magento. When I go to ‘partner integrations’ at Facebook, I can download a zip-file that I should upload in Magento Connect Manager. However, the file name when downloading it and the file I have to upload […]
Magento2
I’m a little new to the magento 2 area and I’m not finding a way to put a quantity counter to be added to the cart next to “add to cart” in the catalog area, as in the illustrative image, I’m using a luma copy as theme, could someone give […]
How to have catalog price an d tier pricing working together? I have a product that is tier priced eg. Buy 2 get 10% discount, buy 4 get 20%. I also sometimes put the product on discount through catalog price rule eg. -20%. When this is on the tier pricing […]
Unable to apply data patch MagentoCatalogSearchSetupPatchDataSetInitialSearchWeightForAttributes for module Magento_CatalogSearch. Original exception message: Indexer handler is not available: elasticsearch6 What is the best way to get either around this or fix this? Note: I cannot get into my admin, I cannot run the setup: upgrade command as the message above halts […]
SELECT time FROM my_timeslot_list WHERE date = “2019-11-12” GROUP BY time; How do I run this query on collection factory. This is the code $collection = $this->collectionFactory->create(); $collection->addAttributeToSelect('*'); $collection->addAttributeToFilter('date', $date); But this isn’t correct. Is there anyway I could do the query in collection
Sometimes when we load the product detail page, Product image size of 100×100 is loaded from cache. The product main image seems to be blurred. Can someone please help me to resolve this?
I have been trying to add a placeholder in company field of customer address edit form(edit.phtml) in magento 2. Any suggestion or advice where should I be looking I looked into the block of 'MagentoCustomerBlockWidgetCompany' but could’nt find anything helpful appdesignfrontendCompany_nameMagento_Customertemplatesaddressedit.phtml < ?php $_company = $block->getLayout()->createBlock('MagentoCustomerBlockWidgetCompany') ?> < ?php if […]
I am on Magento 2.3.2. I would like to install the new security patch so I ran- composer require magento/product-enterprise-edition=2.3.2-p2 which gives me this output- Your requirements could not be resolved to an installable set of packages. Problem 1 - Can only install one of: magento/page-builder-commerce[1.0.3, 1.0.1]. - Can only […]
a magento store needs to update prices based on csv everyday. Price given is “base price”, instead of pre-processing said csv to add profit, how can I add certain percentage to price? Found following file: storeUri/vendor/magento/module-catalog/Model/Product/Type/price.php and just added: public function getPrice($product) { return $product->getData('price') * $percentage_profit;//multiplies times 1.07 (adds […]