Skip to content

magento man

Can anyone please help me to solve the magento 2.4.6 Add Custom Order Attribute To Order API

I have tried to insert additional order attribute through API /rest/V1/orders I have already created module to insert additional attribute ref taken from https://www.ulmod.com/blog/add-custom-order-attribute-to-magento-2-order-api/ but still the additional data not inserting . here is my request payload { “entity”: {… Read More »Can anyone please help me to solve the magento 2.4.6 Add Custom Order Attribute To Order API

Plesk have two A records as host claims

Why does my Plesk have two A records, as the host support claim, after I did DNS IP update after been migrated to a new host shared hosting…. | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1911588&goto=newpost

Magento 2 how to purge varnish cache programatically when flush magento cache

private function purgeVarnishCache($url) { try { // Trigger Varnish cache purge by sending a PURGE request $this->curlClient->setHeaders([‘Host’ => parse_url($url, PHP_URL_HOST)]); $this->curlClient->addHeader(‘Host’, parse_url($url, PHP_URL_HOST)); $getTest = $this->curlClient->setOption(CURLOPT_CUSTOMREQUEST, ‘PURGE’); $this->curlClient->setOption(CURLOPT_URL, $url); $this->curlClient->setOption(CURLOPT_RETURNTRANSFER, true); // Execute the request and get the response body… Read More »Magento 2 how to purge varnish cache programatically when flush magento cache

Magento2 Address value not saved on Hyva Checkout

We implemented google auto complete address at checkout of Hyva but our address value are not saved and removed after 3 seconds. https://i.imgur.com/dQ2fGwL.png How to saved all address value with hyva checkout.shipping-details.address-form component? Any help is appreciated!