Is there a way to remove my custom attribute code and only show the value? I created a custom address attribute “special_instructions” and when I add an address in my account section everything works fine.. but when I add an address in the checkout the address summary shows my attribute […]
Magento2
In the past, to load a quote by id, i used to use the factory: protected $quoteFactory; public function __construct( ... MagentoQuoteModelQuoteFactory $quoteFactory, .... ) { .... $this->quoteFactory = $quoteFactory; .... } But since moving on, it is more recommended to use the service contract: protected $cartRepository; public function __construct( […]
I am trying install a new theme in magento 2.2.8 and when i run in terminal php bin/magento setup:static-content:deploy -f This is the error that appear: #0 /var/www/clients/client19/web982/web/vendor/magento/framework/App/View/Asset/Publisher.php(73): MagentoFrameworkViewAssetFile->getSourceFile() #1 /var/www/clients/client19/web982/web/vendor/magento/framework/App/View/Asset/Publisher.php(61): MagentoFrameworkAppViewAssetPublisher->publishAsset(Object(MagentoFrameworkViewAssetFile)) #2 /var/www/clients/client19/web982/web/vendor/magento/module-deploy/Service/DeployStaticFile.php(92): MagentoFrameworkAppViewAssetPublisher->publish(Object(MagentoFrameworkViewAssetFile)) #3 /var/www/clients/client19/web982/web/vendor/magento/module-deploy/Service/DeployPackage.php(189): MagentoDeployServiceDeployStaticFile->deployFile('js/owl.carousel...', Array) #4 /var/www/clients/client19/web982/web/vendor/magento/module-deploy/Service/DeployPackage.php(136): MagentoDeployServiceDeployPackage->processFile(Object(MagentoDeployPackagePackageFile), Object(MagentoDeployPackagePackage)) #5 /var/www/clients/client19/web982/web/vendor/magento/module-deploy/Service/DeployPackage.php(107): MagentoDeployServiceDeployPackage->deployEmulated(Object(MagentoDeployPackagePackage), Array, false) #6 [internal […]
Anywhere I can edit the text on the shopping cart page to let my customers know that there is an automatic sale going on without a promo code needed?
I have added a custom field in sales_order table and showing it in sales_order_grid table in backend. It is working fine. I have done the following to achieve this I have added sales_order_grid.xml file in following location magento2appcodePlentyOrdersviewadminhtmlui_componentsales_order_grid.xml < ?xml version="1.0" encoding="UTF-8"?> select select Plenty Status Now my Status.php class […]
today we recieve an email from Magento company pointing that customers with magento commerce 2.2.x must upgrade their product version from 2.2.x to 2.3 because there will not be supported no longer. right now we are using the community edition for magento 2.2.6 and really don’t if it’s necesary, also […]
When my product page loads the first tab is active: How do I get the 2nd tab to be active on page load, so it looks like this?
I need to customize the addtocart.phtml in order to add an extra field for decimal qty. I want to use the actual input text for quantities in order to use ONLY unit and I need to create another drop down in order to select half quantity. (See picture) Here is […]
I am having this issue after updating Magento from 2.3 to 2.3.2 Fatal error: Declaration of MagentoQuoteGraphQlModelCartSetShippingAddressOnCart::execute(MagentoFrameworkGraphQlQueryResolverContextInterface $context, MagentoQuoteApiDataCartInterface $cart, array $shippingAddresses): void must be compatible with MagentoQuoteGraphQlModelCartSetShippingAddressesOnCartInterface::execute(MagentoGraphQlModelQueryContextInterface $context, MagentoQuoteApiDataCartInterface $cart, array $shippingAddressesInput): void in /my/folder/public_html/app/code/Magento/QuoteGraphQl/Model/Cart/SetShippingAddressOnCart.php on line 20 I can’t figure out even what it mean. Is from third-party […]