Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
<cms:pp_product_form> generates the code:

<form action=/cart/?kcart_action=1" method="post" accept-charset="utf-8" classs="cart-form">
....
</form>

But my cart is located in the directory of the my template files -- cart.php. How do I change the directory so that it goes to cart.php?kcart_action=1 like in the demo?

I checked my config.php files ... no such option, but this is set to $pp['tpl_cart'] = 'cart.php';

Don't know what is going on... thanks!
Hi and welcome @ButterRum.

The demo has Pretty URLs (http://www.couchcms.com/docs/concepts/pretty-urls.html) disabled, whereas you appear to have it enabled. Internally cart/?kcart_action=1 points to cart.php?kcart_action=1 and not an actual directory. With that said, your cart form should function correctly as is...
Yeah, I figured out the problem. I had pretty URL's enabled and didn't run the gen_htaccess.php file. It was giving me a 404 error before.

Thanks!!

BR
3 posts Page 1 of 1
cron