Here's a list of all hooks in 2.0.12

Suggestion





Need hook for SEO addon.





Please add:



fn_set_hook(‘get_seo_name’, $object_id, $object_type, $object_name, $dispatch, $lang_code);





to the beginning of the function.



Want to generate my own seo name.

Great stuff … BIG THANK YOU

Say I want an admin hook and say I have identified which hook to use. Where do I place the hook code ? I mean if I do not want to code an addon.

Read this doc. It will outline the basics for you:

[url]http://www.ez-ms.com/docs/customizing_your_store.pdf[/url]



Just replace ‘local’ with ‘my_changes’ for the addon and all will be clearer.

Incredible!

Great Job & Idea ideed. Thanks also.

Brilliant!

The customer hook orders:tabs_extra does not exist in 2.2.5. I had to manually add it into details.tpl. Has anyone else had noticed this?

Don't think there is a 2.2.5 (2.2.4 is latest). But in 2.2.4, the hook is in:

admin/views/orders/details.tpl:{hook name=“orders:tabs_extra”}



In looking at 2.0.15 source, there was never a customer hook by that name.

Sorry. I meant 2.2.4. You are correct I misread in the list of hooks though I saw a customer one.

Well… there should be one on the customer end. lol. Makes it easy to add new tabs to the order detail page.

There should be a lot of things… But if every hook that anyone ever needed was there, there would be no template code at all, it would all be hooks!

Touché

There is a new ‘hooks base’ search tool:

[url=“https://www.cs-cart.com/api”]https://www.cs-cart.com/api[/url]



:grin:

Helped me out a ton! Thanks!

Hint: The customer hook orders:tabs_extra has become orders:tabs in version 3.

Hi there.

Help me please. How can i receive a cart currency?

For example i have a payment processor, and i use 2 currencies USD and EUR.

If i'll use settings currency of my payment processor it will be wrong, because in settings was setted USD but in cart i'll use EUR.

How can i do that?

I am trying to develop an addon for creating custom field in product page of admin, and showing it's value on frontend product detail page. So I need to find hook for product page in admin & frontend.



Is the list of hooks displayed above for frontend & backend is same for version 4.0.x ?



Or can somebody post list of hooks for v4.0.x ?



Thanks in advance



Vivek

Hook names change at will. Most are stable but there are no guarantees version to version. Cs-cart should be publishing the info.

hello ,,

i want to add my own payment method ,, after searching i knew that i have to add it as addon and do all development

any ideas on where should i start and how it can b going ?? any tutorial or guidance !!

You can use built-in Stripe addon as example.