I am getting errors on CSP_Whitelist headers in an apache2.4 environment. Apparantly there are too many of them, and I can’t say which ones are more important than others. Is there a way to determine which headers are used, which are important, and which can be ignored or are already […]
Magento2
I have a module setup for Magento 2.4.6 which replaces the product name of a configurable with the simple product selected. It replaces this in the minicart & cart. It works fine except that the simple product in cart/minicart no longer links to the listing. I need it to link […]
Strange behaviour cart price rules. Situation: I have set price rules for free delivery above some price and its working more or less Let assume that I have different 3 products, different prices. If I add product A “OR” B “OR” C in cart.. even if price is low and […]
I’m trying to sent out addtional emails after a customer has placed an order. These additional emails will be sent from configurable email adressess and templates. It is part of a custom payment module. So far I have created my custom module and all logic is working as expected, but […]
Why is it that when I execute a non-interactive command using the following syntax: docker exec -t flexsite /bin/bash -c "echo ${PATH}" it displays the path from my host operating system? However, when I log in interactively using: docker exec -it flexsite /bin/bash and then execute echo $PATH on the […]
If there is a way to set product attribute weight depending on it’s value? F.e. we have 2 attributes to search: name(weight=10) and description(weight=1) So in search results we’ll have first results with search query in name and then other results with query in description. The actual result we want […]
I want to disable a cash on delivery payment method on the checkout for specific products I followed the code in this question Disable Payment Method at Checkout in Magento 2 Based on Product Attribute I modified the payment name in this file Vendor/DisableCOD/Observer/DisablePaymentMethods.php to cashondelivery <?php namespace VendorDisableCODObserver; use […]
Imported customer accounts the other day, with the notifications mentioning it was successful but so far, no new accounts have shown in the all customers section. Need to know what I missed For the record, the csv file I used had these types of data. Modified it the other day […]
I’ve recently upgraded my Magento 2 store from version 2.4.1 to 2.4.3. However, I’m encountering issues when running the catalog search, And I’m receiving the following error message: main.CRITICAL: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type: [_doc, document]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [magento2_product_1_v2] […]