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

Board Categories Development HikaShop 3.0 Beta

##

#  [Development](/forum/31-development "View Category 'Development'")  582 topics

| If you are developping a plugin for Hikashop or customizing our component, this is the board to be. |
|---|
|  | Category | Last Post |
| [ ](/forum/57-hikashop-3-0-beta) | ###  [HikaShop 3.0 Beta](/forum/57-hikashop-3-0-beta "View Category 'HikaShop 3.0 Beta'")  42 topics  [  ](/forum/57-hikashop-3-0-beta/feed?format=feed&type=rss) | [Re: Quantity Bundled Products](/forum/57-hikashop-3-0-beta/891293-quantity-bundled-products#336351 "Hi,  Yes. It was added in the 3.4.0 3 years ago:   www.hikashop.com/support/documentation/5...ashop-changelog.html")     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")     5 years 3 weeks ago |

##

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post |
|---|---|---|---|
| [](/forum/31-development/876850-wishlist-override-the-function) | [WISHLIST - Override the function](/forum/31-development/876850-wishlist-override-the-function "Hi guys,  I need your help. Can you tell me how can I override a function to wishlist?  For example, I have created a new plugin to override diferent views like product&#95;page&#95;view, listing view, compare view, mini-cart view, checkout view and now only less me the wishlist view.  To do that I have created a new plugin like:  and I have tried inside this functions to put for example if($view-&gt;getLayout() == 'wishlist') but I don't have any results. Can you help me please, to discover where I can do that and what name of function I need to solve my problem?  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 11 years 6 months ago, by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")       [Last Post](/forum/31-development/876850-wishlist-override-the-function#201387 "Hi,  Edit the file &quot;showcart&quot; of the view &quot;cart&quot; via the menu Display&gt;Views and add the code:  at the beginning of the file and the onHikashopBeforeDisplayView function of your custom hikashop plugin will be called when you display the wishlist details page.") 11 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:962 | [Last Post](/forum/31-development/876850-wishlist-override-the-function#201387 "Hi,  Edit the file &quot;showcart&quot; of the view &quot;cart&quot; via the menu Display&gt;Views and add the code:  at the beginning of the file and the onHikashopBeforeDisplayView function of your custom hikashop plugin will be called when you display the wishlist details page.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 6 months ago |
| [](/forum/31-development/876563-pear-soap) | [PEAR Soap](/forum/31-development/876563-pear-soap "-- HikaShop version -- : 2.4.0  Is there a way to enable Pear Soap for use by Hika? Specifically for the fedex plugin, but in general would be good as well.")        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 11 years 6 months ago, by [mrshake](/forum/user/36847-mrshake "View mrshake's Profile")       [Last Post](/forum/31-development/876563-pear-soap#199688 "Hi,  It's not PEAR SOAP that you want. It's the standard SOAP extension for PHP. A lot of hosting companies already have it installed on their servers. If that's not the case, the simplest is to ask your hosting company if they can add it to your hosting. Sometimes, you might have to install it yourself. Based on the server you're using the setup will be different. For example, on a wamp server, you just have to activate it in the list of the PHP modules included with wamp. Otherwise, on a lamp server, it will vary based on the distro you're using. For example:   stackoverflow.com/questions/11014431/enable-soap-on-php    kb.mediatemple.net/questions/1947/Config...with+SOAP#dv&#95;managed  But you'll find many more explanations online based on which distro you're using and they will be more accurate.") 11 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1008 | [Last Post](/forum/31-development/876563-pear-soap#199688 "Hi,  It's not PEAR SOAP that you want. It's the standard SOAP extension for PHP. A lot of hosting companies already have it installed on their servers. If that's not the case, the simplest is to ask your hosting company if they can add it to your hosting. Sometimes, you might have to install it yourself. Based on the server you're using the setup will be different. For example, on a wamp server, you just have to activate it in the list of the PHP modules included with wamp. Otherwise, on a lamp server, it will vary based on the distro you're using. For example:   stackoverflow.com/questions/11014431/enable-soap-on-php    kb.mediatemple.net/questions/1947/Config...with+SOAP#dv&#95;managed  But you'll find many more explanations online based on which distro you're using and they will be more accurate.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 6 months ago |
| [](/forum/31-development/876565-gert-current-language-code) | [Gert current language code](/forum/31-development/876565-gert-current-language-code "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.39  Good morning,  I would like to have the code to get the current language that I would use into the custom&#95;price.php  Thank you")        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 11 years 6 months ago, by [Watwood](/forum/user/36404-watwood "View Watwood's Profile")       [Last Post](/forum/31-development/876565-gert-current-language-code#199640 "Hi,  You can do like that:   stackoverflow.com/questions/3352241/how-...-of-a-joomla-website") 11 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:787 | [Last Post](/forum/31-development/876565-gert-current-language-code#199640 "Hi,  You can do like that:   stackoverflow.com/questions/3352241/how-...-of-a-joomla-website") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 6 months ago |
| [](/forum/31-development/876466-how-can-i-change-the-size-of-the-hikashop-modules) | [How can i change the size of the HikaShop modules](/forum/31-development/876466-how-can-i-change-the-size-of-the-hikashop-modules "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.0  Guys hello!  How can i change the size of the hikashop content modules? Right now it shows only 4 products, i want it to show 6.  Ive attached a screenshot for more info.  Thank you! :)")         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 11 years 6 months ago, by [Konstantin1996](/forum/user/36912-konstantin1996 "View Konstantin1996's Profile")       [Last Post](/forum/31-development/876466-how-can-i-change-the-size-of-the-hikashop-modules#199092 "Hi,  Edit your module via the menu Display&gt;Content modules. There, you have many options to change the display of the products. For example, the &quot;number of columns&quot; option allows you to change the number of products on one row.") 11 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:708 | [Last Post](/forum/31-development/876466-how-can-i-change-the-size-of-the-hikashop-modules#199092 "Hi,  Edit your module via the menu Display&gt;Content modules. There, you have many options to change the display of the products. For example, the &quot;number of columns&quot; option allows you to change the number of products on one row.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 6 months ago |
| [](/forum/31-development/876412-login-register-tab) | [Login/Register tab](/forum/31-development/876412-login-register-tab "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.0  Hello guys!  How can i get the same login module as the one in the demo??  What module or pluggin should i use?  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 11 years 6 months ago, by [Konstantin1996](/forum/user/36912-konstantin1996 "View Konstantin1996's Profile")       [Last Post](/forum/31-development/876412-login-register-tab#198829 "Hi,  This module is provided with the jsn template ;)") 11 years 6 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:1  Views:929 | [Last Post](/forum/31-development/876412-login-register-tab#198829 "Hi,  This module is provided with the jsn template ;)") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      11 years 6 months ago |
| [](/forum/31-development/876330-dynamic-pricing-based-on-pro-rata) | [dynamic pricing based on pro rata](/forum/31-development/876330-dynamic-pricing-based-on-pro-rata "-- HikaShop version -- : 4  Hello, i'm planning to work on a plugin that can calculate upgrade/downfrade fee on prorata basis : -is it posible to modify the item price 'on th fly' to a cart?  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 11 years 7 months ago, by [veeco](/forum/user/18501-veeco "View veeco's Profile")       [Last Post](/forum/31-development/876330-dynamic-pricing-based-on-pro-rata#198377 "Hi,  The donation page in our demo website is like a documentation page but we saw that the links are not working like they should. We already created a ticket in our side in order to fix that issue for the demo website (links which should point to the backend of the demo website).   demo.hikashop.com/index.php/en/hikashop/...t-page/donation-page  Regards,") 11 years 7 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:4  Views:965 | [Last Post](/forum/31-development/876330-dynamic-pricing-based-on-pro-rata#198377 "Hi,  The donation page in our demo website is like a documentation page but we saw that the links are not working like they should. We already created a ticket in our side in order to fix that issue for the demo website (links which should point to the backend of the demo website).   demo.hikashop.com/index.php/en/hikashop/...t-page/donation-page  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      11 years 7 months ago |
| [](/forum/31-development/876015-potential-bug-orders-listing-payment-button) | [Potential Bug: Orders Listing Payment Button](/forum/31-development/876015-potential-bug-orders-listing-payment-button "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.0  I think I may have found a bug for displaying the button to pay for a order that hasn't been confirmed.  The feature of &quot;Payment of orders not paid immediately&quot; in the Configuration is set to &quot;&quot; but unfortunately it is not showing the button at all.  Here is the default code from line 128 in /component/com&#95;hikashop/order/listing.php  I did quite a bit of testing and found out that no matter what setting I do in the Configuration, &quot;$row-&gt;show&#95;payment&#95;button&quot; is always empty.  I removed $row-&gt;show&#95;payment&#95;button from the code and the button started showing.  Obviously this is not really a solution because now the buttons show on every order regardless of the status, even if already paid for and set as &quot;confirmed&quot; the button will still show.  I built a temporary patch for this with the following code:")        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 11 years 7 months ago, by [MichaelTunnell](/forum/user/31931-michaeltunnell "View MichaelTunnell's Profile")       [Last Post](/forum/31-development/876015-potential-bug-orders-listing-payment-button#198091 "Hello Jerome, I have the same problem, and I don't understand clearly how to solve it : what do you mean by configuring Hikashop to display the button ? Where can I do that ? And what should be the right order statuses configuration ?? Many thanks  EDIT: I found. The field to be configured is Unpaid order statuses.") 11 years 7 months ago     by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile") | Replies:5  Views:887 | [Last Post](/forum/31-development/876015-potential-bug-orders-listing-payment-button#198091 "Hello Jerome, I have the same problem, and I don't understand clearly how to solve it : what do you mean by configuring Hikashop to display the button ? Where can I do that ? And what should be the right order statuses configuration ?? Many thanks  EDIT: I found. The field to be configured is Unpaid order statuses.") by [marremp2](/forum/user/35420-marremp2 "View marremp2's Profile")      11 years 7 months ago |
| [](/forum/31-development/876216-how-to-make-these-two-on-the-same-level) | [how to make these two on the same level?](/forum/31-development/876216-how-to-make-these-two-on-the-same-level "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.1.0 -- Browser(s) name and version -- : Chrome newest version -- Error-message(debug-mod must be tuned on) -- : how to make this pic and title on the same level?  how to make these two on the same level? the right area top should be the same level as the top of right image.how to customize this ?")         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 11 years 7 months ago, by [ggbnet](/forum/user/33870-ggbnet "View ggbnet's Profile")       [Last Post](/forum/31-development/876216-how-to-make-these-two-on-the-same-level#197590 "Hello, To do that you'll just have to use some CSS code :   www.hikashop.com/support/documentation/1...the-display.html#css") 11 years 7 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:1  Views:794 | [Last Post](/forum/31-development/876216-how-to-make-these-two-on-the-same-level#197590 "Hello, To do that you'll just have to use some CSS code :   www.hikashop.com/support/documentation/1...the-display.html#css") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      11 years 7 months ago |
| [](/forum/31-development/876204-update-database-when-product-number-decrease) | [update database when product number decrease](/forum/31-development/876204-update-database-when-product-number-decrease "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.8 -- PHP version -- : 5.5.8  Which is the best way to update some data in the table when a product has been buy and we want that event launch a php file to modify some data ? The mass action documentation say that mass action can be use after a product has been create . Does this occur automaticly ? Does it mean we can when a product has been buy use/call wit h dynamic parameter ( product properties) a precreate a php file ( I think it is a module ) that ll launch mass action ?  Does Mass action can be a handwriting php file instead create it using the mass action GUI backend ? Does the file generate by mass action is declarative or is a php file ?  I have some clue about the anwsers but ask to have confirmation . I think HKS and joomla are great for developper when need custom extension . regard's")        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 11 years 7 months ago, by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")       [Last Post](/forum/31-development/876204-update-database-when-product-number-decrease#197524 "Hi,  I don't think that there is a need to use mass actions for what you want to do. Simply create a plugin of the group &quot;hikashop&quot; and implement the &quot;onAfterOrderUpdate&quot; trigger. Check the $order-&gt;order&#95;status variable and the $order-&gt;old-&gt;order&#95;status variable so that the new one is confirmed and the old one is created and you'll know that the order has just been confirmed. At that point, just run your PHP and do whatever you need to.") 11 years 7 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:933 | [Last Post](/forum/31-development/876204-update-database-when-product-number-decrease#197524 "Hi,  I don't think that there is a need to use mass actions for what you want to do. Simply create a plugin of the group &quot;hikashop&quot; and implement the &quot;onAfterOrderUpdate&quot; trigger. Check the $order-&gt;order&#95;status variable and the $order-&gt;old-&gt;order&#95;status variable so that the new one is confirmed and the old one is created and you'll know that the order has just been confirmed. At that point, just run your PHP and do whatever you need to.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 7 months ago |
| [](/forum/31-development/876126-overwrite-hikashop-cart-module) | [overwrite hikashop cart module](/forum/31-development/876126-overwrite-hikashop-cart-module "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : want to overwrite  Hi, how can i overwrite hikashop cart module ? i need to change/add something n hikashop cart module, i have tried by 'template/html/mod&#95;hikashop&#95;cart/mod&#95;hikashop&#95;cart.php' but i am not getting any success. can anyone help me on this issue ?")        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 11 years 7 months ago, by [rifatwahid](/forum/user/36770-rifatwahid "View rifatwahid's Profile")       [Last Post](/forum/31-development/876126-overwrite-hikashop-cart-module#197084 "Hi,  You have to edit the view &quot;product / cart&quot;.   www.hikashop.com/support/support/documen...ize-the-display.html") 11 years 7 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:1  Views:919 | [Last Post](/forum/31-development/876126-overwrite-hikashop-cart-module#197084 "Hi,  You have to edit the view &quot;product / cart&quot;.   www.hikashop.com/support/support/documen...ize-the-display.html") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      11 years 7 months ago |
| [](/forum/31-development/875885-creating-new-functionality) | [Creating new functionality](/forum/31-development/875885-creating-new-functionality "-- HikaShop version -- : Starter 3.2 -- Joomla version -- : 3.3  Has anybody built a feature like this in Hikashop? Want to find out if its possible   www.macaroon.co/macaroon/content/en/maca...&amp;Classic-Scan---Pink  Thanks Earl")        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 11 years 7 months ago, by [eddyport](/forum/user/12775-eddyport "View eddyport's Profile")       [Last Post](/forum/31-development/875885-creating-new-functionality#195894 "Hello Earl, Note that this can be partially be done by using Characteristics (&quot;Hikashop-&gt;Products-&gt;Characteristics&quot;), and item custom fields (&quot;Hikashop-&gt;Display-&gt;Custom fields&quot;)") 11 years 7 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:1  Views:1382 | [Last Post](/forum/31-development/875885-creating-new-functionality#195894 "Hello Earl, Note that this can be partially be done by using Characteristics (&quot;Hikashop-&gt;Products-&gt;Characteristics&quot;), and item custom fields (&quot;Hikashop-&gt;Display-&gt;Custom fields&quot;)") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      11 years 7 months ago |
| [](/forum/31-development/875745-overriding-controllers) | [Overriding Controllers](/forum/31-development/875745-overriding-controllers "-- HikaShop version -- : any version -- Joomla version -- : 3.4 -- PHP version -- : 5.4  Hello,  I have been called by many customers to fix problems that occurred after they updated their hikashop. The problems are that they have customized hikashop versions, with hacks on the controllers or models.  To fight with this, I am looking for any suggestions on how to overrides controllers or models in hikashop. Is there any good way to achieve this ?  In my current specific case, I only need to override the &#95;doLogin method of the checkout controller. A subclass of checkoutController would work fine - but how?  Or would that possible with a custom plugin?")        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 11 years 7 months ago, by [jmbgreen](/forum/user/24500-jmbgreen "View jmbgreen's Profile")       [Last Post](/forum/31-development/875745-overriding-controllers#195132 "Hi,  You can override a class by creating an override file   www.hikashop.com/forum/product-category-...atermark.html#184987  To override a controller, you need a system plugin which will define the controller class ; so HikaShop will find the class and will not load the original controller file.  Regards,") 11 years 7 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:1  Views:1459 | [Last Post](/forum/31-development/875745-overriding-controllers#195132 "Hi,  You can override a class by creating an override file   www.hikashop.com/forum/product-category-...atermark.html#184987  To override a controller, you need a system plugin which will define the controller class ; so HikaShop will find the class and will not load the original controller file.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      11 years 7 months ago |
| [](/forum/31-development/875528-get-picture-of-product) | [get picture of product](/forum/31-development/875528-get-picture-of-product "-- HikaShop version -- : 2.3.5  hy ,  i want display picture and link to a product  the object $product dont have this information  $productClass = hikashop&#95;get('class.product'); $product=$productClass-&gt;get($product&#95;id);    www.hikashop.com/support/support/documen...umentation.html#code  thanks for help")        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 11 years 8 months ago, by [mcambou1](/forum/user/35608-mcambou1 "View mcambou1's Profile")       [Last Post](/forum/31-development/875528-get-picture-of-product#194960 "awesome !  thanks for help :)") 11 years 7 months ago     by [mcambou1](/forum/user/35608-mcambou1 "View mcambou1's Profile") | Replies:6  Views:1115 | [Last Post](/forum/31-development/875528-get-picture-of-product#194960 "awesome !  thanks for help :)") by [mcambou1](/forum/user/35608-mcambou1 "View mcambou1's Profile")      11 years 7 months ago |
| [](/forum/31-development/868394-first-data-payment-gateway-plugin-is-broke) | [first data payment gateway plugin is broke](/forum/31-development/868394-first-data-payment-gateway-plugin-is-broke "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 2.2.2 -- Joomla version -- : latest -- PHP version -- : latest -- Browser(s) name and version -- : Opera latest, Google Chrome latest, Firefox latest. -- Error-message(debug-mod must be tuned on) -- : N/A Supporting only the legacy accounts of first data. This leads me to wonder into the updating of the existing plugin and subjecting it to the newest api from them included here:")        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 12 years 5 months ago, by [l95theses](/forum/user/29003-l95theses "View l95theses's Profile")       [Last Post](/forum/31-development/868394-first-data-payment-gateway-plugin-is-broke#193949 "  www.hikashop.com/forum/payment-methods/8...guration.html#193947") 11 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:2062 | [Last Post](/forum/31-development/868394-first-data-payment-gateway-plugin-is-broke#193949 "  www.hikashop.com/forum/payment-methods/8...guration.html#193947") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 8 months ago |
| [](/forum/31-development/875364-check-if-cart-is-empty-in-plugin) | [Check if cart is empty in plugin](/forum/31-development/875364-check-if-cart-is-empty-in-plugin "-- HikaShop version -- : 2.3.5  Hello,  please I need to check if a cart is empty in my plugin (onBeforeCartUpdate) I tried everything but I didn't succeed.  Many thanks! Filip")        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 11 years 8 months ago, by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")       [Last Post](/forum/31-development/875364-check-if-cart-is-empty-in-plugin#193170 "Hello Xavier,  that is exacly what I needed. Thanks you!  Filip") 11 years 8 months ago     by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile") | Replies:4  Views:1103 | [Last Post](/forum/31-development/875364-check-if-cart-is-empty-in-plugin#193170 "Hello Xavier,  that is exacly what I needed. Thanks you!  Filip") by [FilipHradil](/forum/user/36153-filiphradil "View FilipHradil's Profile")      11 years 8 months ago |
| [](/forum/31-development/875346-mass-action-failure-after-joomla-update) | [Mass action failure after Joomla update](/forum/31-development/875346-mass-action-failure-after-joomla-update "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4 -- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$joomla&#95;users in /home/underdev/public&#95;html/hunterxci/administrator/components/com&#95;hikashop/classes/massaction.php on line 363  Warning: Invalid argument supplied for foreach() in /home/underdev/public&#95;html/hunterxci/administrator/components/com&#95;hikashop/classes/massaction.php on line 363  Help! I have a mass action setup to export a CSV file when an order is created. It was working fine in Joomla 3.3.6 but now after updating to 3.4 it does not create the CSV file and when I try and process the action in the backend I get:  Notice: Undefined property: stdClass::$joomla&#95;users in /home/underdev/public&#95;html/hunterxci/administrator/components/com&#95;hikashop/classes/massaction.php on line 363  Warning: Invalid argument supplied for foreach() in /home/underdev/public&#95;html/hunterxci/administrator/components/com&#95;hikashop/classes/massaction.php on line 363  What is going wrong?")        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 11 years 8 months ago, by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")       [Last Post](/forum/31-development/875346-mass-action-failure-after-joomla-update#192786 "Hi,  It seems that there is an issue with the example data. Please check if you have orders assigned to the user with the address If it is, please delete these orders.  If you don't have that kind of orders, then the error can come from an entry error in the #&#95;&#95;hikashop&#95;user table, a user&#95;cms&#95;id is maybe not corresponding to any id in the table #&#95;&#95;users.") 11 years 8 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:1  Views:951 | [Last Post](/forum/31-development/875346-mass-action-failure-after-joomla-update#192786 "Hi,  It seems that there is an issue with the example data. Please check if you have orders assigned to the user with the address If it is, please delete these orders.  If you don't have that kind of orders, then the error can come from an entry error in the #&#95;&#95;hikashop&#95;user table, a user&#95;cms&#95;id is maybe not corresponding to any id in the table #&#95;&#95;users.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      11 years 8 months ago |
| [](/forum/31-development/872178-custom-field-with-product-option-variant) | [Custom Field with Product Option variant](/forum/31-development/872178-custom-field-with-product-option-variant "Hello  first of sorry for my bad English :)  I have one requirement in Hikashop product detail page. in that i have set one option variant with product like gift message. when gift option is select then 3 more custom field will be shown to user field like is .TO,FROM,MESSGAE how it will possible&gt;")        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 12 years 1 month ago, by [haresh123](/forum/user/34469-haresh123 "View haresh123's Profile")       [Last Post](/forum/31-development/872178-custom-field-with-product-option-variant#191517 "I found out how to do it. I am still experimenting. But, I think I have it under control.") 11 years 8 months ago     by [tbroderick](/forum/user/36185-tbroderick "View tbroderick's Profile") | Replies:3  Views:1244 | [Last Post](/forum/31-development/872178-custom-field-with-product-option-variant#191517 "I found out how to do it. I am still experimenting. But, I think I have it under control.") by [tbroderick](/forum/user/36185-tbroderick "View tbroderick's Profile")      11 years 8 months ago |
| [](/forum/31-development/875056-show-the-category-image-in-product-list) | [show the category image in product list.](/forum/31-development/875056-show-the-category-image-in-product-list "-- HikaShop version -- : HikaShop Business 2.3.4 -- Joomla version -- : Joomla 3.3 -- PHP version -- : 5.3.10-1ubuntu3.15 -- Browser(s) name and version -- : mozila &amp; chrome  Hi Sir, if product image does not exists.then I want to show the category image on that products in categories product, product details, recently viewed, related products and also add to cart product list.which products exists on that category.how can customize the hikashop components.please help me ASAP.  Thanks, Pravin Yadav")         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 11 years 8 months ago, by [pravin](/forum/user/36013-pravin "View pravin's Profile")       [Last Post](/forum/31-development/875056-show-the-category-image-in-product-list#191261 "Hi,  This will require the edition of the view &quot;product / listing&#95;img&#95;title&quot;. And in this view, you will have to get the image attached to the category of the current product if the product image path is equal to the default one. And once you have the file&#95;path, replace the one of the product by the one of the category.  It require php knowledges.") 11 years 8 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:3  Views:1009 | [Last Post](/forum/31-development/875056-show-the-category-image-in-product-list#191261 "Hi,  This will require the edition of the view &quot;product / listing&#95;img&#95;title&quot;. And in this view, you will have to get the image attached to the category of the current product if the product image path is equal to the default one. And once you have the file&#95;path, replace the one of the product by the one of the category.  It require php knowledges.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      11 years 8 months ago |
| [](/forum/31-development/875045-nothing-appends-with-a-simple-plugin) | [Nothing appends with a simple plugin](/forum/31-development/875045-nothing-appends-with-a-simple-plugin "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.4 -- PHP version -- : 5.3.13  I don't understand, I try to do something with a very simple plugin  class plgHikashopMembership extends JPlugin { function plgHikashopMembership(&amp;$subject, $config){ parent::&#95;&#95;construct($subject, $config); if(!isset($this-&gt;params)){ $plugin = JPluginHelper::getPlugin('hikashop', 'membership'); if(version&#95;compare(JVERSION,'2.5','params = new JParameter($plugin-&gt;params); } else { $this-&gt;params = new JRegistry($plugin-&gt;params); } } }  function onAfterOrderCreate(&amp;$order,&amp;$send&#95;email){ return $this-&gt;onAfterOrderUpdate($order,$send&#95;email); }  function onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email){ $mainframe = JFactory::getApplication(); $mainframe-&gt;enqueueMessage('The customer '); return true; }  function onAfterOrderDelete($elements){ $mainframe-&gt;enqueueMessage('Order delete '); return true; }  function onProductBlocksDisplay(&amp;$product, &amp;$html){ $mainframe-&gt;enqueueMessage('Produit id = '.$product-&gt;product&#95;id); return true; } }  and nothing appends  the plugin is activate and when I include an error, I have an error, I'm sure is running but no message appears")        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 11 years 8 months ago, by [webcrea](/forum/user/20598-webcrea "View webcrea's Profile")       [Last Post](/forum/31-development/875045-nothing-appends-with-a-simple-plugin#191050 "Hi,  The code looks ok. So I would recommend to check your plugin XML. It needs to match with the class name of the php file. I'm suspecting that the class name is wrong in your php file based on what you put in the XML file and thus Joomla is looking for another class name which it doesn't find in the file and thus just doesn't run your code. You get the error because it's a parsing error and PHP parses the file in order to check for the class but that doesn't mean that the class name is correct for what Joomla expects.") 11 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:859 | [Last Post](/forum/31-development/875045-nothing-appends-with-a-simple-plugin#191050 "Hi,  The code looks ok. So I would recommend to check your plugin XML. It needs to match with the class name of the php file. I'm suspecting that the class name is wrong in your php file based on what you put in the XML file and thus Joomla is looking for another class name which it doesn't find in the file and thus just doesn't run your code. You get the error because it's a parsing error and PHP parses the file in order to check for the class but that doesn't mean that the class name is correct for what Joomla expects.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 8 months ago |
| [](/forum/31-development/874973-help-with-persistent-anonymous-cart) | [Help with persistent anonymous cart](/forum/31-development/874973-help-with-persistent-anonymous-cart "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : Chrome 40.0.2214.111  I should probably provide a bit of context.  One of our requirements is to store a comment per cart and per product item. Our client has expressed that THEY DO NOT WANT USERS TO LOGIN (If so, we could have made use of the wishlist). With that requirement and constraint, we decided to augment the cart itself since guest carts were available and I began to build a plugin that would, at least for product items, fulfill that requirement (called a 'wishcart'). I created a hikashop 'view' to be added to the checkout workflow. I also set the $go&#95;back to true in onAfterCheckoutStep - this essentially created an anonymous persistent cart which is what our client desired. I also overrode the checkout/cart.php to:  1. add a textarea for note capture 2. perform a query that would set the value of the textarea to the note previously entered - of course, only if our custom table exists and there was a note found for the cart product item. 3. 'repurposed' the quantity update icon to submit the form (I just removed the condition where the input value had to be different from the last known product quantity)  I got the plugin to a stable working state in a local sandbox and of course, when installing on a live server, things got a bit strange. So now when the form submits, the checkout process appears to be completed (we receive a message saying &quot;Thanks for your purchase&quot;), but there is a sidebar cart module as well and that remains, so I know the cart hasn't been removed and the checkout process hasn't completed. This was a strange requirement to begin and I think I'm more confused than I ever was. I can provide back-end / ftp info is that will help you diagnose things.  Thanks in advance,  Tony")         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 11 years 9 months ago, by [tonytaylor](/forum/user/35734-tonytaylor "View tonytaylor's Profile")       [Last Post](/forum/31-development/874973-help-with-persistent-anonymous-cart#190666 "Nevermind B)  Found the error - it was in the template.") 11 years 9 months ago     by [tonytaylor](/forum/user/35734-tonytaylor "View tonytaylor's Profile") | Replies:1  Views:1003 | [Last Post](/forum/31-development/874973-help-with-persistent-anonymous-cart#190666 "Nevermind B)  Found the error - it was in the template.") by [tonytaylor](/forum/user/35734-tonytaylor "View tonytaylor's Profile")      11 years 9 months ago |
| <a id="forumbottom"> </a> [   ](#forumtop) |  |

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

Time to create page: 0.058 seconds

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