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

#  Profile for sokartch

##

[![sokartch's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4482.jpg)](/forum/user/4482-sokartch "View sokartch's Profile")

**[ Offline](/forum/user/4482-sokartch)**

- **User Type:** User

- **Register Date:** 08 Nov 2011
- **Last login:** 4 years 11 months ago
- **Time Zone:**  UTC +1:00
- **Local Time:** 17:10

- **Posts:** 73
- **Profile views:** 228

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

- Posts

#  sokartch's recent posts  (73 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/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655) | [Add or Delete Products or Items to/from Cart in onAfterCartProductsLoad(&amp;$cart)](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 7.1 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit)  Hello  You helped me to develop one plugin and it don't work with new HikaShop Version! OLD: onAfterCartUpdate(&amp;$cartClass,&amp;$cart,$product&#95;id,$quantity,$add,$type,$resetCartWhenUpdate,$force) ... $cartClass = hikashop&#95;get('class.cart'); $cartContent = $cartClass-&gt;get(); ... // remove item $cartClass-&gt;updateEntry(0,$cartContent,(int)$product-&gt;cart&#95;product&#95;id,0,false,'item',$force); $cartClass-&gt;mainProduct = null; // add product $cartClass-&gt;updateEntry('1',$cartContent,self::PROD&#95;DIENSTL&#95;ONHE&#95;PROD,'1',false,'product',$force); ...  Function updateEntry(...) seems to be obsolette now, how may I rewrite it in &quot;onAfterCartProductsLoad(&amp;$cart)&quot;?  Thank you in advance! PR")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:16  Views:2329 | [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/25-install-update/891313-error-message-in-the-configuration#275519) | [Error Message in the Configuration](/forum/25-install-update/891313-error-message-in-the-configuration#275519 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit) -- Error-message(debug-mod must be tuned on) -- : Error It appears the root category has been deleted. That category shouldn't be removed as it is crucial to the proper functioning of the category system. Please click on the &quot;check datbaase&quot; button of the toolbar which will restore it.  Hello  After update from HikaShop Business 2.6.4 &#91;1610211750&#93;  When start HikaShop &gt; System &gt; Configuration then error. --- Error It appears the root category has been deleted. That category shouldn't be removed as it is crucial to the proper functioning of the category system. Please click on the &quot;check datbaase&quot; button of the toolbar which will restore it. ---  &quot;Root&quot; category exists!  Greetings Petar Ristanovic")         Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/25-install-update/891313-error-message-in-the-configuration#275519 "Ok, it seems to work. Thank you!") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:11  Views:872 | [Last Post](/forum/25-install-update/891313-error-message-in-the-configuration#275519 "Ok, it seems to work. Thank you!") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/25-install-update/891313-error-message-in-the-configuration#275463) | [Error Message in the Configuration](/forum/25-install-update/891313-error-message-in-the-configuration#275463 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit) -- Error-message(debug-mod must be tuned on) -- : Error It appears the root category has been deleted. That category shouldn't be removed as it is crucial to the proper functioning of the category system. Please click on the &quot;check datbaase&quot; button of the toolbar which will restore it.  Hello  After update from HikaShop Business 2.6.4 &#91;1610211750&#93;  When start HikaShop &gt; System &gt; Configuration then error. --- Error It appears the root category has been deleted. That category shouldn't be removed as it is crucial to the proper functioning of the category system. Please click on the &quot;check datbaase&quot; button of the toolbar which will restore it. ---  &quot;Root&quot; category exists!  Greetings Petar Ristanovic")         Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/25-install-update/891313-error-message-in-the-configuration#275519 "Ok, it seems to work. Thank you!") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:11  Views:872 | [Last Post](/forum/25-install-update/891313-error-message-in-the-configuration#275519 "Ok, it seems to work. Thank you!") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275437) | [Add or Delete Products or Items to/from Cart in onAfterCartProductsLoad(&amp;$cart)](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275437 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 7.1 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit)  Hello  You helped me to develop one plugin and it don't work with new HikaShop Version! OLD: onAfterCartUpdate(&amp;$cartClass,&amp;$cart,$product&#95;id,$quantity,$add,$type,$resetCartWhenUpdate,$force) ... $cartClass = hikashop&#95;get('class.cart'); $cartContent = $cartClass-&gt;get(); ... // remove item $cartClass-&gt;updateEntry(0,$cartContent,(int)$product-&gt;cart&#95;product&#95;id,0,false,'item',$force); $cartClass-&gt;mainProduct = null; // add product $cartClass-&gt;updateEntry('1',$cartContent,self::PROD&#95;DIENSTL&#95;ONHE&#95;PROD,'1',false,'product',$force); ...  Function updateEntry(...) seems to be obsolette now, how may I rewrite it in &quot;onAfterCartProductsLoad(&amp;$cart)&quot;?  Thank you in advance! PR")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:16  Views:2329 | [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/25-install-update/891313-error-message-in-the-configuration#275403) | [Error Message in the Configuration](/forum/25-install-update/891313-error-message-in-the-configuration#275403 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit) -- Error-message(debug-mod must be tuned on) -- : Error It appears the root category has been deleted. That category shouldn't be removed as it is crucial to the proper functioning of the category system. Please click on the &quot;check datbaase&quot; button of the toolbar which will restore it.  Hello  After update from HikaShop Business 2.6.4 &#91;1610211750&#93;  When start HikaShop &gt; System &gt; Configuration then error. --- Error It appears the root category has been deleted. That category shouldn't be removed as it is crucial to the proper functioning of the category system. Please click on the &quot;check datbaase&quot; button of the toolbar which will restore it. ---  &quot;Root&quot; category exists!  Greetings Petar Ristanovic")         Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/25-install-update/891313-error-message-in-the-configuration#275519 "Ok, it seems to work. Thank you!") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:11  Views:872 | [Last Post](/forum/25-install-update/891313-error-message-in-the-configuration#275519 "Ok, it seems to work. Thank you!") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/27-checkout/891335-hikashop-3-1-cart-and-custom-fields#275399) | [HikaShop 3.1: Cart and Custom Fields](/forum/27-checkout/891335-hikashop-3-1-cart-and-custom-fields#275399 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 7.0.21 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit)  Hello  After I updated HikaShop to V3.x Custom Fields don't appear in the Cart.  After hours od searching and reading I must ask you to help: What's wrong? In &quot;Configuration &gt; Default parameters for products&quot; I choosed &quot;Yes&quot;.  Which &quot;Display &gt; View&quot; must be edited later to adjust...?  Regards, PR")         Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/27-checkout/891335-hikashop-3-1-cart-and-custom-fields#275399 "Ok, that helped :)") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:4  Views:788 | [Last Post](/forum/27-checkout/891335-hikashop-3-1-cart-and-custom-fields#275399 "Ok, that helped :)") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275395) | [Add or Delete Products or Items to/from Cart in onAfterCartProductsLoad(&amp;$cart)](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275395 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 7.1 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit)  Hello  You helped me to develop one plugin and it don't work with new HikaShop Version! OLD: onAfterCartUpdate(&amp;$cartClass,&amp;$cart,$product&#95;id,$quantity,$add,$type,$resetCartWhenUpdate,$force) ... $cartClass = hikashop&#95;get('class.cart'); $cartContent = $cartClass-&gt;get(); ... // remove item $cartClass-&gt;updateEntry(0,$cartContent,(int)$product-&gt;cart&#95;product&#95;id,0,false,'item',$force); $cartClass-&gt;mainProduct = null; // add product $cartClass-&gt;updateEntry('1',$cartContent,self::PROD&#95;DIENSTL&#95;ONHE&#95;PROD,'1',false,'product',$force); ...  Function updateEntry(...) seems to be obsolette now, how may I rewrite it in &quot;onAfterCartProductsLoad(&amp;$cart)&quot;?  Thank you in advance! PR")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:16  Views:2329 | [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275370) | [Add or Delete Products or Items to/from Cart in onAfterCartProductsLoad(&amp;$cart)](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275370 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 7.1 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit)  Hello  You helped me to develop one plugin and it don't work with new HikaShop Version! OLD: onAfterCartUpdate(&amp;$cartClass,&amp;$cart,$product&#95;id,$quantity,$add,$type,$resetCartWhenUpdate,$force) ... $cartClass = hikashop&#95;get('class.cart'); $cartContent = $cartClass-&gt;get(); ... // remove item $cartClass-&gt;updateEntry(0,$cartContent,(int)$product-&gt;cart&#95;product&#95;id,0,false,'item',$force); $cartClass-&gt;mainProduct = null; // add product $cartClass-&gt;updateEntry('1',$cartContent,self::PROD&#95;DIENSTL&#95;ONHE&#95;PROD,'1',false,'product',$force); ...  Function updateEntry(...) seems to be obsolette now, how may I rewrite it in &quot;onAfterCartProductsLoad(&amp;$cart)&quot;?  Thank you in advance! PR")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:16  Views:2329 | [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275237) | [Add or Delete Products or Items to/from Cart in onAfterCartProductsLoad(&amp;$cart)](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275237 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 7.1 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit)  Hello  You helped me to develop one plugin and it don't work with new HikaShop Version! OLD: onAfterCartUpdate(&amp;$cartClass,&amp;$cart,$product&#95;id,$quantity,$add,$type,$resetCartWhenUpdate,$force) ... $cartClass = hikashop&#95;get('class.cart'); $cartContent = $cartClass-&gt;get(); ... // remove item $cartClass-&gt;updateEntry(0,$cartContent,(int)$product-&gt;cart&#95;product&#95;id,0,false,'item',$force); $cartClass-&gt;mainProduct = null; // add product $cartClass-&gt;updateEntry('1',$cartContent,self::PROD&#95;DIENSTL&#95;ONHE&#95;PROD,'1',false,'product',$force); ...  Function updateEntry(...) seems to be obsolette now, how may I rewrite it in &quot;onAfterCartProductsLoad(&amp;$cart)&quot;?  Thank you in advance! PR")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:16  Views:2329 | [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |
| [](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275185) | [Add or Delete Products or Items to/from Cart in onAfterCartProductsLoad(&amp;$cart)](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#275185 "-- url of the page with the problem -- :   www.sokart.ch  -- HikaShop version -- : HikaShop Business 3.1.1 &#91;1707191036&#93; -- Joomla version -- : 3.7.4 -- PHP version -- : 7.1 -- Browser(s) name and version -- : Firefox 54.0.1 (32-Bit)  Hello  You helped me to develop one plugin and it don't work with new HikaShop Version! OLD: onAfterCartUpdate(&amp;$cartClass,&amp;$cart,$product&#95;id,$quantity,$add,$type,$resetCartWhenUpdate,$force) ... $cartClass = hikashop&#95;get('class.cart'); $cartContent = $cartClass-&gt;get(); ... // remove item $cartClass-&gt;updateEntry(0,$cartContent,(int)$product-&gt;cart&#95;product&#95;id,0,false,'item',$force); $cartClass-&gt;mainProduct = null; // add product $cartClass-&gt;updateEntry('1',$cartContent,self::PROD&#95;DIENSTL&#95;ONHE&#95;PROD,'1',false,'product',$force); ...  Function updateEntry(...) seems to be obsolette now, how may I rewrite it in &quot;onAfterCartProductsLoad(&amp;$cart)&quot;?  Thank you in advance! PR")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 9 years 3 months ago, by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")       [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") 9 years 2 months ago     by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile") | Replies:16  Views:2329 | [Last Post](/forum/27-checkout/891334-add-or-delete-products-or-items-to-from-cart-in-onaftercartproductsload-cart#276655 "Hello  - I bought HikaShop in the hope that it is customizable. So far so good.  - You helped me to implement my idea in older version (2.x). So far, many thanks. Note: I was not informed that it was about a fast draft.  - With new version (3.x) this has not worked. Then you gave me controversial suggestions for the solution !!! And then let me drop !!!  - We are, as a company, very affected by this behavior. A fast CHANGE of the concept is not possible. Our shop is not working for 3 weeks !!!  - This will be a fierce comment in Joomla Extensions.  Best Regards Petar Ristanovic   www.sokart.ch") by [sokartch](/forum/user/4482-sokartch "View sokartch's Profile")      9 years 2 months ago |

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

Time to create page: 0.139 seconds

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

[](#top)
