On the configuration page, I define the product id, now I need to call the url: http://localhost: 3000/custompoint/secret/addprizeproduct in the browser and add this product to the cart – this is necessary so that if a prize product is defined on the site, the user can click on the link and add item to cart. How i can you make this in Magento 2?
You may also like
I’m using a custom child theme with Luma as the parent, I have a custom page layout xml file and I’d like […]
4.3 admin custom controller redirecting to dashboard <form enctype=”multipart/form-data” method=”post” action=”<?php echo $block->getFormAction(); ?>” id=”edit_form” X-Requested-With= “XMLHttpRequest”> <input name=”form_key” type=”hidden” value=”<?php echo […]
Chris Dixon eBay vs Amazon: decentralized vs centralized e-commerce Some thoughts on the iPhone contact list controversy and app security And then, […]
I’m working on a debian machine which has it’s wireless access disabled. Sometime in the past I followed a guide (which I […]