[Skip to main content](#vessel-content)

#  Profile for hatchlinks

##

[![hatchlinks's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46828-hatchlinks "View hatchlinks's Profile")

**[ Offline](/forum/user/46828-hatchlinks)**

- **User Type:** User

- **Register Date:** 02 Jan 2017
- **Last login:** 8 years 10 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 17:04

- **Posts:** 6
- **Profile views:** 50

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  hatchlinks recent posts  (6 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279510) | [onBeforeCartUpdate in HIkashop 3?](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279510 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6 -- PHP version -- : 5.6  Hi there,  I'm finally testing Hikashop version 3 and a plugin I developed for Hikashop 2.6.4 does not seem to be working in HIkashop3.  According to the documentation all the triggers should still work in V3, right? However my onBeforeCartUpdate function does not get called and it works fine on V2.6.4  Is there an issue with this trigger?  I have seen other posts where it is suggested to replace onBeforeCartUpdate by onBeforeCartSave, is that the solution? The developper documentation does not mention onBeforeCartSave and keeps referencing onBeforeCartUpdate. What parameters do you get with onBeforeCartSave?  Many thanks")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 9 years 6 months ago, by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")       [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") 8 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:19  Views:5788 | [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      8 years 6 months ago |
| [](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279471) | [onBeforeCartUpdate in HIkashop 3?](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279471 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6 -- PHP version -- : 5.6  Hi there,  I'm finally testing Hikashop version 3 and a plugin I developed for Hikashop 2.6.4 does not seem to be working in HIkashop3.  According to the documentation all the triggers should still work in V3, right? However my onBeforeCartUpdate function does not get called and it works fine on V2.6.4  Is there an issue with this trigger?  I have seen other posts where it is suggested to replace onBeforeCartUpdate by onBeforeCartSave, is that the solution? The developper documentation does not mention onBeforeCartSave and keeps referencing onBeforeCartUpdate. What parameters do you get with onBeforeCartSave?  Many thanks")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 9 years 6 months ago, by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")       [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") 8 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:19  Views:5788 | [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      8 years 6 months ago |
| [](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279469) | [onBeforeCartUpdate in HIkashop 3?](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279469 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6 -- PHP version -- : 5.6  Hi there,  I'm finally testing Hikashop version 3 and a plugin I developed for Hikashop 2.6.4 does not seem to be working in HIkashop3.  According to the documentation all the triggers should still work in V3, right? However my onBeforeCartUpdate function does not get called and it works fine on V2.6.4  Is there an issue with this trigger?  I have seen other posts where it is suggested to replace onBeforeCartUpdate by onBeforeCartSave, is that the solution? The developper documentation does not mention onBeforeCartSave and keeps referencing onBeforeCartUpdate. What parameters do you get with onBeforeCartSave?  Many thanks")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 9 years 6 months ago, by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")       [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") 8 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:19  Views:5788 | [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      8 years 6 months ago |
| [](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279259) | [onBeforeCartUpdate in HIkashop 3?](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279259 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6 -- PHP version -- : 5.6  Hi there,  I'm finally testing Hikashop version 3 and a plugin I developed for Hikashop 2.6.4 does not seem to be working in HIkashop3.  According to the documentation all the triggers should still work in V3, right? However my onBeforeCartUpdate function does not get called and it works fine on V2.6.4  Is there an issue with this trigger?  I have seen other posts where it is suggested to replace onBeforeCartUpdate by onBeforeCartSave, is that the solution? The developper documentation does not mention onBeforeCartSave and keeps referencing onBeforeCartUpdate. What parameters do you get with onBeforeCartSave?  Many thanks")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 9 years 6 months ago, by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")       [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") 8 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:19  Views:5788 | [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      8 years 6 months ago |
| [](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279189) | [onBeforeCartUpdate in HIkashop 3?](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279189 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6 -- PHP version -- : 5.6  Hi there,  I'm finally testing Hikashop version 3 and a plugin I developed for Hikashop 2.6.4 does not seem to be working in HIkashop3.  According to the documentation all the triggers should still work in V3, right? However my onBeforeCartUpdate function does not get called and it works fine on V2.6.4  Is there an issue with this trigger?  I have seen other posts where it is suggested to replace onBeforeCartUpdate by onBeforeCartSave, is that the solution? The developper documentation does not mention onBeforeCartSave and keeps referencing onBeforeCartUpdate. What parameters do you get with onBeforeCartSave?  Many thanks")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 9 years 6 months ago, by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")       [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") 8 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:19  Views:5788 | [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      8 years 6 months ago |
| [](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279101) | [onBeforeCartUpdate in HIkashop 3?](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#279101 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6 -- PHP version -- : 5.6  Hi there,  I'm finally testing Hikashop version 3 and a plugin I developed for Hikashop 2.6.4 does not seem to be working in HIkashop3.  According to the documentation all the triggers should still work in V3, right? However my onBeforeCartUpdate function does not get called and it works fine on V2.6.4  Is there an issue with this trigger?  I have seen other posts where it is suggested to replace onBeforeCartUpdate by onBeforeCartSave, is that the solution? The developper documentation does not mention onBeforeCartSave and keeps referencing onBeforeCartUpdate. What parameters do you get with onBeforeCartSave?  Many thanks")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 9 years 6 months ago, by [sabroso](/forum/user/38789-sabroso "View sabroso's Profile")       [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") 8 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:19  Views:5788 | [Last Post](/forum/31-development/889885-onbeforecartupdate-in-hikashop-3#290657 "Hi,  If you use the new add to cart system, then the add to cart is done in AJAX and the server returns a JSON with a specific set of data to the browser. So you can't ouput HTML like that, it just won't be added to the page and it might well even break the javascript handling the add to cart.  What you can do potentially is add an exit; after the echo in your code and use the developer tools' network feature of your browser to look at what is returned by the server for the XHR (AJAX) request sent when you click on the add to cart button.   developers.google.com/web/tools/chrome-d...network-performance/") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      8 years 6 months ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.213 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
