The module currently just hides the add to cart buttons. Users without permission can still go to the cart and checkout pages if they know the URLs.

This patch prevents this which should keep said users, search engines and bots out too.

CommentFileSizeAuthor
uc_disable.module.cart_.patch816 bytesmr.j

Comments

jibus’s picture

Great ! This is exatly what i need, thanks !

It is possible to include it in the dev version ?

mr.j’s picture

Status: Needs review » Reviewed & tested by the community

Any chance this could be committed? I just downloaded the last update and this patch was not included.

I have been using it on a live site for over a year now without issue.

jibus’s picture

Same here =)