[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 1 week ago |

##

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post |
|---|---|---|---|
| [](/forum/31-development/892999-extensions-for-hikashop-by-brainforge) | [Extensions for Hikashop by BrainForge](/forum/31-development/892999-extensions-for-hikashop-by-brainforge)        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 8 years 10 months ago, by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")       [Last Post](/forum/31-development/892999-extensions-for-hikashop-by-brainforge#344049 "More extensions for Hikashop available from Brainforge.UK - Section 2  Sales and Order Reports Component    www.brainforge.co.uk/shop/paid-downloads...reports-for-hikashop  Emailoctopus Subscription Management Plugin    www.brainforge.co.uk/shop/paid-downloads...scription-management  Postcode Address Lookup Plugin    www.brainforge.co.uk/shop/paid-downloads...tcode-address-lookup  Unleashed Inventory Management Integration Experience    www.brainforge.co.uk/shop/paid-downloads...nagement-integration  Related Product Categories Plugin    www.brainforge.co.uk/shop/free-downloads...t-categories-listing  Custom Field for Related Articles Plugin    www.brainforge.co.uk/shop/free-downloads...for-related-articles") 4 years 2 months ago     by [brainforge](/forum/user/423-brainforge "View brainforge's Profile") | Replies:2  Views:4519 | [Last Post](/forum/31-development/892999-extensions-for-hikashop-by-brainforge#344049 "More extensions for Hikashop available from Brainforge.UK - Section 2  Sales and Order Reports Component    www.brainforge.co.uk/shop/paid-downloads...reports-for-hikashop  Emailoctopus Subscription Management Plugin    www.brainforge.co.uk/shop/paid-downloads...scription-management  Postcode Address Lookup Plugin    www.brainforge.co.uk/shop/paid-downloads...tcode-address-lookup  Unleashed Inventory Management Integration Experience    www.brainforge.co.uk/shop/paid-downloads...nagement-integration  Related Product Categories Plugin    www.brainforge.co.uk/shop/free-downloads...t-categories-listing  Custom Field for Related Articles Plugin    www.brainforge.co.uk/shop/free-downloads...for-related-articles") by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")      4 years 2 months ago |
|  |
| [](/forum/31-development/910777-vat-online-check-for-united-kingdom) | [VAT online check for United Kingdom](/forum/31-development/910777-vat-online-check-for-united-kingdom "-- HikaShop version -- : 6.5.2  Hello,  I am working on a solution to verify gb vat numbers, documentation here:  I got that working but the integration with Hikashop is not so smooth. Checking the vat code, here: &#92;administrator&#92;components&#92;com&#95;hikashop&#92;helpers&#92;vat.php  I see there is integration with the online check using the trigger onBeforeVATOnlineCheck.  I have 2 issues using this approach:  1. Entering a vat number starting with the letters GB.. causes an error, specifically the error:  To stop that error, I commented out the line 41 in vat.php  2. The vat trigger does not return the right value causing it always be true. The vat trigger reruns an array, while the code is expecting a boolean. Around line 204, I changed this:  To this:  Those 2 core updates allowed the checks to run smoothly. Is it possible to update the vat code? Or am I taking the wrong approach with this?  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 months 1 day ago, by [seyi](/forum/user/28130-seyi "View seyi's Profile")       [Last Post](/forum/31-development/910777-vat-online-check-for-united-kingdom#373179 "Thank you very much. It is working smoothly now.") 1 month 4 weeks ago     by [seyi](/forum/user/28130-seyi "View seyi's Profile") | Replies:4  Views:389 | [Last Post](/forum/31-development/910777-vat-online-check-for-united-kingdom#373179 "Thank you very much. It is working smoothly now.") by [seyi](/forum/user/28130-seyi "View seyi's Profile")      1 month 4 weeks ago |
| [](/forum/31-development/910694-text-falls-of-the-page) | [Text falls of the page](/forum/31-development/910694-text-falls-of-the-page "-- HikaShop version -- : 5.4.7 -- Joomla version -- : 6.3.0  Hi,    prnt.sc/4qJJak9hBai3  As you can see in the photo above, the text is falling off the page. How can I adjust the text so that it doesn't become too small, but still fits on the page?  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 3 months 1 week ago, by [TeamJouwNaambord](/forum/user/83333-teamjouwnaambord "View TeamJouwNaambord's Profile")       [Last Post](/forum/31-development/910694-text-falls-of-the-page#372752 "Hi,  That block is the product custom fields table, and the overflow is a CSS layout issue: the table (and its inputs/help texts) is wider than the column it sits in, so instead of wrapping it spills past the right edge and gets cut off. It is not a HikaShop setting, so the fix is a small CSS rule. It keeps the text at its normal size and simply makes it wrap and fit the available width.  Add this to your template custom CSS (often a user.css file, or a &quot;Custom CSS&quot; field in the template options):  Adjust the 40% if you want the label column narrower or wider. If the inspector shows a different container for your layout (for instance if you use the tabular product layout), right-click the overflowing text, choose Inspect, and use the class shown there instead of hikashop&#95;product&#95;custom&#95;info&#95;main&#95;table.") 3 months 5 days ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:384 | [Last Post](/forum/31-development/910694-text-falls-of-the-page#372752 "Hi,  That block is the product custom fields table, and the overflow is a CSS layout issue: the table (and its inputs/help texts) is wider than the column it sits in, so instead of wrapping it spills past the right edge and gets cut off. It is not a HikaShop setting, so the fix is a small CSS rule. It keeps the text at its normal size and simply makes it wrap and fit the available width.  Add this to your template custom CSS (often a user.css file, or a &quot;Custom CSS&quot; field in the template options):  Adjust the 40% if you want the label column narrower or wider. If the inspector shows a different container for your layout (for instance if you use the tabular product layout), right-click the overflowing text, choose Inspect, and use the class shown there instead of hikashop&#95;product&#95;custom&#95;info&#95;main&#95;table.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 months 5 days ago |
| [](/forum/31-development/910460-email-sending-through-api-and-cli-fail) | [Email sending through api and cli fail](/forum/31-development/910460-email-sending-through-api-and-cli-fail "-- HikaShop version -- : 6.4.0 -- Joomla version -- : 4.4.14 -- PHP version -- : 8.2.30 -- Browser(s) name and version -- : Firefox  Hello,  Starting to do alot more api and command line processes on our site, and having issues with Hikashop sending emails. For example, I have created a custom plugin that is called via joomla cli. Command line code:  In my send&#95;email function I have  When I run the command, I receive this error from Hika subscription:  Debug: #0 &#92;www&#92;administrator&#92;components&#92;com&#95;hikaserial&#92;helpers&#92;helper.php(223): Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;getView() #1 &#92;www&#92;plugins&#92;hikashop&#92;serials&#92;serials.php(358): hikaserial::getLayout() #2 &#92;www&#92;libraries&#92;src&#92;Plugin&#92;CMSPlugin.php(289): plgHikashopSerials-&gt;onAfterOrderProductsListingDisplay() #3 &#92;www&#92;libraries&#92;vendor&#92;joomla&#92;event&#92;src&#92;Dispatcher.php(486): Joomla&#92;CMS&#92;Plugin&#92;CMSPlugin-&gt;Joomla&#92;CMS&#92;Plugin&#92;{closure}() #4 &#92;www&#92;libraries&#92;src&#92;Application&#92;EventAware.php(111): Joomla&#92;Event&#92;Dispatcher-&gt;dispatch() .....  If I disable Hika subscription, Hikashop throws an error:  Debug: #0 &#92;www&#92;libraries&#92;src&#92;MVC&#92;View&#92;HtmlView.php(145): Joomla&#92;CMS&#92;MVC&#92;View&#92;HtmlView-&gt;&#95;setPath() #1 &#92;www&#92;libraries&#92;src&#92;MVC&#92;Factory&#92;LegacyFactory.php(111): Joomla&#92;CMS&#92;MVC&#92;View&#92;HtmlView-&gt;&#95;&#95;construct() #2 &#92;www&#92;libraries&#92;src&#92;MVC&#92;Controller&#92;BaseController.php(581): Joomla&#92;CMS&#92;MVC&#92;Factory&#92;LegacyFactory-&gt;createView() #3 &#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;helpers&#92;helper.php(2537): Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;createView() #4 &#92;www&#92;administrator&#92;components&#92;com&#95;hikashop&#92;helpers&#92;helper.php(996): hikashopBridgeController-&gt;getNewView() .....  I get more or less the same thing when I call the mail function via joomla api system. Any chance you could update the code so emails work offline?  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 6 months 1 week ago, by [seyi](/forum/user/28130-seyi "View seyi's Profile")       [Last Post](/forum/31-development/910460-email-sending-through-api-and-cli-fail#371632 "Hi,  Generating a SEFed URL so that it can be included in an email to be sent during an API call is normal and should be possible from my point of view. The error you're reporting here is a problem in Joomla itself which, I think, should allow for this without having to change that code.  Still, I have made a patch in order to circumvent this. Download again the install package and install it on yours and it should work.") 6 months 4 days ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:531 | [Last Post](/forum/31-development/910460-email-sending-through-api-and-cli-fail#371632 "Hi,  Generating a SEFed URL so that it can be included in an email to be sent during an API call is normal and should be possible from my point of view. The error you're reporting here is a problem in Joomla itself which, I think, should allow for this without having to change that code.  Still, I have made a patch in order to circumvent this. Download again the install package and install it on yours and it should work.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      6 months 4 days ago |
| [](/forum/31-development/908181-price-site-id) | [price\_site\_id](/forum/31-development/908181-price-site-id "Hello. What is the purpose of the price&#95;site&#95;id field in the hikashop&#95;price table?")        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 5 months ago, by [Bender](/forum/user/38688-bender "View Bender's Profile")       [Last Post](/forum/31-development/908181-price-site-id#370217 "Hello,  Thank you for your patience.  We have unified the logic for price&#95;site&#95;id handling between the product listings and the product details page. Previously, there were slight differences in how the system prioritized the prices, which effectively lead to the inconsistencies you observed.  We have implemented a shared mechanism that is now used by both views. This ensures that the exact same logic is applied everywhere to determine which price takes precedence, based on the price&#95;site&#95;id and whether the JMS Multisites component is installed or not.  This modification will be included in the next release (HikaShop 6.3.0).") 8 months 3 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:848 | [Last Post](/forum/31-development/908181-price-site-id#370217 "Hello,  Thank you for your patience.  We have unified the logic for price&#95;site&#95;id handling between the product listings and the product details page. Previously, there were slight differences in how the system prioritized the prices, which effectively lead to the inconsistencies you observed.  We have implemented a shared mechanism that is now used by both views. This ensures that the exact same logic is applied everywhere to determine which price takes precedence, based on the price&#95;site&#95;id and whether the JMS Multisites component is installed or not.  This modification will be included in the next release (HikaShop 6.3.0).") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      8 months 3 weeks ago |
| [](/forum/31-development/907043-is-print-on-demand-printful-printify-plugin-developed-or-not) | [is print on demand(Printful/Printify) plugin developed or not?](/forum/31-development/907043-is-print-on-demand-printful-printify-plugin-developed-or-not "I would like to ask 1 is print on demand plugin developed or still need to be developed?")        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 month ago, by [sayfrndship](/forum/user/78427-sayfrndship "View sayfrndship's Profile")       [Last Post](/forum/31-development/907043-is-print-on-demand-printful-printify-plugin-developed-or-not#369866 "Hi,  A plugin for Printify has been developed on our end and is available starting today here:   www.hikashop.com/marketplace/product/293-printify-plugin.html") 9 months 4 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1060 | [Last Post](/forum/31-development/907043-is-print-on-demand-printful-printify-plugin-developed-or-not#369866 "Hi,  A plugin for Printify has been developed on our end and is available starting today here:   www.hikashop.com/marketplace/product/293-printify-plugin.html") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      9 months 4 weeks ago |
| [](/forum/31-development/909731-a-conditional-product-surcharge) | [A Conditional Product Surcharge?](/forum/31-development/909731-a-conditional-product-surcharge "-- HikaShop version -- : 6.1  I have a customer who owns 3 pawn shops, and wants to sell products online which may include firearms. In the U.S., these items can't be shipped directly to the customer, but can be transferred to a licensed firearm dealer anywhere in the country ( this is called an FFL Transfer, and includes a base surcharge - usually $25 ). There will also be one location where customers can pick up the firearm directly without an FFL Transfer fee.  Products which require a FFL Transfer belong to their own Subcategory within the &quot;firearms&quot; Category. I have already customized the checkout to display a notice if one of these items is in the customer's cart, so I have code to loop through the cart and test for those items.  A ) The shop is willing restrict any single order to a single FFL Transfer destination, so I have a custom DB table to store dealers (over 50,000 of them) and am currently planning to store the customer's preference in a Hikashop custom field appended to the Customer table, so that they will have a recallable preference for future orders. Each Order will store the destination requested for that particular order.  B ) The firearms themselves will be listed as &quot;virtual goods&quot; so that a Shipping Address will be required only if the order contains something other than firearms. Only 1 of the customer's 3 shop locations can allow customers to pickup a firearm after a purchase, so I could test the FFL ID field for that value.  C ) Since the Customer's Hikashop Shipping address may not be known during the order, my tentative plan right now is to add a custom field to the Item, with the pawn shop's FFL ID as the default value for all firearms. It's going to take a tricky javascript driven modal selector to make it simpler to choose an FFL Dealer by providing first the state, then the city and finally a MUCH shorter dropdown of FFL Licensed businesses.  I suspect that there will be three scenarios:  An order with only firearms - which will require no Shipping address and a chosen FFL Dealer ID attached to each Order along with a FFL Transfer surcharge for each firearm.  An order with no firearms - which will require a Shipping address or possibly a PickUp shipping at any of the three pawn shop locations.  An order with firearms AND non-firearm items - which will require a Shipping address AND a chosen FFL Dealer ID attached to each Order along with a FFL Transfer surcharge for each firearm.  I've read about the Custom Field price plugin, and think it might work here. I think the best way to make this happen is to count the number of Firearms in the cart and place that value in a hidden custom field for the Order -- then ONLY IF the Customer Pickup for that one free shop location is not chosen for the order, to calculate that fee value based upon that hidden custom field value.  Where does an order-based fee created by this plugin appear on an invoice? Is the fee created by the plugin treated as a new Item? As a discount applied after the subtotal line? I do not know if the fee needs to be taxable.  Thank you for your information and 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 1 year 1 month ago, by [icomex](/forum/user/4967-icomex "View icomex's Profile")       [Last Post](/forum/31-development/909731-a-conditional-product-surcharge#368663 "Thank you for a very thorough and promising strategy. I will give it a shot, and let you know how it goes.") 1 year 1 month ago     by [icomex](/forum/user/4967-icomex "View icomex's Profile") | Replies:2  Views:1061 | [Last Post](/forum/31-development/909731-a-conditional-product-surcharge#368663 "Thank you for a very thorough and promising strategy. I will give it a shot, and let you know how it goes.") by [icomex](/forum/user/4967-icomex "View icomex's Profile")      1 year 1 month ago |
| [](/forum/31-development/909467-insert-the-order-token-into-confirmation-email) | [insert the order\_token into confirmation email](/forum/31-development/909467-insert-the-order-token-into-confirmation-email "-- HikaShop version -- : Business 5.0.3 -- Joomla version -- : 5.0.3 -- PHP version -- : 8.3  I am trying to cutomize the order confirmation email. I should insert the order&#95;token and a button that sends to external link. If I understand correctly I have to: 1. Modify the Preload File: into preload file order&#95;creation.php dd the appropriate PHP code to generate the order token variable: &#96; $data-&gt;order&#95;token = $order-&gt;order&#95;token;&#96; 2. Modify the HTML Email Template in System &gt; Emails: add the order token using: {VAR: order.order&#95;token} but I read that “VAR” can change from version to version... ??? 3. insert a button that sends to a link: any suggestions on how to do it? can you help me? Thanks in advance, Luca")         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 1 year 4 months ago, by [TconZero](/forum/user/83380-tconzero "View TconZero's Profile")       [Last Post](/forum/31-development/909467-insert-the-order-token-into-confirmation-email#367720 "review just done ;) --- Great experience, must have! Luca (5). Posted on 02 Luglio 2025 ---") 1 year 3 months ago     by [TconZero](/forum/user/83380-tconzero "View TconZero's Profile") | Replies:15  Views:1144 | [Last Post](/forum/31-development/909467-insert-the-order-token-into-confirmation-email#367720 "review just done ;) --- Great experience, must have! Luca (5). Posted on 02 Luglio 2025 ---") by [TconZero](/forum/user/83380-tconzero "View TconZero's Profile")      1 year 3 months ago |
| [](/forum/31-development/909538-hook-fthank-you-for-your-purcahor-post-checkout-order-with-total-payment-of-0) | [Hook f'Thank you for your purcahor post checkout order with total payment of $0](/forum/31-development/909538-hook-fthank-you-for-your-purcahor-post-checkout-order-with-total-payment-of-0 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.6.40  Howdy.  I am trying to help someone on a very old system that has been meeting their needs. They exclusively use a custom payment method. When that payment method succeeds, the system does some housekeeping in that payment method's onPaymentNotification() function. When creating an order for a cart of free items, we need some hook to do the same housekeeping. On the checkout page there is a 'Pay Now' button. That button immediately creates a Hika order, displays a THANK&#95;YOU&#95;FOR&#95;PURCHASE message page and the user receives an email confirmation. Is there a hook (outside of a payment method) where we might be able to perform our housekeeping.  I apologize, the system is quite old. Please don't laugh and/or shame. I am just trying to help. This is the info: HikaShop Version 2.4.0 PHP Version 5.6.40 Joomla! Version 3.4.1 Stable  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 1 year 3 months ago, by [smorloc](/forum/user/83442-smorloc "View smorloc's Profile")       [Last Post](/forum/31-development/909538-hook-fthank-you-for-your-purcahor-post-checkout-order-with-total-payment-of-0#367703 "Hi,  No worries. Note that even if you can't update Joomla, the latest version of HikaShop is still compatible with Joomla 3. However, it's a big update as many things changed in HikaShop. So if you plan on updating HikaShop in the future, I would recommend first testing on a copy of the website.  Regarding the issue at hand, I can say for sure, but normally, when an order is created, the onAfterOrderCreate event is triggered:   www.hikashop.com/support/documentation/6...l#onAfterOrderCreate  So, you should be able to implement that event and do your processing in it. Not that this event will be called for all the &quot;hikashop&quot; and &quot;hikashoppayment&quot; plugins. So you could potentially directly implement it in that custom payment plugin, even if the payment plugin doesn't handle the payment. Note also that you'll want to change the order&#95;payment&#95;method since you probably want to not do the house keeping at the order creation step when the payment plugin is used for the payment (since it will be done later on, in the onPaymentNotification method).") 1 year 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:670 | [Last Post](/forum/31-development/909538-hook-fthank-you-for-your-purcahor-post-checkout-order-with-total-payment-of-0#367703 "Hi,  No worries. Note that even if you can't update Joomla, the latest version of HikaShop is still compatible with Joomla 3. However, it's a big update as many things changed in HikaShop. So if you plan on updating HikaShop in the future, I would recommend first testing on a copy of the website.  Regarding the issue at hand, I can say for sure, but normally, when an order is created, the onAfterOrderCreate event is triggered:   www.hikashop.com/support/documentation/6...l#onAfterOrderCreate  So, you should be able to implement that event and do your processing in it. Not that this event will be called for all the &quot;hikashop&quot; and &quot;hikashoppayment&quot; plugins. So you could potentially directly implement it in that custom payment plugin, even if the payment plugin doesn't handle the payment. Note also that you'll want to change the order&#95;payment&#95;method since you probably want to not do the house keeping at the order creation step when the payment plugin is used for the payment (since it will be done later on, in the onPaymentNotification method).") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 3 months ago |
| [](/forum/31-development/909511-how-to-inject-custom-text-dynamically-in-email) | [How to inject custom text dynamically in email](/forum/31-development/909511-how-to-inject-custom-text-dynamically-in-email "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.3.1 -- PHP version -- : 8.3.12  Hi,  I'm trying to inject different custom texts, based on which product(s) the customer has bought, in the Order Status Notification email. Those texts must give product-specific information to the customer.  For example, Customer 1 has bought a software license, and I want to inject that chunk of text in the ORDER STATUS NOTIFICATION email: &quot;You bought a download version. You need to install the app first, then activate it with a serial number which you can find below...etc.etc.&quot;. Customer 2 has ordered a subscription, I want to inject that text instead of the first one: &quot;Thanks for signing up. Now you need to do thais, and that, and then, blah blah...&quot;  I have created a Checkbox custom field called &quot;email&#95;tags&quot; for the Product table, where I add values for each custom text I want to inject. I display those checkboxes on the backend only, so that for each product, I can select the value(s) I want to inject in the email (there can be more than one selected value). Then I create text chunks in the text overrides for each of the values defined in the &quot;email&#95;tags&quot; custom checkbox, for example: MYTXT&#95;DLD=&quot;You bought a download version. You need to...&quot;  So far so good... But I'm not sure how to proceed from here. What is the easiest way to get Hikashop to pick the texts that correspond to the checked boxes when generating the Order Status Notification email?  Thank you for your 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 1 year 4 months ago, by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")       [Last Post](/forum/31-development/909511-how-to-inject-custom-text-dynamically-in-email#367609 "Great. Note that we can potentially work on such custom jobs. If you're interested, you can go through our contact form:   www.hikashop.com/support/contact-us.html  For what you want here, we would charge 40€ (without taxes)") 1 year 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:822 | [Last Post](/forum/31-development/909511-how-to-inject-custom-text-dynamically-in-email#367609 "Great. Note that we can potentially work on such custom jobs. If you're interested, you can go through our contact form:   www.hikashop.com/support/contact-us.html  For what you want here, we would charge 40€ (without taxes)") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 4 months ago |
| [](/forum/31-development/909507-js-events-get-current-value-of-cart) | [JS Events get current value of cart](/forum/31-development/909507-js-events-get-current-value-of-cart "Hi, how to using js events   www.hikashop.com/support/documentation/6...tion.html#CartUpdate  and for example cart.updated event get current cart value (total value of product added to cart)?")        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 1 year 4 months ago, by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")       [Last Post](/forum/31-development/909507-js-events-get-current-value-of-cart#367606 "Hi,  You want to use the standard DOMContentLoaded event:   developer.mozilla.org/en-US/docs/Web/API...MContentLoaded&#95;event  And since you're probably displaying that javascript code from a PHP file, you can use HikaShop's functions to get the cart and output it. For example:") 1 year 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:4  Views:766 | [Last Post](/forum/31-development/909507-js-events-get-current-value-of-cart#367606 "Hi,  You want to use the standard DOMContentLoaded event:   developer.mozilla.org/en-US/docs/Web/API...MContentLoaded&#95;event  And since you're probably displaying that javascript code from a PHP file, you can use HikaShop's functions to get the cart and output it. For example:") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 4 months ago |
| [](/forum/31-development/909400-custom-shipping-plugin-packeta) | [Custom shipping plugin (Packeta)](/forum/31-development/909400-custom-shipping-plugin-packeta "-- HikaShop version -- : 5.1.6 -- Joomla version -- : 5.2.5 -- PHP version -- : 8.3 -- Browser(s) name and version -- : Chrome  Hello,  I'm trying to develop a custom shipping plugin for Packeta. Packeta delivers to pick-up points.  How the plugin should work:  1) When the user selects &quot;Packeta&quot; as a shipping option, a button will appear next to it. Clicking the button would trigger Packeta's selector widget. 2) The checkout cannot proceed unless a pick-up point is selected. 3) After the order is created, a REST API call is made to Packeta to create the order on their side.  I've had a good dev experience with HikaShop so far (we have a business version on another account), but I'm a bit stumped how to start here. Is there an example code with similar functions? My main problems are:  1) I only need to show the button when the &quot;Packeta&quot; shipping option is selected. I can inject the button html during onShippingDisplay, but how to display=none it when another shipping option is selected? 2) How to create a custom check whether a pick-up point was selected, and not allow the checkout to continue without it? 3) In which function would I make the API call? I've read the Developer documentation, but couldn't find definitive info.  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 1 year 5 months ago, by [gertas](/forum/user/83315-gertas "View gertas's Profile")       [Last Post](/forum/31-development/909400-custom-shipping-plugin-packeta#367085 "Hi,  If you wish to display an error message to the customer when the hidden input of your custom html is not filled, you can implement the onBeforeCartSave event of the Cart API in your plugin. There, check if check if data is provided in the correct subarray (based on the warehouse id and the shipping id of your shipping method). If checkout&#91;shipping&#93;&#91;custom&#93; is available in the POST but the data is not provided in the correct subarray, then you can cancel the cart save and use the enqueueMessage method of Joomla to display an error message to the user.") 1 year 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1345 | [Last Post](/forum/31-development/909400-custom-shipping-plugin-packeta#367085 "Hi,  If you wish to display an error message to the customer when the hidden input of your custom html is not filled, you can implement the onBeforeCartSave event of the Cart API in your plugin. There, check if check if data is provided in the correct subarray (based on the warehouse id and the shipping id of your shipping method). If checkout&#91;shipping&#93;&#91;custom&#93; is available in the POST but the data is not provided in the correct subarray, then you can cancel the cart save and use the enqueueMessage method of Joomla to display an error message to the user.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 5 months ago |
| [](/forum/31-development/909302-innodb-or-myisam) | [InnoDB or MyISAM](/forum/31-development/909302-innodb-or-myisam "-- HikaShop version -- : 5.1.5 -- Joomla version -- : 4 -- PHP version -- : 8.3.3  I noticed that Joomla uses InnoDB sql by default. Hikashop uses MyISAM when installed. Is there a specific reason for this? My hosting provider recommends changing all tables to InnoDB. Does this make sense or can this make the situation worse or even break it?")         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 1 year 6 months ago, by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")       [Last Post](/forum/31-development/909302-innodb-or-myisam#367062 "Hi,  Seeing the number of results for the first filter (423) this can't be what is generating the problem. The mass action should only need a few dozen of MB maximum of memory, nowhere near the 1 GB limit. So the error was generated by something else. Do you have that error only once in the PHP error log ? Or several times ? What are the dates and times of the errors ? Recent ? Close or far appart in time ?  Do you have other mass actions ? Could it be that someone regularly use the &quot;export&quot; button of the orders listing in the backend, without any filter and without selecting any order ? In that case, it would run a MySQL query loading all the data of all the orders at once, resulting in a similar issue.  It could also be a browser extension, or something between your browser and your server prefetching the export URL without you doing anything yourself : - a CDN like cloudflare (   developers.cloudflare.com/speed/optimiza...ntent/prefetch-urls/  ) or keyCDN (   www.keycdn.com/support/prefetching  ). Some potentially useful information regarding cloudFlare:   serverfault.com/questions/1165854/503-re...h-requests-nginx-php  - a browser extension on your browser:   chromewebstore.google.com/detail/quickli...ibilpmekhgkbeg?hl=en  - a setting of chrome on your computer:   stackoverflow.com/questions/28020184/how...tch-in-google-chrome  - a prefetching joomla extension (   extensions.joomla.org/extension/page-speed-optimizer/  ) which would run in the backend while it shouldn't ( not saying this one does, but if you have an extension like that on your website, that's a thing to check ).  A good way to check if it comes from something triggering unwanted exports of orders is to add the line: exit; after the line: function export(){ in the file administrator/components/com&#95;hikashop/controllers/order.php This way, the &quot;export&quot; button of the orders listing won't do anything on your website. If you don't have the problem anymore after this change, then it would confirm that it comes from something triggering unwanted exports of orders on your website backend.") 1 year 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:9  Views:1039 | [Last Post](/forum/31-development/909302-innodb-or-myisam#367062 "Hi,  Seeing the number of results for the first filter (423) this can't be what is generating the problem. The mass action should only need a few dozen of MB maximum of memory, nowhere near the 1 GB limit. So the error was generated by something else. Do you have that error only once in the PHP error log ? Or several times ? What are the dates and times of the errors ? Recent ? Close or far appart in time ?  Do you have other mass actions ? Could it be that someone regularly use the &quot;export&quot; button of the orders listing in the backend, without any filter and without selecting any order ? In that case, it would run a MySQL query loading all the data of all the orders at once, resulting in a similar issue.  It could also be a browser extension, or something between your browser and your server prefetching the export URL without you doing anything yourself : - a CDN like cloudflare (   developers.cloudflare.com/speed/optimiza...ntent/prefetch-urls/  ) or keyCDN (   www.keycdn.com/support/prefetching  ). Some potentially useful information regarding cloudFlare:   serverfault.com/questions/1165854/503-re...h-requests-nginx-php  - a browser extension on your browser:   chromewebstore.google.com/detail/quickli...ibilpmekhgkbeg?hl=en  - a setting of chrome on your computer:   stackoverflow.com/questions/28020184/how...tch-in-google-chrome  - a prefetching joomla extension (   extensions.joomla.org/extension/page-speed-optimizer/  ) which would run in the backend while it shouldn't ( not saying this one does, but if you have an extension like that on your website, that's a thing to check ).  A good way to check if it comes from something triggering unwanted exports of orders is to add the line: exit; after the line: function export(){ in the file administrator/components/com&#95;hikashop/controllers/order.php This way, the &quot;export&quot; button of the orders listing won't do anything on your website. If you don't have the problem anymore after this change, then it would confirm that it comes from something triggering unwanted exports of orders on your website backend.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 5 months ago |
| [](/forum/31-development/909364-get-the-categories) | [Get the categories](/forum/31-development/909364-get-the-categories "How would I get the categories of all the products in the basket with this Checkout API: onCheckoutStepDisplay($layoutName, &amp;$html, &amp;$view)")        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 1 year 6 months ago, by [rbuelund](/forum/user/65065-rbuelund "View rbuelund's Profile")       [Last Post](/forum/31-development/909364-get-the-categories#367051 "You can use this code to get the data of the children categories:  The second parameter defines if you want only the direct sub categories (with false) or all the sub categories regardless of the depth level (with true).") 1 year 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:8  Views:1062 | [Last Post](/forum/31-development/909364-get-the-categories#367051 "You can use this code to get the data of the children categories:  The second parameter defines if you want only the direct sub categories (with false) or all the sub categories regardless of the depth level (with true).") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 5 months ago |
| [](/forum/31-development/909311-how-can-i-get-the-checkout-cart-subtotal-price) | [How can I get the checkout cart subtotal price?](/forum/31-development/909311-how-can-i-get-the-checkout-cart-subtotal-price "Hello, I'm working on a module. How can I get the checkout cart subtotal price?")        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 1 year 6 months ago, by [m.mihov](/forum/user/83230-m-mihov "View m.mihov's Profile")       [Last Post](/forum/31-development/909311-how-can-i-get-the-checkout-cart-subtotal-price#366511 "Thanks. It worked.") 1 year 6 months ago     by [m.mihov](/forum/user/83230-m-mihov "View m.mihov's Profile") | Replies:4  Views:741 | [Last Post](/forum/31-development/909311-how-can-i-get-the-checkout-cart-subtotal-price#366511 "Thanks. It worked.") by [m.mihov](/forum/user/83230-m-mihov "View m.mihov's Profile")      1 year 6 months ago |
| [](/forum/31-development/909218-api-development-postnl) | [API Development PostNL](/forum/31-development/909218-api-development-postnl "-- HikaShop version -- : 5.1.3 -- Joomla version -- : 4.4.10 -- PHP version -- : 8.1.2.8 -- Browser(s) name and version -- : Chrome  Hi,  is there a default part from your side that after succesfull order we get a list of data with shipping details and shipping method etc. we're we can start with?  we want to pass on this information to the API of PostNL to automatically set the address information in to their environment, this would save a lot of manual processing.  hope you have a default template part that we can modifiy with the integration of the PostNL API so we have all of your data correct.  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 1 year 7 months ago, by [szwart](/forum/user/51634-szwart "View szwart's Profile")       [Last Post](/forum/31-development/909218-api-development-postnl#366016 "Hi,  Yes. I'm just mentioning it in case you didn't know about it.") 1 year 7 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:882 | [Last Post](/forum/31-development/909218-api-development-postnl#366016 "Hi,  Yes. I'm just mentioning it in case you didn't know about it.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 7 months ago |
| [](/forum/31-development/909185-varient-price-wont-work-in-mobile-view) | [varient price won't work in mobile view](/forum/31-development/909185-varient-price-wont-work-in-mobile-view "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.4 -- PHP version -- : 8.02  Hi, I use variants to have different prices for my products by some characteristics, in the desktop view price will update by selecting different characters but in the mobile view it seems it is disabled and does not update the price, how can I fix this issue?  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 1 year 8 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/909185-varient-price-wont-work-in-mobile-view#365830 "Hi,  Sure, that would indeed be better. You can use a PHP library like Mobile Detect :   docs.mobiledetect.net/home  Then, once you detect if you're on mobile or not, you can require one PHP file or the other.") 1 year 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:4  Views:853 | [Last Post](/forum/31-development/909185-varient-price-wont-work-in-mobile-view#365830 "Hi,  Sure, that would indeed be better. You can use a PHP library like Mobile Detect :   docs.mobiledetect.net/home  Then, once you detect if you're on mobile or not, you can require one PHP file or the other.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 8 months ago |
| [](/forum/31-development/908993-developing-shipping-plugin-with-own-field) | [Developing shipping plugin with own field](/forum/31-development/908993-developing-shipping-plugin-with-own-field "Hi,  I’m trying to develop shipping plugin. I want to add a text field that user can write some data. Then that data should be available in order details. How to do it properly?  I am able to display field adding it like that. But how to save it in database in order?")        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 1 year 10 months ago, by [Bprak](/forum/user/34235-bprak "View Bprak's Profile")       [Last Post](/forum/31-development/908993-developing-shipping-plugin-with-own-field#365108 "Hello,  Thanks for your returns, we have updated our  following your suggestion. Regards") 1 year 9 months ago     by [Philip](/forum/user/34318-philip "View Philip's Profile") | Replies:9  Views:1316 | [Last Post](/forum/31-development/908993-developing-shipping-plugin-with-own-field#365108 "Hello,  Thanks for your returns, we have updated our  following your suggestion. Regards") by [Philip](/forum/user/34318-philip "View Philip's Profile")      1 year 9 months ago |
| [](/forum/31-development/908693-hide-subcategories-in-category-listing-in-front) | [hide subcategories in category listing in front](/forum/31-development/908693-hide-subcategories-in-category-listing-in-front "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.3 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firfox dev  Hi, How can hide sub-categories in the category listing view? 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 3 weeks ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908693-hide-subcategories-in-category-listing-in-front#363639 "Hi, You're right! :/ If I want sub categories not listing, use product listing... Thanks so much") 2 years 3 weeks ago     by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile") | Replies:2  Views:1056 | [Last Post](/forum/31-development/908693-hide-subcategories-in-category-listing-in-front#363639 "Hi, You're right! :/ If I want sub categories not listing, use product listing... Thanks so much") by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")      2 years 3 weeks ago |
| [](/forum/31-development/908690-custom-field-display-limited-to-error-on-condition) | [custom field display limited to error on condition](/forum/31-development/908690-custom-field-display-limited-to-error-on-condition "-- Joomla version -- : 5.1.4 -- PHP version -- : 8.2  hi i found this bug in custom fields section when use (Display limited to) on field I have 2 fields that are limited to one field hikashop.js?v=510:1955 Uncaught TypeError: Cannot read properties of undefined (reading 'condition')")        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 3 weeks ago, by [babak\_7x](/forum/user/82802-babak-7x "View babak&#95;7x's Profile")       [Last Post](/forum/31-development/908690-custom-field-display-limited-to-error-on-condition#363616 "Hi,  I think we fixed this issue with HikaShop 5.1.1. Which version of HikaShop do you have ? Can you provide the URL of the page with the issue so that we can check the situation ?") 2 years 3 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1024 | [Last Post](/forum/31-development/908690-custom-field-display-limited-to-error-on-condition#363616 "Hi,  I think we fixed this issue with HikaShop 5.1.1. Which version of HikaShop do you have ? Can you provide the URL of the page with the issue so that we can check the situation ?") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 3 weeks ago |
| <a id="forumbottom"> </a> [   ](#forumtop) |  |

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

Time to create page: 0.062 seconds

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

[](#top)
