purvanaturals Merchant Frá India Meðlimur síðan nóv. 2022 purvanaturals 2 des. 2022 14:44 First off I want to say a very big thanks to Tim for a simply fantastic product. It is fast, functional and very actively supported. Above all it is open source.. superlative! Secondly, I want to know if I buy this add on, and I host my landing pages in my own domain, will this help me to jump from the CTA button in landing page to checkout? Hope it is not a stupid question Thanks! Balaji Shankar
tim Founder Frá Sweden Meðlimur síðan maí 2013 tim 2 des. 2022 16:45 Thank you so much for showing appreciation of my work. ❤️ You can change the destination URL for your cart form post where form_draw_form_begin() is drawn and set the link to document::ilink('checkout'). If you host the button in an external place outside the platform simply copy the <form> block of elements with the full URL to your store <form name="add_to_cart_form" method="post" action="https://yoursite.com/checkout"> The HTML is found in includes/templates/default.catalog/(pages|views)/.
cadtec_2 LiteCart Fan Frá Switzerland Meðlimur síðan mar. 2016 cadtec_2 21 des. 2022 16:38 I have tried it in 2.5.1, but without success. The file app.css was supplemented accordingly, but the icon is unfortunately not displayed when hovering. Here is the Link: [url=https://www.cadtec.ch/cad-cam-shop/cad-cam-programme-c-1/cad-software-c-2/alibre-design-c-4/]https://www.cadtec.ch/cad-cam-shop/cad-cam-programme-c-1/cad-software-c-2/alibre-design-c-4/[/url]
tim Founder Frá Sweden Meðlimur síðan maí 2013 tim 21 des. 2022 21:36 That form contains no changes. To redirect to the checkout page Replace line 116 https://github.com/litecart/litecart/blob/2.5.1/public_html/includes/templates/default.catalog/views/box_product.inc.php#L116 With this <?php echo functions::form_draw_form_begin('buy_now_form', 'post', document::ilink('checkout')); ?> From outside litecart: <form name="add_to_cart_form" method="post" action="https://yoursite.com/checkout"> <input name="product_id" value="1" /> <input name="quantity" value="1" /> <button type="submit" name="add_cart_product">Buy</button> </form>