cart icon indicating copy to clipboard operation
cart copied to clipboard

[TASK] Use late static bindings to access AJAX_CART_TYPE_NUM from ext…

Open helmutstrasser opened this issue 3 months ago • 0 comments

AJAX_CART_TYPE_NUM sets the typeNum to 2278001. For cases where two different carts are needed, another typeNum has to be registered. To accomplish that, one can extend the ProductController just to define another AJAX_CART_TYPE_NUM and use the original methods. But that only works, if the comparison in line 107 (v10) does not read self::AJAX_CART_TYPE_NUM but static::AJAX_CART_TYPE_NUM

Resolves: #705

helmutstrasser avatar Oct 15 '25 12:10 helmutstrasser