I have this scenario: I only have one item to sell(no option of buying more), and I really don't need all the cart functionality(update, delete).
Therefore, I would like when the user populates the input fields(custom options textboxes) to be sent directly to checkout page, where the summary will be shown, along with an option to enter custom coupon codes.
I think I have it working, it redirects to PayPal and it seems ok, but one thing is bugging me.
In the CouchCart tutorial, it says that two templates are needed for everything to work:
$pp['tpl_cart'] = 'cart.php';
$pp['tpl_checkout'] = 'checkout.php';
In my case, I just have the cart.php, but with the added checkout functionality?
Can I leave it this way?
Edit: Or maybe to have checkout.php(with the same code as cart.php) available for couch, but not using it directly from the website?
Thanks,
Mirko
Therefore, I would like when the user populates the input fields(custom options textboxes) to be sent directly to checkout page, where the summary will be shown, along with an option to enter custom coupon codes.
I think I have it working, it redirects to PayPal and it seems ok, but one thing is bugging me.
In the CouchCart tutorial, it says that two templates are needed for everything to work:
$pp['tpl_cart'] = 'cart.php';
$pp['tpl_checkout'] = 'checkout.php';
In my case, I just have the cart.php, but with the added checkout functionality?
Can I leave it this way?
Edit: Or maybe to have checkout.php(with the same code as cart.php) available for couch, but not using it directly from the website?
Thanks,
Mirko