Forums / Developer / Shopping Basket extension

Shopping Basket extension

Author Message

Bernhard Reiter

Thursday 17 March 2005 6:35:52 am

Hi,
I removed from basket.php (kernel/shop) some lines of code so that the userregister page is not shown anymore.

But i think it would be cleaner to have such a modification as an extension. I tried a bit around but without success.
so my question is, if it is possible to "override" the standard basket with my modified version.

Frederik Holljen

Friday 18 March 2005 8:13:41 am

You can change any visual appearance by overriding templates. Overriding PHP files is not possible however. Such functionality must either be configurable (e.g with an ini setting) or it should be handled by plugins.

Bernhard Reiter

Monday 21 March 2005 12:55:35 am

I think i have it now: just needs to actually be tested;-)

I make a new extension which contains my modified basket, when i change the shop templates to call my basket instead of the default one.
Does sound logic, doesnt it?