Sadik B
Well-known member
I am extending MicroCart for our particular needs. The addon has <xen:require css="microcart.css" /> in very many templates. I don't want to edit the microcart.css template for obvious reasons. The question is, is it possible to override the xen:require command to have it require something else instead of the passed css template name argument. Basically what I want to do is have a code something like the below pseudo code
if (require == 'microcart.css') {
require = custom_microcart.css
}
Is there any way of achieving this?
if (require == 'microcart.css') {
require = custom_microcart.css
}
Is there any way of achieving this?