I'd like to exclude the AJAX add to cart feature for specific pages, is that possible?

Comments

smurfxx created an issue. See original summary.

subhojit777’s picture

Status: Active » Closed (works as designed)

The ajax add to cart feature is available as blocks. You can put the page condition there.

smurfxx’s picture

Sorry I did not explained well: when the "Ajax add to cart" is activated every commerce form is processed via ajax, even if the block is not displayed. I'd like to disable the ajax form in some specific pages.

smurfxx’s picture

Status: Closed (works as designed) » Active
subhojit777’s picture

Title: Exclude for specific pages » Every commerce forms processed via ajax
Category: Support request » Bug report

That is a bug in the module then. Please mention which commerce forms have ajax which were not supposed to be ajaxed.

lukasss’s picture

I think he wants disable ajax for some the add to cart form. But this works as formatter field and I think that it's possible to make programmatically only for specific products.