We are trying to implement a custom rate shop into our Magento store, using a custom API we developed. This API allows use to determine shipping rates in real time based on the order items and address. I’ve extended the MagentoQuoteModelQuoteAddressRate object and am able to update the rates we […]
Magento2
Repositories code generation… 1/9 [===>————————] 11% < 1 sec 117.0 MiBsyntax error, unexpected token “&”, expecting “function” or “const”#0 /var/www/myshop/vendor/composer/ClassLoader.php(433): ComposerAutoload{closure}() #1 [internal function]: ComposerAutoloadClassLoader->loadClass() #2 /var/www/myshop/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(134): class_exists() #3 /var/www/myshop/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(117): MagentoSetupModuleDiCodeReaderClassesScanner->includeClass() #4 /var/www/myshop/setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php(87): MagentoSetupModuleDiCodeReaderClassesScanner->extract() #5 /var/www/myshop/setup/src/Magento/Setup/Module/Di/App/Task/Operation/RepositoryGenerator.php(61): MagentoSetupModuleDiCodeReaderClassesScanner->getList() #6 /var/www/myshop/setup/src/Magento/Setup/Module/Di/App/Task/Manager.php(56): MagentoSetupModuleDiAppTaskOperationRepositoryGenerator->doOperation() #7 /var/www/myshop/setup/src/Magento/Setup/Console/Command/DiCompileCommand.php(216): MagentoSetupModuleDiAppTaskManager->process() #8 /var/www/myshop/vendor/symfony/console/Command/Command.php(255): MagentoSetupConsoleCommandDiCompileCommand->execute() #9 /var/www/myshop/vendor/symfony/console/Application.php(1021): SymfonyComponentConsoleCommandCommand->run() #10 […]
I have a cms page that I am using to display products via CatalogWidget template. I would like to modify the template to have the title of the category link to the category page, but I have been unsuccessful so far. Hopefully someone can point me in the right direction […]
Does anyone know how to show a Sale going on with an item even though it’s Out of Stock? Right now, it shows the original price only for some reason. Item Showing Special Price (In Stock) https://www.leighjewelers.com/ss-enamel-and-cz-quilt-pendant Item Not Showing Special Price (Out of Stock) https://www.leighjewelers.com/pair-of-ss-mother-of-pearl-and-cz-belle-etoile-regal-earrings I tried to find […]
This is my Controller Index.php <?php namespace HikmadhMenuControllerAdminhtmlProduct; class Index extends MagentoFrameworkAppActionAction { /** @var MagentoFrameworkViewResultPageFactory */ protected $resultPageFactory; public function __construct( MagentoFrameworkAppActionContext $context, MagentoFrameworkViewResultPageFactory $resultPageFactory ) { $this->resultPageFactory = $resultPageFactory; parent::__construct($context); } /** * Load the page defined in view/adminhtml/layout/samplenewpage_sampleform_index.xml * * @return MagentoFrameworkViewResultPage */ public function execute() { […]
I have written a math html to figure out the square footage of boxes of material that a client needs to order. I have loaded it and here is an example page: [https://oflooring.com/hardwood/hf-design-canon-brentwood-hills-collection-bh537ocn-millstone-european-white-oak-7-5-inch-wide-hardwood-flooring.html][1] As you can see on this page, after a client enters the amount they need, then they […]
I am working on Magento 2.4.5. I have a product named ‘T-24’. When I search with this name expected product does not appear after the search. But When I search for any product without ‘-‘ in it like ‘C783’ that product shows up. Can anyone help me out with this […]
I have an app that uses magento for order processing while storing the products and prices in separate db. so it is been so difficult to capture the salable qty of products as adding products to cart depends on salable qty. There is an API {rest}/stockStatuses/{sku} but it only takes […]