I have activated the minify and merged option for the CSS and JS files for better site performance, but recently I have had problems, after deploying and cleaning cache in both varnish and the application, the files do not take the changes I have made. I have tried clearing cache […]
Magento
I have many landing pages for products and product categories. These landing pages are promoted on Facebook, and when users click on the address, they are directed to our website. The URL address contains many parameters. If a user places an order after coming from a landing page, I want […]
I recently moved my Magento shop to new VPS from hostinger, what i did is: Copied all the folders and files from public_html and pasted to VPS on a domain public_html directory as it is. Exported and imported the database. And changed the nameservers, after a complete propagation of nameservers […]
I’m developing headless e-commerce using Vuejs and Magento. But I’m facing an issue during the API calls to retrieve products in categories. It returns a void list. May someone help me?
I’m facing a particular problem with google tag manager. In the error console the browser gives me this type of error: GET https://www.googletagmanager.com/gtag/js?id=G-1XXXXXXX&l=dataLayer&cx=c net::ERR_ABORTED 404 I tried to search but I couldn’t understand why tag manager calls two gtag ids, one of these is invalid and in fact the 404 […]
I am adding below code in sales_order_grid.xml but it shows form key error. i want to export in txt file. How can i achieve this. please suggest. need to add formkey or url issue ? <exportButton> <settings> <options> <option name="txt" xsi:type="array"> <item name="value" xsi:type="string">txt</item> <item name="label" xsi:type="string" translate="true">TXT</item> <item name="url" […]
I am getting my images in the array. I need to check the if image in the array is empty then it should be replaced with the thumbnail image. Here is my code : if (is_null($imageData->getData('demo_promo')) Please help me to replace the thumbnail image instead of the empty demo_promo in […]
The size of the catalog is about 70k products. When reindexing sometimes it turns out Could not acquire lock for index:catalog_category_product and Could not acquire lock for index:catalog_product_category or only stuck in INSERT INTO catalog_category_product_index_store2_tmp ('category_id', 'product_id', 'position', 'i.. (I got this from SHOW PROCESS LIST phpmyadmin). there is no […]
I have created a custom module and it’s working fine,if I only run php bin/magento setup:upgrade command. However, when I attempt to run php bin/magento s:d:c it raises an exception. Type Error occurred when creating object: VendorModuleNameModelResourceModelPriceResultCollectionInterceptor, Argument 5 passed to VendorModuleNameModelResourceModelPriceResultCollectionInterceptor::__construct() must implement interface MagentoFrameworkDBAdapterAdapterInterface or be null, string […]