I noticed that the 0.5 minimum quantity doesn’t work if the stock management is not activated. Do you guys know how to make it work having the stock disabled? Right now it looks like I can still put 0.5, but the problem is that when I try it, it tells […]
Magento1
I created a custom module that overrides the addtocart.phtml file. In that module, I also created a css file. Here is what I did: Here is my layout – catalog_product_view.xml: < ?xml version="1.0"?> Vendor_Module::product/view/addtocart.phtml Vendor_Module::product/view/addtocart.phtml and then I put the style.css in /Vendor/Module/view/frontend/web/css I thought that in this case the […]
Magento uses MagentoBackendModelUrl as a preference for MagentoFrameworkUrlInterface now MagentoBackendModelUrl has a dependency on MagentoFrameworkDataFormFormKey which has a dependency on MagentoFrameworkSessionSessionManagerInterface which in the admin area is implemented by MagentoBackendModelSession which has a dependency on `MagentoFrameworkSessionSidResolverInterface` which is implemented by MagentoFrameworkSessionSidResolver which in turn has a dependency on MagentoFrameworkUrlInterface in […]
Using M2.2.9 Enterprise Cloud – I am using B2B module to allow company users to purchase in a “private store” experience. I know that I can enable credit cards using Braintree vault as a stored payment method for user at each company but I don’t see any way for us […]
I seem to have set up everything correct in magento admin but emails for orders or confirmation or newsletter subscription do not seem to work I use cpanel with whm, centos Do I have to set up special email settings, something I see over my head? Thanks a lot for […]
Tell me how to redo the styles of stars so that they have a stroke. Now they have a standard look but I’m trying to do both on the layout I only need a stroke on the stars*
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( […]
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 […]
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 […]