I have redirected "add to cart" button directly to check out page but some times i doesent work. I have to clear cache to make it work but after some times its again the same deal the redirect doesent work and customers go to cart and i dont want that. any idea how i can fix this ? thanx

Comments

tr’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I assume you mean you set the redirect URL through the Ubercart UI at admin/store/settings/cart ?

Ubercart has automated test cases to verify that this setting works as designed. Those test cases don't indicate a problem, so this is likely something specific to your site. If clearing the cache fixes it, you should look first at anything on your site which modifies Drupal's default caching behavior such as the Boost module or a distribution like Pressflow. Of course, check your server logs and your Drupal logs. And when your redirect breaks, examine the uc_add_item_redirect variable in the {variable} table to see if the value has changed.

longwave’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No further info provided.