Order Details Template Open/close <Form> Tag Question

Hi everyone,

There is a difference of close tag in the below template between old and new version of cs-cart. But I not really understand what is the purpose of that.

Template: \design\backend\templates\views\orders\details.tpl (attachment is included templates in old and new version of cs-cart)

cs-cart v4.3.6: The close tag covered the capture part.

cs-cart v4.6.2: The close tag not covered the capture part.

Please anyone explains to me why the capture part is outside the form in new version of cs-cart.?

Im developing a payment gateway and also support pre-auth/capture. And currently getting trouble with that change.

Thank you so much.

2files.zip

Let me explain. Both files contains 2 hooks

{hook name="orders:tabs_content"}
{/hook}
and
{hook name="orders:tabs_extra"}
{/hook}

In old version both hooks were used within the main form. In new template you can use custom forms in the second hook.

This is the main reason of this change

Thanks eComLabs for quick reply.

May I know from which version that change was applied ?

Thanks,

Son

Thanks eComLabs for quick reply.

May I know from which version that change was applied ?

Thanks,

Son

Sorry, I do not have this information

Hello,

I want to change some information of right column of Order Detail screen (backend), so I modify the template: “design/backend/templates/views/orders/details.tpl” but nothing changes, why?? (I have cleaned the cache)

Thank you

@SunDust - Please don't duplicate your posts across multiple threads.