Skip to content

magento man

complaint website

Gentlemen, I have a serious problem with a provider located in England, is there a serious and relevant website where I can make a public co… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1919457&goto=newpost

CSF Firewall blocking mobile IP

I am using WHM with CSF firewall, and it seems that some users are continuously blocking mobile networks due to failed IMAP login attempts. … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1919423&goto=newpost

Magento 2 custom API working for Bearer Token and not working for OAuth1.0

I have created a custom API endpoint to retrieve data from a custom table in magento 2. Webapi.xml file content <route url=”/V1/bs-customer-price-information/:email/:website_id” method=”GET”> <service class=”BSKoRPricingApiKoRPricingRepositoryInterface” method=”getPriceListByCustomerAndWebsite”/> <resources> <resource ref=”Magento_Catalog::products”/> </resources> </route> This endpoint giving result with Bearer Token. If I… Read More »Magento 2 custom API working for Bearer Token and not working for OAuth1.0

Images attached to page builder vanish on save but the data is saved on my table (the problem is on arabic_image_one)

<?php namespace magentotestControllerAdminhtmlIndex; use MagentoBackendAppActionContext; use MagentoFrameworkApiDataObjectHelper; use MagentoFrameworkAppRequestInterface; use MagentoFrameworkExceptionLocalizedException; use MagentoFrameworkSerializeSerializerInterface; use magentotestApiBannersRepositoryInterface; use magentotestApiDataBannersInterfaceFactory; use magentotestModelResourceModelBannersCollectionFactory as BannersItemFactory; class Save extends MagentoBackendAppAction { /** * @var RequestInterface */ private $request; private $dataObjectHelper; /** * @var SerializerInterface */… Read More »Images attached to page builder vanish on save but the data is saved on my table (the problem is on arabic_image_one)

Magento2 | Change subject email of new order if condition is true

I created an observer that changes the email subject when I place a new order: This is the ChangeOrderEmailSubject.php file: <?php namespace SalesOrderCustObserver; use MagentoFrameworkEventObserverInterface; use MagentoFrameworkEventObserver; use MagentoSalesModelOrder; class ChangeOrderEmailSubject implements ObserverInterface { public function execute(Observer $observer) { /**… Read More »Magento2 | Change subject email of new order if condition is true

product.info.options.wrapper cacheable false

<block class=”MagentoCatalogBlockProductView” name=”product.info.options.wrapper” as=”product_options_wrapper” template=”Magento_Catalog::product/view/options/wrapper.phtml”> <block class=”MagentoCatalogBlockProductViewOptions” name=”product.info.options” as=”product_options” template=”Magento_Catalog::product/view/options.phtml”> <block class=”MagentoCatalogBlockProductViewOptionsTypeDefaultType” name=”product.info.options.default” as=”default” template=”Magento_Catalog::product/view/options/type/default.phtml”/> <block class=”MagentoCatalogBlockProductViewOptionsTypeText” name=”product.info.options.text” as=”text” template=”Magento_Catalog::product/view/options/type/text.phtml”/> <block class=”MagentoCatalogBlockProductViewOptionsTypeFile” name=”product.info.options.file” as=”file” template=”Magento_Catalog::product/view/options/type/file.phtml”/> <block class=”MagentoCatalogBlockProductViewOptionsTypeSelect” name=”product.info.options.select” as=”select” template=”Magento_Catalog::product/view/options/type/select.phtml”/> <block class=”MagentoCatalogBlockProductViewOptionsTypeDate” name=”product.info.options.date” as=”date” template=”Magento_Catalog::product/view/options/type/date.phtml”/> </block> <block class=”MagentoFrameworkViewElementHtmlCalendar” name=”html_calendar” as=”html_calendar”… Read More »product.info.options.wrapper cacheable false