[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/908148-how-to-put-a-conent-in-cart-area-when-cart-is-empty) | [how to put a conent in Cart area when cart is empty](/forum/31-development/908148-how-to-put-a-conent-in-cart-area-when-cart-is-empty "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, Hope u do great. I need to put content, an image with text to tell customers that their cart is empty more graphically instead of a simple message that says &quot;Your cart is empty&quot;. What should I do to put content in the cart area when it is empty? Is it possible to build a module position and assign a Joomla custom module to it to display the content?  Thanks in advance Best regards")        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 2 years 6 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908148-how-to-put-a-conent-in-cart-area-when-cart-is-empty#360922 "The simple solution always works better! Great Thanks") 2 years 6 months ago     by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile") | Replies:2  Views:683 | [Last Post](/forum/31-development/908148-how-to-put-a-conent-in-cart-area-when-cart-is-empty#360922 "The simple solution always works better! Great Thanks") by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")      2 years 6 months ago |
| [](/forum/31-development/908106-google-issues) | [Google issues](/forum/31-development/908106-google-issues "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 3.10.12  Hi!  Google sends this message often:  &quot;Search Console has found that your site is affected by 1 problems Structured data Merchant listings. The following problems were detected on your site. We recommend fixing these issues when possible to ensure the best experience and coverage on Google Search&quot;  and  Main problems of secondary importance‡ &quot;description&quot; field is missing  I don't know how to fix it. Could you help me we this?  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 2 years 6 months ago, by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")       [Last Post](/forum/31-development/908106-google-issues#360720 "Hi,  Note that these are not errors, just warnings.  It says that you have one product without any description. So find that product and add a description to it, and this warning won't appear.  For the shippingDetails and hasMerchantReturnPolicy, you want to configure your account for this:   support.google.com/merchants/answer/1257...76448-839832232&amp;rd=1    developers.google.com/search/blog/2023/0...ns-information?hl=en") 2 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:798 | [Last Post](/forum/31-development/908106-google-issues#360720 "Hi,  Note that these are not errors, just warnings.  It says that you have one product without any description. So find that product and add a description to it, and this warning won't appear.  For the shippingDetails and hasMerchantReturnPolicy, you want to configure your account for this:   support.google.com/merchants/answer/1257...76448-839832232&amp;rd=1    developers.google.com/search/blog/2023/0...ns-information?hl=en") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 6 months ago |
| [](/forum/31-development/908009-change-product-listing-layout) | [Change Product listing layout](/forum/31-development/908009-change-product-listing-layout "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.0.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, Hope you do great. I need to change the layout of my product listing page for each product, as the default image is on the first row then the price and name of product. I need to change the order, for example, I need to show the product name before the price. Which file do I need to edit to override the default template? Thanks in advanced")         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 2 years 7 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908009-change-product-listing-layout#360183 "Hi,  It's probably the view file product / listing&#95;img&#95;title To check which view file to edit the best is to activate the &quot;Display view files&quot; setting of the HikaShop configuration and then look at the page you want to change. Then, you can edit it via the menu Display&gt;Views. Note that there is a drag &amp; drop interface there so you can change the order easily with it.") 2 years 7 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:786 | [Last Post](/forum/31-development/908009-change-product-listing-layout#360183 "Hi,  It's probably the view file product / listing&#95;img&#95;title To check which view file to edit the best is to activate the &quot;Display view files&quot; setting of the HikaShop configuration and then look at the page you want to change. Then, you can edit it via the menu Display&gt;Views. Note that there is a drag &amp; drop interface there so you can change the order easily with it.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 7 months ago |
| [](/forum/31-development/907895-plugin-not-triggered) | [Plugin not triggered](/forum/31-development/907895-plugin-not-triggered "-- HikaShop version -- : 5.0.3 -- Joomla version -- : 4.4.3 -- PHP version -- : 8.1.27  Hi, I'm writing a plugin and I'm stuck at a very basic step : the plugin is not triggered.  My plugin is &quot;discovered&quot; installed and enabled. It's inside the directory /plugins/hikashop/plgHikashopTest/  I've stripped the php file &quot;plgHikashopTest.php&quot; at the bare minimum as is :  the xml &quot;plgHikashopTest.xml&quot; is :  So if triggered when a product is created or updated it should, well… die. Nothing is triggered! Nothing die.  Any idea? 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 2 years 8 months ago, by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")       [Last Post](/forum/31-development/907895-plugin-not-triggered#359763 "Guilty as charged, it's been a long time since I created a Joomla plugin and I forgot the name thing... Thanks!") 2 years 8 months ago     by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile") | Replies:2  Views:842 | [Last Post](/forum/31-development/907895-plugin-not-triggered#359763 "Guilty as charged, it's been a long time since I created a Joomla plugin and I forgot the name thing... Thanks!") by [marcmarc](/forum/user/1529-marcmarc "View marcmarc's Profile")      2 years 8 months ago |
| [](/forum/31-development/907876-quantity-increase-or-decrease-wont-work) | [Quantity increase or decrease won't work](/forum/31-development/907876-quantity-increase-or-decrease-wont-work "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.0.3 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, Hope u are all great. I have a problem with the quantity box which does not increase or decrease the quantity when clicking on + or -. for the first time when it is not shown, when you click on the add to cart button it increases quantity to 1 but it got frezed on number 1. what should I do? Thanks in advance  my show&#95;default.php 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 2 years 8 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/907876-quantity-increase-or-decrease-wont-work#359718 "Hi,  I would recommend turning off the &quot;synchronized add to cart&quot; setting of the HikaShop configuration and configuring the &quot;Quantity input method&quot; setting there to not display a quantity input field. That way, the user will be able to use each add to cart button on the page, and use them several times if he needs to add the product several times in the cart. Otherwise, if you really need to have a quantity input field, I would recommend not duplicating the add to cart area. Having several quantity input fields with several add to cart buttons in the same HTML form won't work properly and you'll struggle trying to do what you're trying to do at the moment. It's not impossible but quite complex to achieve with the way the product page is made in HikaShop, even for me.") 2 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:4  Views:908 | [Last Post](/forum/31-development/907876-quantity-increase-or-decrease-wont-work#359718 "Hi,  I would recommend turning off the &quot;synchronized add to cart&quot; setting of the HikaShop configuration and configuring the &quot;Quantity input method&quot; setting there to not display a quantity input field. That way, the user will be able to use each add to cart button on the page, and use them several times if he needs to add the product several times in the cart. Otherwise, if you really need to have a quantity input field, I would recommend not duplicating the add to cart area. Having several quantity input fields with several add to cart buttons in the same HTML form won't work properly and you'll struggle trying to do what you're trying to do at the moment. It's not impossible but quite complex to achieve with the way the product page is made in HikaShop, even for me.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 8 months ago |
| [](/forum/31-development/907856-mail-massaction-variable) | [Mail massaction variable](/forum/31-development/907856-mail-massaction-variable "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=massaction  Bonjour, Je cherche à créer un mass action sur le changement de statut d'une commande pour envoyer un mail avec l'id de la commande. Je n'arrive pas à afficher la valeur du champs order&#95;id. J'ai essayé, comme dans les autres mass action de mettre {order&#95;id}. Pouvez vous m'expliquer comment faire svp ? Bien cordialement.")         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 2 years 8 months ago, by [lapinrouge](/forum/user/11909-lapinrouge "View lapinrouge's Profile")       [Last Post](/forum/31-development/907856-mail-massaction-variable#359633 "Ok, merci beaucoup") 2 years 8 months ago     by [lapinrouge](/forum/user/11909-lapinrouge "View lapinrouge's Profile") | Replies:6  Views:644 | [Last Post](/forum/31-development/907856-mail-massaction-variable#359633 "Ok, merci beaucoup") by [lapinrouge](/forum/user/11909-lapinrouge "View lapinrouge's Profile")      2 years 8 months ago |
| [](/forum/31-development/907855-external-comment-system-under-description-section) | [external comment system under description section](/forum/31-development/907855-external-comment-system-under-description-section "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.0.3 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, Hope you do great! Is it possible to show the external comment system under the &quot;description&quot; section? At the moment it showing under all sections in the product page. comment systems are all located in the show.php file, I need them in the show&#95;default.php file to arrange them as I mention. Thanks in advance")        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 2 years 8 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/907855-external-comment-system-under-description-section#359575 "Hi,  If you know PHP and HTML you should be able to move the code from one view file to the other. Beware though that the comment area usually has its own HTML form and the whole show&#95;default view is inside the product page HTML form element. And you can't have a form inside another form in HTML. That's not valid. So that means you'll also have to move the HTML form tags and hidden input fields from the show view to the show&#95;default view so that you can keep the comment area outside of the HTML form of the product page. So it's not a simple copy / paste.") 2 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:618 | [Last Post](/forum/31-development/907855-external-comment-system-under-description-section#359575 "Hi,  If you know PHP and HTML you should be able to move the code from one view file to the other. Beware though that the comment area usually has its own HTML form and the whole show&#95;default view is inside the product page HTML form element. And you can't have a form inside another form in HTML. That's not valid. So that means you'll also have to move the HTML form tags and hidden input fields from the show view to the show&#95;default view so that you can keep the comment area outside of the HTML form of the product page. So it's not a simple copy / paste.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 8 months ago |
| [](/forum/31-development/907785-attempt-to-assign-property-currency-locale-on-null) | [Attempt to assign property "currency\_locale" on null](/forum/31-development/907785-attempt-to-assign-property-currency-locale-on-null "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.0.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox -- Error-message(debug-mod must be tuned on) -- : An error has occurred.  0 Attempt to assign property &quot;currency&#95;locale&quot; on null  Call Stack # Function Location 1 () JROOT&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;currency.php:2935 2 hikashopCurrencyClass-&gt;checkLocale() JROOT&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;currency.php:53 3 hikashopCurrencyClass-&gt;get() JROOT&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;currency.php:2278 4 hikashopCurrencyClass-&gt;save() JROOT&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;config.php:117 5 hikashopConfigClass-&gt;save() JROOT&#92;administrator&#92;components&#92;com&#95;hikashop&#92;controllers&#92;config.php:87 6 ConfigController-&gt;store() JROOT&#92;administrator&#92;components&#92;com&#95;hikashop&#92;controllers&#92;config.php:33 7 ConfigController-&gt;apply() JROOT&#92;libraries&#92;src&#92;MVC&#92;Controller&#92;BaseController.php:730 8 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT&#92;administrator&#92;components&#92;com&#95;hikashop&#92;helpers&#92;helper.php:2554 9 hikashopController-&gt;execute() JROOT&#92;administrator&#92;components&#92;com&#95;hikashop&#92;hikashop.php:73 10 require&#95;once() JROOT&#92;libraries&#92;src&#92;Dispatcher&#92;LegacyComponentDispatcher.php:71 11 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT&#92;libraries&#92;src&#92;Dispatcher&#92;LegacyComponentDispatcher.php:73 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT&#92;libraries&#92;src&#92;Component&#92;ComponentHelper.php:361 13 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT&#92;libraries&#92;src&#92;Application&#92;AdministratorApplication.php:150 14 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;dispatch() JROOT&#92;libraries&#92;src&#92;Application&#92;AdministratorApplication.php:195 15 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;doExecute() JROOT&#92;libraries&#92;src&#92;Application&#92;CMSApplication.php:306 16 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT&#92;administrator&#92;includes&#92;app.php:58 17 require&#95;once() JROOT&#92;administrator&#92;index.php:32  Hi, I got an error while saving the hikashop configuration in the administrator area, the error is &quot; Attempt to assign property &quot;currency&#95;locale&quot; on null &quot;, what should I do to fix this problem? Thanks in advance")         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 2 years 8 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/907785-attempt-to-assign-property-currency-locale-on-null#359281 "Wonderful! It's worked! Thanks so much") 2 years 8 months ago     by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile") | Replies:2  Views:792 | [Last Post](/forum/31-development/907785-attempt-to-assign-property-currency-locale-on-null#359281 "Wonderful! It's worked! Thanks so much") by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")      2 years 8 months ago |
| [](/forum/31-development/907334-getting-product-badges-from-php) | [Getting product badges from PHP](/forum/31-development/907334-getting-product-badges-from-php "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.1  Hi  I have a PHP function that returns a product from Hikashop based on the product id. The relevant code is:  However, the returned product object from $productClass-&gt;getProduct($id) is not &quot;complete&quot; when I compare it to what I see directly in a product listing view. E.g. it does not contains any badges.  Does Hikashop have a way to enrich the product object with badges?  Merci")        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 2 years 11 months ago, by [dyvel](/forum/user/39996-dyvel "View dyvel's Profile")       [Last Post](/forum/31-development/907334-getting-product-badges-from-php#356919 "Never mind - that was easier than I thought :-) I just added these 2 lines of code:") 2 years 11 months ago     by [dyvel](/forum/user/39996-dyvel "View dyvel's Profile") | Replies:1  Views:831 | [Last Post](/forum/31-development/907334-getting-product-badges-from-php#356919 "Never mind - that was easier than I thought :-) I just added these 2 lines of code:") by [dyvel](/forum/user/39996-dyvel "View dyvel's Profile")      2 years 11 months ago |
| [](/forum/31-development/907224-function-addattachment-in-onafterordercreate) | [function addAttachment in onAfterOrderCreate](/forum/31-development/907224-function-addattachment-in-onafterordercreate "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.0.3 -- PHP version -- : 7.4.33 -- Browser(s) name and version -- : browser and version independent -- Error-message(debug-mod must be tuned on) -- : no error message  Hi, I am trying to develope Hikashop payment plugin, what will generate a payment QR code. It works properly except one issue - I am not able to add image with QR code as attachment to email. I used this:  public function onAfterOrderCreate(&amp;$order, &amp;$send&#95;email) { $qrCodeFile = JPATH&#95;ROOT . '/images/qrcode.png'; $mailer = JFactory::getMailer(); $mailer-&gt;addAttachment($qrCodeFile, 'qrcode.png'); $send&#95;email = true; } There are no error messages, everything seems to be fine, but email order confirmation comes without the attachment. Path of the file is OK, the file exists, attachments are allowed in the settings in Hikashop. could anyone give me some advice?")        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 3 years 1 week ago, by [Dasa](/forum/user/79122-dasa "View Dasa's Profile")       [Last Post](/forum/31-development/907224-function-addattachment-in-onafterordercreate#356457 "Hi,  Check the $mail variable and you'll see that you have the necessary data in there. I would add something like that:") 3 years 6 days ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:7  Views:897 | [Last Post](/forum/31-development/907224-function-addattachment-in-onafterordercreate#356457 "Hi,  Check the $mail variable and you'll see that you have the necessary data in there. I would add something like that:") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 6 days ago |
| [](/forum/31-development/889826-onafterorderupdate-custom-plugin) | [onAfterOrderUpdate custom plugin](/forum/31-development/889826-onafterorderupdate-custom-plugin "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0.10  I'm trying to write a plugin to perform additional tasks after PayPal payment is recieved. For instance assign points in Jomsocial.  I took the original points plugin and started modifing it. Trying to use the two events:  This event works and the '$this-&gt;awardDonationRewards($order)' gets pharsed before I get javascript redirected to PayPal.  Doesn't work as expected. Offcourse this is test code. Ultimately I go to $this-&gt;awardDonationRewards($order) again. I had the impression to get a blank page with just one word as result when returning from PayPal. Instead it gives me the full thank you page from the link 'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id=103&amp;Itemid=580'.  In the administrator I can see the order being changed from 'created' to 'confirmed'.  When I manually edit the order status in the administrator this event gets triggered.  Any ideas how to achieve extra functions after payment and return from PayPal back to my site?")        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 [mindgem](/forum/user/49449-mindgem "View mindgem's Profile")       [Last Post](/forum/31-development/889826-onafterorderupdate-custom-plugin#355074 "Working perfectly now - cheers!") 3 years 2 months ago     by [NTV](/forum/user/69623-ntv "View NTV's Profile") | Replies:9  Views:2631 | [Last Post](/forum/31-development/889826-onafterorderupdate-custom-plugin#355074 "Working perfectly now - cheers!") by [NTV](/forum/user/69623-ntv "View NTV's Profile")      3 years 2 months ago |
| [](/forum/31-development/906913-change-hikashop-order-status-from-external-code) | [Change hikashop order status from external code](/forum/31-development/906913-change-hikashop-order-status-from-external-code "-- HikaShop version -- : 4.7.3  Hi, Is there any way to change hikashop order status with an extarnal php code and send the order status email to the user as well?  I make a hikashop webshop which is connected to a billing software which is connected to the bank. When the user choose bank wire, he got a fee request form (like a pre invoice) and when the transfer is made then the invoice is automatically generated. In this state I have to modify the order status in hikashop to close the order. I can get the payment status from the billing software and I would like to change the order status in hikashop to completed and send the email to the user.  I hope it's clear, and possible.  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 3 years 2 months ago, by [Petike1007](/forum/user/12229-petike1007 "View Petike1007's Profile")       [Last Post](/forum/31-development/906913-change-hikashop-order-status-from-external-code#355054 "Hi,  No. onAfterOrderUpdate is definitely triggered if you're calling the save function. I suppose that the problem is with how you check that your code is running. When you change the status of an order in the backend, it is done via an ajax HTTP request. And the output of that request is not necessarily displayed. So to make sure that the event is being called, I would recommend using a call to the hikashop&#95;writeToLog() function. You can pass to it some text as the first parameter and that text will be logged in the &quot;payment log file&quot; setting of the HikaShop configuration. That way, you can make sure that the event is called even if nothing outputs on the browser during the process.") 3 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:19.1k | [Last Post](/forum/31-development/906913-change-hikashop-order-status-from-external-code#355054 "Hi,  No. onAfterOrderUpdate is definitely triggered if you're calling the save function. I suppose that the problem is with how you check that your code is running. When you change the status of an order in the backend, it is done via an ajax HTTP request. And the output of that request is not necessarily displayed. So to make sure that the event is being called, I would recommend using a call to the hikashop&#95;writeToLog() function. You can pass to it some text as the first parameter and that text will be logged in the &quot;payment log file&quot; setting of the HikaShop configuration. That way, you can make sure that the event is called even if nothing outputs on the browser during the process.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 2 months ago |
| [](/forum/31-development/906894-payment-plugin-write-to-log-is-not-working) | [Payment plugin write to log is not working](/forum/31-development/906894-payment-plugin-write-to-log-is-not-working "-- HikaShop version -- : 4.7.5 -- Joomla version -- : latest 4 -- PHP version -- : 8.1  Hi  I developed a payment plugin for payever based on your example. Since moving to J4 the Payment Log will not updated anymore based on your example  I checked the paypal plugins and saw that you worked now with  but just this statement in my plugin is not working. hikashop&#95;writeToLog(&quot;test&quot;);  Anything additonally needed to instantiate this function ? Thanks and best regards Markus")        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 3 years 2 months ago, by [Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")       [Last Post](/forum/31-development/906894-payment-plugin-write-to-log-is-not-working#354722 "Hi Nicolas,  that worked. I tried the Plugins and also the error is fixed.  Thanks and best regards Markus") 3 years 2 months ago     by [Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile") | Replies:4  Views:1098 | [Last Post](/forum/31-development/906894-payment-plugin-write-to-log-is-not-working#354722 "Hi Nicolas,  that worked. I tried the Plugins and also the error is fixed.  Thanks and best regards Markus") by [Markus Schnier](/forum/user/44597-markus-schnier "View Markus Schnier's Profile")      3 years 2 months ago |
| [](/forum/31-development/906745-cartclass-hikashop-get-class-cart) | [$cartClass = hikashop\_get('class.cart')](/forum/31-development/906745-cartclass-hikashop-get-class-cart "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2  $cartClass = hikashop&#95;get('class.cart');  hi want to check for above class, how many method are available there?  i know there is loadfullcart and update  any other methods?  and is there any documentation for update() ?")        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 3 years 3 months ago, by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")       [Last Post](/forum/31-development/906745-cartclass-hikashop-get-class-cart#353582 "Hi,  Check the file administrator/components/com&#95;hikashop/classes/cart.php and you can find all the methods available in it.") 3 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:802 | [Last Post](/forum/31-development/906745-cartclass-hikashop-get-class-cart#353582 "Hi,  Check the file administrator/components/com&#95;hikashop/classes/cart.php and you can find all the methods available in it.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 3 months ago |
| [](/forum/31-development/906566-template-override-alternative-layout-seen-as-task) | [template override / alternative layout seen as task](/forum/31-development/906566-template-override-alternative-layout-seen-as-task "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1  Hi,  We are building an alternative layout for making the display of the prices easier en are facing an issue that we don't understand.  For some reasons, we have not yet figured out, our override is seen and used as a task (listing-custom). So now when we assign our override and go to this menu it gives us an &quot;Access forbidden&quot; message. Although this is the name of the override.xml (listing-custom.xml) we cannot understand why this is used as task and authorised as such.  Maybe you know why this is and what we need to change to make it work?  Thanks in advance for any tips.")        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 3 years 4 months ago, by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")       [Last Post](/forum/31-development/906566-template-override-alternative-layout-seen-as-task#352813 "Hi Nicolas,  Thank you, the update solved our issue.") 3 years 4 months ago     by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile") | Replies:6  Views:953 | [Last Post](/forum/31-development/906566-template-override-alternative-layout-seen-as-task#352813 "Hi Nicolas,  Thank you, the update solved our issue.") by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")      3 years 4 months ago |
| [](/forum/31-development/906559-error-in-php-202) | [error in php 202](/forum/31-development/906559-error-in-php-202 "-- HikaShop version -- : 4.73 -- Joomla version -- : 4 -- PHP version -- : 8 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : good afternoon guys i have this error Deprecated : Creation of dynamic property plgSystemHikashopgeolocation::$geolocation is deprecated in C:&#92;xamp&#92;htdocs&#92;lefala&#92;plugins&#92;system&#92;hikashopgeolocation&#92;hikashopgeolocation.php on line 202  good afternoon guys i have this error Deprecated : Creation of dynamic property plgSystemHikashopgeolocation::$geolocation is deprecated in C:&#92;xamp&#92;htdocs&#92;lefala&#92;plugins&#92;system&#92;hikashopgeolocation&#92;hikashopgeolocation.php on line 202")        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 3 years 4 months ago, by [jor1292ct](/forum/user/60791-jor1292ct "View jor1292ct's Profile")       [Last Post](/forum/31-development/906559-error-in-php-202#352504 "Hi,  Thanks for your feedback. You must be on PHP 8.2 Please note that this is not an error. This is a message from PHP to developers to let them know that in the next version of PHP, something will change which will generate an error if the code is not changed. Normally, that message should not appear on a production website. So I would recommend turning off the &quot;error reporting&quot; setting of the Joomla configuration, or properly configuring the php.ini of the server to not output deprecation messages.  Of course, we're going to change the code to not have the deprecation message so that HikaShop won't get an error there on PHP9. The change is quite simple, it consists on adding the line: public $geolocation; before the line: function &#95;&#95;construct(&amp;$subject, $config){ in the file plugins&#92;system&#92;hikashopgeolocation&#92;hikashopgeolocation.php") 3 years 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:827 | [Last Post](/forum/31-development/906559-error-in-php-202#352504 "Hi,  Thanks for your feedback. You must be on PHP 8.2 Please note that this is not an error. This is a message from PHP to developers to let them know that in the next version of PHP, something will change which will generate an error if the code is not changed. Normally, that message should not appear on a production website. So I would recommend turning off the &quot;error reporting&quot; setting of the Joomla configuration, or properly configuring the php.ini of the server to not output deprecation messages.  Of course, we're going to change the code to not have the deprecation message so that HikaShop won't get an error there on PHP9. The change is quite simple, it consists on adding the line: public $geolocation; before the line: function &#95;&#95;construct(&amp;$subject, $config){ in the file plugins&#92;system&#92;hikashopgeolocation&#92;hikashopgeolocation.php") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 4 months ago |
| [](/forum/31-development/906556-fonction-submitbutton-savemail) | [fonction submitbutton('savemail') ?](/forum/31-development/906556-fonction-submitbutton-savemail "-- url of the page with the problem -- : /administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=edit&amp; -- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.2  Bonjour, Je cherche à modifier la fonction submitbutton('savemail') sur la page d'administration d'une commande pour qu'elle puisse changer le statut de la commande en fonction du mail envoyer (en production, en attente de fichier, ect). Pouvez-vous m'indiquer dans quel fichier se trouve cette fonction ou bien une solution de contournement. J'ai remarqué que dans le formulaire du mail (/administrator/components/com&#95;hikashop/views/order/tmpl/mail.php), il y a des champs cachés pour rajouter des lignes dans l'historique:   nput type=&quot;hidden&quot; name=&quot;data&#91;order&#93;&#91;order&#95;id&#93;&quot; value=&quot;element-&gt;order&#95;id;?&gt;&quot; /&gt;  peut être y a t'il également la possibilité de mettre un champ pour changer le statut de la commande ? Cordialement")        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 3 years 4 months ago, by [lapinrouge](/forum/user/11909-lapinrouge "View lapinrouge's Profile")       [Last Post](/forum/31-development/906556-fonction-submitbutton-savemail#352486 "Bonjour,  Votre requête me semble étrange sur deux points: 1. Lorsque vous éditez une commande, vous avez un bouton pour éditer les informations principales de la commande. Cela permet principalement de changer le statut de la commande, avec une option pour envoyer un email de notification. Et l'email peut être différent en fonction du statut de la commande avec des overrides par statut de l'email &quot;order status notification&quot;. Donc pour moi, ce que vous voulez faire est déjà faisable via ce biais sans aucune modification du code, mais pas via le bouton &quot;email&quot;. 2. Lorsque vous passez par le bouton &quot;email&quot; il n'y a pas d'option pour choisir un email à envoyé. Le système va envoyer l'email &quot;order notification&quot;. Du coup, il doit me manquer une information. Avez-vous déjà rajouté un sélecteur d'email dans le popup du bouton &quot;email&quot; ? - Si oui, et vous voulez garder ce que vous avez, ce que vous pouvez faire c'est d'implémenter l'évènement onAfterMailSend($mail, &amp;$mailer, $mail&#95;success) dans un plugin du groupe &quot;hikashop&quot;. Votre code sera appelé à chaque fois qu'HikaShop envoie un email et vous pourrez ensuite vérifier l'email qui vient d'être envoyé avec $mail-&gt;mail&#95;name, la page actuelle avec les paramètres dans $&#95;REQUEST et les données de la commande correspondante dans $mail-&gt;data pour faire votre save et changer le statut. - Si non, alors je vous recommande de plutôt passer par ce que je décris dans le point 1. Vous vous économiserez plusieurs heures de développement.") 3 years 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:689 | [Last Post](/forum/31-development/906556-fonction-submitbutton-savemail#352486 "Bonjour,  Votre requête me semble étrange sur deux points: 1. Lorsque vous éditez une commande, vous avez un bouton pour éditer les informations principales de la commande. Cela permet principalement de changer le statut de la commande, avec une option pour envoyer un email de notification. Et l'email peut être différent en fonction du statut de la commande avec des overrides par statut de l'email &quot;order status notification&quot;. Donc pour moi, ce que vous voulez faire est déjà faisable via ce biais sans aucune modification du code, mais pas via le bouton &quot;email&quot;. 2. Lorsque vous passez par le bouton &quot;email&quot; il n'y a pas d'option pour choisir un email à envoyé. Le système va envoyer l'email &quot;order notification&quot;. Du coup, il doit me manquer une information. Avez-vous déjà rajouté un sélecteur d'email dans le popup du bouton &quot;email&quot; ? - Si oui, et vous voulez garder ce que vous avez, ce que vous pouvez faire c'est d'implémenter l'évènement onAfterMailSend($mail, &amp;$mailer, $mail&#95;success) dans un plugin du groupe &quot;hikashop&quot;. Votre code sera appelé à chaque fois qu'HikaShop envoie un email et vous pourrez ensuite vérifier l'email qui vient d'être envoyé avec $mail-&gt;mail&#95;name, la page actuelle avec les paramètres dans $&#95;REQUEST et les données de la commande correspondante dans $mail-&gt;data pour faire votre save et changer le statut. - Si non, alors je vous recommande de plutôt passer par ce que je décris dans le point 1. Vous vous économiserez plusieurs heures de développement.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 4 months ago |
| [](/forum/31-development/906411-is-hikashop-compatible-with-joomla-4) | [Is Hikashop compatible with Joomla 4?](/forum/31-development/906411-is-hikashop-compatible-with-joomla-4 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 3.10.11  Hello!  I have to upgrade to Joomla 4, is Hikashop compatible though? Cause i'm doing a pre-check and there Pre-Update Checks Failed including Hikashop.  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 3 years 5 months ago, by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")       [Last Post](/forum/31-development/906411-is-hikashop-compatible-with-joomla-4#351794 "Hi,  HikaShop is of course compatible with Joomla 4. You can ignore what the pre update check says for HikaShop and the plugins included in it. Regarding the Recaptcha plugin, it is not installed/updated with HikaShop. So make sure you have the latest version by downloading it from our website and installing it on yours.") 3 years 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1046 | [Last Post](/forum/31-development/906411-is-hikashop-compatible-with-joomla-4#351794 "Hi,  HikaShop is of course compatible with Joomla 4. You can ignore what the pre update check says for HikaShop and the plugins included in it. Regarding the Recaptcha plugin, it is not installed/updated with HikaShop. So make sure you have the latest version by downloading it from our website and installing it on yours.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 5 months ago |
| [](/forum/31-development/906167-add-to-cart-links-with-options-and-custom-fields) | [Add to Cart links with options and custom fields](/forum/31-development/906167-add-to-cart-links-with-options-and-custom-fields "For a shop that produces products on behalf of the customer, I am creating a page that displays the entered name in a preview and calculates sizes in PHP (as an overview for 20 or more produkts). For...")        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 3 years 7 months ago, by [Dennis.slotta](/forum/user/74303-dennis-slotta "View Dennis.slotta's Profile")       [Last Post](/forum/31-development/906167-add-to-cart-links-with-options-and-custom-fields#350561 "Hi,  You need to add an extra parameter to the URL for each custom item field:   www.hikashop.com/forum/2-general-talk-ab...ct-fields.html#16220") 3 years 7 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1414 | [Last Post](/forum/31-development/906167-add-to-cart-links-with-options-and-custom-fields#350561 "Hi,  You need to add an extra parameter to the URL for each custom item field:   www.hikashop.com/forum/2-general-talk-ab...ct-fields.html#16220") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 7 months ago |
| [](/forum/31-development/905956-where-are-store-product-translations-in-database) | [Where are store Product Translations in database ?](/forum/31-development/905956-where-are-store-product-translations-in-database "Hi  I would like to mass update products and I'm looking for translation but I don't know in what tables they are ? Could you help me ?  Regards")        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 3 years 8 months ago, by [\_Pascal\_](/forum/user/55233-pascal "View &#95;Pascal&#95;'s Profile")       [Last Post](/forum/31-development/905956-where-are-store-product-translations-in-database#349650 "Hi,  reference&#95;id is auto&#95;incremented by MySQL when you insert an entry in the table. It's the id of the translation. You don't need to provide it when you add an entry to that table language&#95;id is the id of the language in Joomla reference&#95;table is the name of the target table. For a product, it should be hikashop&#95;product reference&#95;field is the name of the target column in the target table. For a product description, it should be product&#95;description original&#95;value is the original text to be translated. value is the translated text published needs to be set to 1 The rest of the columns in falang&#95;content are not important.  First, you need to make sure your can translated a Joomla article in the different languages on your frontend. Once that's working, and the Falang driver system plugin is enabled, it will translate the content of HikaShop based on the entries in the falang&#95;content table.") 3 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:4  Views:1014 | [Last Post](/forum/31-development/905956-where-are-store-product-translations-in-database#349650 "Hi,  reference&#95;id is auto&#95;incremented by MySQL when you insert an entry in the table. It's the id of the translation. You don't need to provide it when you add an entry to that table language&#95;id is the id of the language in Joomla reference&#95;table is the name of the target table. For a product, it should be hikashop&#95;product reference&#95;field is the name of the target column in the target table. For a product description, it should be product&#95;description original&#95;value is the original text to be translated. value is the translated text published needs to be set to 1 The rest of the columns in falang&#95;content are not important.  First, you need to make sure your can translated a Joomla article in the different languages on your frontend. Once that's working, and the Falang driver system plugin is enabled, it will translate the content of HikaShop based on the entries in the falang&#95;content table.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 8 months ago |
| <a id="forumbottom"> </a> [   ](#forumtop) |  |

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

Time to create page: 0.054 seconds

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