Take input result value and add that to the cart

I need to get the result value of this calculator to add to the cart from the product page for both single and configurable products. I add the calculator to catalog_product_view.xml <block class=”Magento\Framework\View\Element\Template” template=”Magento_Theme::html/calc.phtml” name=”calc”/> Then I copied the code from addtocart.phtml to calc.phtml as the button and changed the QTY to my result value…

Take input result value and add that to the cart

I need to get the result value of this calculator to add to the cart from the product page for both single and configurable products. I add the calculator to catalog_product_view.xml <block class=”Magento\Framework\View\Element\Template” template=”Magento_Theme::html/calc.phtml” name=”calc”/> Then I copied the code from addtocart.phtml to calc.phtml as the button and changed the QTY to my result value…

Take input result value and add that to the cart

I need to get the result value of this calculator to add to the cart from the product page for both single and configurable products. I add the calculator to catalog_product_view.xml <block class=”Magento\Framework\View\Element\Template” template=”Magento_Theme::html/calc.phtml” name=”calc”/> Then I copied the code from addtocart.phtml to calc.phtml as the button and changed the QTY to my result value…

Magento grid filter_condition_callback ignored? in Magento ver. 1.9.4.3

Magento grid filter_condition_callback ignored? in Magento ver. 1.9.4.3 Help appreciated! Stuck 😉 We added a column to both the order and the product grid. This works fine. We then added a filter_condition_callback .. this has worked for years Recently we updated to Magento ver. 1.9.4.3 the LTS version found here https://github.com/OpenMage/magento-lts Since then filter_condition_callback seems…

Magento 2 how to add external css and js library with RequireJS?

I’m struggling trying to add this js library AOS This is what I’ve tried to add both, css and js: in Theme/Magento_Theme/layout/cms_index_index.xml i have this code: <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <head> <css src=”css/bootstrap.css” /> <css src=”https://unpkg.com/[email protected]/dist/aos.css” src_type=”url” /> </head> </page> The reason of why i’m using cms_index_index.xml instead of default_head_blocks.xml is because I want…