Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Here's a list of all hooks in 2.0.12 Rate Topic   * * * * * 1 votes

 
  • hyteckit
  • Senior Member
  • Members
  • Join Date: 24-Mar 08
  • 122 posts

Posted 27 March 2010 - 11:42 AM #21

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.
inkWOW.com - Printer ink and toner cartridges.
Cart Sidebox - Free CS-Cart 2.0 Addon for adding shopping cart to sidebar

 
  • Dezigner
  • Member
  • Members
  • Join Date: 12-Oct 09
  • 136 posts

Posted 14 August 2010 - 08:39 AM #22

Great stuff ... BIG THANK YOU

 
  • zshanthi
  • Junior Member
  • Members
  • Join Date: 25-Feb 11
  • 5 posts

Posted 25 February 2011 - 02:14 PM #23

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.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11329 posts

Posted 25 February 2011 - 07:26 PM #24

Read this doc. It will outline the basics for you:
http://www.ez-ms.com..._your_store.pdf

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

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Lee Li Pop
  • Senior Member
  • Members
  • Join Date: 07-Mar 08
  • 941 posts

Posted 07 March 2011 - 05:11 PM #25

Incredible!
.
If All Else Fails, Read The Instruction Manual! Knowledge Base 2.x + CS-Cart Instruction Manual

Hosted at Pair.com since 2000. Zero hacking attempts during first 11 years... And counting!

 
  • robert_p
  • Junior Member
  • Members
  • Join Date: 25-May 11
  • 60 posts

Posted 27 June 2011 - 02:43 PM #26

Great Job & Idea ideed. Thanks also.
Regards,
Robert

 
  • robert_p
  • Junior Member
  • Members
  • Join Date: 25-May 11
  • 60 posts

Posted 15 July 2011 - 06:47 AM #27

Brilliant!
Regards,
Robert

 
  • solesurvivor
  • Senior Member
  • Members
  • Join Date: 05-Aug 11
  • 745 posts

Posted 03 February 2012 - 05:37 PM #28

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?

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11329 posts

Posted 03 February 2012 - 08:37 PM #29

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.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • solesurvivor
  • Senior Member
  • Members
  • Join Date: 05-Aug 11
  • 745 posts

Posted 03 February 2012 - 09:10 PM #30

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.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11329 posts

Posted 04 February 2012 - 02:49 PM #31

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!

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • solesurvivor
  • Senior Member
  • Members
  • Join Date: 05-Aug 11
  • 745 posts

Posted 04 February 2012 - 02:57 PM #32

Touché

 
  • b4rney
  • Newbie
  • Trial users
  • Join Date: 10-Mar 12
  • 6 posts

Posted 26 April 2012 - 08:54 AM #33

There is a new 'hooks base' search tool:
https://www.cs-cart.com/api

:grin:

 

Posted 03 May 2012 - 03:07 PM #34

Helped me out a ton! Thanks!

 
  • solesurvivor
  • Senior Member
  • Members
  • Join Date: 05-Aug 11
  • 745 posts

Posted 25 June 2012 - 04:43 PM #35

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

 
  • dmitriy
  • Newbie
  • Trial users
  • Join Date: 25-Oct 12
  • 4 posts

Posted 25 October 2012 - 02:15 PM #36

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?

 
  • elayerstest
  • Advanced Member
  • Members
  • Join Date: 23-Aug 13
  • 57 posts

Posted 04 December 2013 - 03:34 PM #37

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

 
  • elayerstest
  • Advanced Member
  • Members
  • Join Date: 23-Aug 13
  • 57 posts

Posted 04 December 2013 - 03:46 PM #38

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

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11329 posts

Posted 04 December 2013 - 11:28 PM #39

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

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.