[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/908689-accardion-like-filter-display) | [Accardion like filter display](/forum/31-development/908689-accardion-like-filter-display "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : Firefox dev  Hi, Hope you do great, Is it possible to display each filter accordion like? For example, the title of filter display and by click on it its content will be open and display. 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 1 month ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908689-accardion-like-filter-display#363612 "Hi,  It's actually quite easy, with pure HTML to have an expand/collapse system with the summary / details tags :   stackoverflow.com/questions/15095933/pur...-collapse-expand-div  For example:   jsfiddle.net/thurstanh/emtAm/2/  However, the code displaying the title of the filter and the filter itself is not easily accessible to be able to change the HTML elements to use summary / details. You'll have to make an override of the class filter:   www.hikashop.com/support/documentation/6...ntation.html#classes  in order to override the method &quot;titlePosition&quot; for the class of your filter type. You can base yourself on the titlePosition method of the class hikashopFilterTypeClass in the filter class file. So, it's possible, but it requires PHP developer skills.") 2 years 1 month ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:987 | [Last Post](/forum/31-development/908689-accardion-like-filter-display#363612 "Hi,  It's actually quite easy, with pure HTML to have an expand/collapse system with the summary / details tags :   stackoverflow.com/questions/15095933/pur...-collapse-expand-div  For example:   jsfiddle.net/thurstanh/emtAm/2/  However, the code displaying the title of the filter and the filter itself is not easily accessible to be able to change the HTML elements to use summary / details. You'll have to make an override of the class filter:   www.hikashop.com/support/documentation/6...ntation.html#classes  in order to override the method &quot;titlePosition&quot; for the class of your filter type. You can base yourself on the titlePosition method of the class hikashopFilterTypeClass in the filter class file. So, it's possible, but it requires PHP developer skills.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 1 month ago |
| [](/forum/31-development/908688-price-title-gone-after-activate-its-filter) | [price title gone after activate its filter](/forum/31-development/908688-price-title-gone-after-activate-its-filter "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.3 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firfox dev  Hi, Hope you are doing great. I use the filter and assign Price a filter, admin area:  Front view:  The issue is when the filter is activated, the filter title will disappear and nothing will be displayed as the filter title;  What can I do to not hide the filter title when it is activated? Also, I need the style to remain as when it was inactive, because when it is activated, the style changes, and the currency title will disappear too. and is it possible to separate number value as 1000 separation? for example, 1650258$ turn into 1,650,258. 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 1 month ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908688-price-title-gone-after-activate-its-filter#363619 "I see, Thanks so much") 2 years 1 month ago     by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile") | Replies:4  Views:1018 | [Last Post](/forum/31-development/908688-price-title-gone-after-activate-its-filter#363619 "I see, Thanks so much") by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")      2 years 1 month ago |
| [](/forum/31-development/907553-creating-address-for-newly-created-user) | [Creating address for newly created user](/forum/31-development/907553-creating-address-for-newly-created-user "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 4.4.1 -- PHP version -- : 8.1.26 -- Browser(s) name and version -- : Firefox 121.0 (64-bit)  Hi,  I made a scheduled task plugin that regularly checks a file and automatically creates new users if needed.  Now, I also need to create HikaShop addresses for these users and I am a bit lost.  I've noticed that HikaShop users are automatically created once Joomla users are created.  So my logic would be this: 1) Get the Hika user by email 2) Create new address using the information from my list 3) Add new address to user  I've gotten as far as including HikaShop's main files and loading the 'user' and 'address' classes.  Sadly, I can't find an overview of which functions I can work with to make the above happen. Where can I find documentation of these classes/Which functions should I use?  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 10 months ago, by [NTV](/forum/user/69623-ntv "View NTV's Profile")       [Last Post](/forum/31-development/907553-creating-address-for-newly-created-user#363610 "Hi,  Yes. Sorry for the mistake on my copy/paste.  For your last question, the short answer is &quot;it depends, but it doesn't matter much&quot;. Using Joomla's functions to construct the MySQL queries allows your code to run on all the SQL drivers offered by Joomla. So, if Joomla supports Oracle's database engine in the future, your queries will work the same. In HikaShop we don't, and so HkaShop can only work on MySQL. In practice, 99% of the websites made with Joomla are made with MySQL so there is little incentive for us to spend months rewriting the queries in HikaShop with Joomla's functions. Also, since the query is constructed by Joomla, it potentially reduce the probability that you forget to secure your SQL queries against SQL injection attacks (with calls to quote, quoteName, etc) On the other side, the functions are limited in their capabilities. Some SQL functions which are specific to MySQL / MariaDB won't be supported, or not supported for all the SQL drivers. So it might constrain you. For example, with the filter system, or the report system, or export/import, we sometimes have to run complex MySQL queries which can't be done with the Joomla functions. Also, suppose you hire a developer to help you with your work. You'll hire a PHP developer. It's highly likely he'll know how to write MySQL queries. So he will be familiar with the code I posted and will be able to read and write the queries faster than if the code uses Joomla functions. HikaShop is meant to be used by people with no programming knowledge, and if they do, we want to make it as easy as possible for them to read our code. So we decided to keep writing MySQL queries the normal way. But both ways are ok in most cases.") 2 years 1 month ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:8  Views:1371 | [Last Post](/forum/31-development/907553-creating-address-for-newly-created-user#363610 "Hi,  Yes. Sorry for the mistake on my copy/paste.  For your last question, the short answer is &quot;it depends, but it doesn't matter much&quot;. Using Joomla's functions to construct the MySQL queries allows your code to run on all the SQL drivers offered by Joomla. So, if Joomla supports Oracle's database engine in the future, your queries will work the same. In HikaShop we don't, and so HkaShop can only work on MySQL. In practice, 99% of the websites made with Joomla are made with MySQL so there is little incentive for us to spend months rewriting the queries in HikaShop with Joomla's functions. Also, since the query is constructed by Joomla, it potentially reduce the probability that you forget to secure your SQL queries against SQL injection attacks (with calls to quote, quoteName, etc) On the other side, the functions are limited in their capabilities. Some SQL functions which are specific to MySQL / MariaDB won't be supported, or not supported for all the SQL drivers. So it might constrain you. For example, with the filter system, or the report system, or export/import, we sometimes have to run complex MySQL queries which can't be done with the Joomla functions. Also, suppose you hire a developer to help you with your work. You'll hire a PHP developer. It's highly likely he'll know how to write MySQL queries. So he will be familiar with the code I posted and will be able to read and write the queries faster than if the code uses Joomla functions. HikaShop is meant to be used by people with no programming knowledge, and if they do, we want to make it as easy as possible for them to read our code. So we decided to keep writing MySQL queries the normal way. But both ways are ok in most cases.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 1 month ago |
| [](/forum/31-development/908523-hikashop-plugin-for-onbefore-onafter-triggered-functions) | [Hikashop plugin for onBefore... / onAfter... triggered functions](/forum/31-development/908523-hikashop-plugin-for-onbefore-onafter-triggered-functions "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 5 -- PHP version -- : 8 -- Browser(s) name and version -- : Chrome  Hello I've tried to create an hikashop plugin in hplugins/hikashop/checkGift/ but it seems doesn't work My xml File : checkGift.xml  my php file : checkGift.php  i will obtain a blanc page no with &quot;succes&quot; no ? Could you help me ? it's my first try of Plugin")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 2 years 2 months ago, by [bobalbax](/forum/user/36128-bobalbax "View bobalbax's Profile")       [Last Post](/forum/31-development/908523-hikashop-plugin-for-onbefore-onafter-triggered-functions#362793 "Hi,  Supposing that the user is logged in when the order is created (and it's not a guest checkout), then, it probably means that you have a product in the order with the &quot;user group after purchase&quot; setting configured, and that you have the &quot;force logout&quot; setting turned on in the HikaShop Group plugin, via the Joomla plugins manager.") 2 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:1211 | [Last Post](/forum/31-development/908523-hikashop-plugin-for-onbefore-onafter-triggered-functions#362793 "Hi,  Supposing that the user is logged in when the order is created (and it's not a guest checkout), then, it probably means that you have a product in the order with the &quot;user group after purchase&quot; setting configured, and that you have the &quot;force logout&quot; setting turned on in the HikaShop Group plugin, via the Joomla plugins manager.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 2 months ago |
| [](/forum/31-development/908491-accordion-with-current-category-subcategory) | [Accordion with current category/subcategory](/forum/31-development/908491-accordion-with-current-category-subcategory "-- url of the page with the problem -- :   ethemba.com/&#95;Guests/AR/  -- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.1 -- PHP version -- : 8.1  Hello I wanted to use the HikaShop Content Module to show all categories and subcategories using UI accordion. Also I want to remark in which one you are when you are watching a product. When I select a category in the brand menu the accordion opens and select the correct category/subcategory. But I´m not able to make it work when a product is selected from the home page from the instances of the HikaShop Content Module. In that case the selection is the last category selected not the product one.  I am still really newbie to hikashop and I would appreciate some indication of how can I fix this problem. I attach listing-list.php with my changes. The category identification is coded here:  Thank you very much and sorry for the inconveniences")         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 months ago, by [Reyesar](/forum/user/82677-reyesar "View Reyesar's Profile")       [Last Post](/forum/31-development/908491-accordion-with-current-category-subcategory#362622 "I have already change all products to have only one category. I have also replace the code with the one you send me but in the products there is nothing selected.  I´m going to test and make changes to try to find the error. As soon I discover it I will publish the final code just in case it could help another.  Thank you very much") 2 years 3 months ago     by [Reyesar](/forum/user/82677-reyesar "View Reyesar's Profile") | Replies:4  Views:1088 | [Last Post](/forum/31-development/908491-accordion-with-current-category-subcategory#362622 "I have already change all products to have only one category. I have also replace the code with the one you send me but in the products there is nothing selected.  I´m going to test and make changes to try to find the error. As soon I discover it I will publish the final code just in case it could help another.  Thank you very much") by [Reyesar](/forum/user/82677-reyesar "View Reyesar's Profile")      2 years 3 months ago |
| [](/forum/31-development/908489-product-price-with-a-formula) | [Product price with a formula](/forum/31-development/908489-product-price-with-a-formula "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, I need to update some categories' product prices with one click(By update &quot;xgold&quot; value). I need to build a price with this option: I have a formula: Formula: Product Price = ((((xgold &#42; bpprice) + xgold) &#42; yprofit) + ((xgold &#42; bpprice) + xgold)) &#42; gweight Elements that need to get to calculate the price formula: &quot;xgold&quot; = This is the daily gold price(This field is just a constant value that can be change later) &quot;gweight&quot; = Product weight &quot;bpprice&quot; = Percentage of wages &quot;yprofit&quot; = Percentage of profit all of them are custom field.  I need to build a price for my products in selected category with mentioned formula, is it possible? 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 3 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908489-product-price-with-a-formula#362612 "Dear Nicolas, Hi, Hope you do great, Thanks so much, Unfortunately, I don't have enough money to purchase the plugin to test it. Sorry.  Best regards") 2 years 3 months ago     by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile") | Replies:2  Views:1050 | [Last Post](/forum/31-development/908489-product-price-with-a-formula#362612 "Dear Nicolas, Hi, Hope you do great, Thanks so much, Unfortunately, I don't have enough money to purchase the plugin to test it. Sorry.  Best regards") by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")      2 years 3 months ago |
| [](/forum/31-development/908454-display-product-stock-count-in-category-listing-as-custom-filed) | [display product stock count in category listing as custom filed](/forum/31-development/908454-display-product-stock-count-in-category-listing-as-custom-filed "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, How can display the &quot;Quantity&quot; of a product as a custom field in categories listing each product in a specific category? I use product stock count phrases from the mentioned code.  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 3 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908454-display-product-stock-count-in-category-listing-as-custom-filed#362471 "Hi,  So, if I understand correctly, what you want is to display the stock of the product on the products listing pages.  Based on how you configured HikaShop, and what I can see on your URLs, I think the best is to copy/paste the code from your first message here, to the product / listing&#95;img&#95;title view file, which you can edit via the menu Display&gt;Views of HikaShop.") 2 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:7  Views:891 | [Last Post](/forum/31-development/908454-display-product-stock-count-in-category-listing-as-custom-filed#362471 "Hi,  So, if I understand correctly, what you want is to display the stock of the product on the products listing pages.  Based on how you configured HikaShop, and what I can see on your URLs, I think the best is to copy/paste the code from your first message here, to the product / listing&#95;img&#95;title view file, which you can edit via the menu Display&gt;Views of HikaShop.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 3 months ago |
| [](/forum/31-development/908461-filter-dosnt-display-in-product-listing-page) | [filter dosn't display in product listing page](/forum/31-development/908461-filter-dosnt-display-in-product-listing-page "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, I config filter for a category and just one of them displayed the &quot;Sort&quot;!  But the rest of them dosn't displayed.  I think I config all the settings, but just the Sort filter is displayed! what should I do to display the rest of the filters?  menu for category:  Module option:  Thanks in advance 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 3 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908461-filter-dosnt-display-in-product-listing-page#362467 "Hello,  You have to check each filter entry in order to chack that there well and fully configured, by example for a checkbox filter you have to define the value of your filter checkbox, but you didn't :  Have a look on our Filter documentation, . Regards") 2 years 3 months ago     by [Philip](/forum/user/34318-philip "View Philip's Profile") | Replies:1  Views:854 | [Last Post](/forum/31-development/908461-filter-dosnt-display-in-product-listing-page#362467 "Hello,  You have to check each filter entry in order to chack that there well and fully configured, by example for a checkbox filter you have to define the value of your filter checkbox, but you didn't :  Have a look on our Filter documentation, . Regards") by [Philip](/forum/user/34318-philip "View Philip's Profile")      2 years 3 months ago |
| [](/forum/31-development/908432-breadcrumbs-and-module-position) | [breadcrumbs and module position](/forum/31-development/908432-breadcrumbs-and-module-position "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, when opening a product through the category listing, everything seems ok, I mean the breadcrumbs display a complete path to the top category and on the product's page there is no module with a module position in the product's top area but when I use the HikaShop Content Module and open a product though the module, breadcrumbs just display &quot;Home/'Product name'&quot; and in the top area of product page I have unwanted module with module position, what should I do to make a product have the same breadcrumbs as when opened through the category listing?  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 3 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908432-breadcrumbs-and-module-position#362394 "Hi,  It's almost this URL. We also add a parameter &quot;name&quot; to the URL with the alias of the product.") 2 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:7  Views:1100 | [Last Post](/forum/31-development/908432-breadcrumbs-and-module-position#362394 "Hi,  It's almost this URL. We also add a parameter &quot;name&quot; to the URL with the alias of the product.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 3 months ago |
| [](/forum/31-development/908427-writing-a-shipping-plugin-for-pickup-locations) | [Writing a shipping plugin for pickup locations](/forum/31-development/908427-writing-a-shipping-plugin-for-pickup-locations "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : -  I aim to create a new custom shipping plugin for Joomla 5 + HikaShop 5.1 that can do the following:  &#42; Display a dropdown list at the shipping method section on the checkout page, containing possible pickup locations. The list of pickup locations is received via API connection, which I can implement.  &#42; If the customer selects this shipping method, they must also select a pickup location.  &#42; The selected pickup location must appear on the administration interface, in the web and email order confirmations as well.  I have developed many Joomla extensions, but I have not worked with HikaShop before. I would like to ask for help on the proper way to implement this, which functions need to be used for this. If any sample code is available, that would be even better.  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 3 months ago, by [keep2000](/forum/user/82634-keep2000 "View keep2000's Profile")       [Last Post](/forum/31-development/908427-writing-a-shipping-plugin-for-pickup-locations#362345 "Hi,  Please send a request for access via our contact form:   www.hikashop.com/support/contact-us.html  We can provide a copy of the myparcel plugin for development purposes.") 2 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:971 | [Last Post](/forum/31-development/908427-writing-a-shipping-plugin-for-pickup-locations#362345 "Hi,  Please send a request for access via our contact form:   www.hikashop.com/support/contact-us.html  We can provide a copy of the myparcel plugin for development purposes.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 3 months ago |
| [](/forum/31-development/908440-sort-and-arrange-option-in-front-on-category-listing) | [Sort and arrange option in front on category listing](/forum/31-development/908440-sort-and-arrange-option-in-front-on-category-listing "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, Is there any option on hikashop to give users the option to sort products for example by 'product&#95;hit', 'product&#95;published', 'product&#95;sales', 'product&#95;sort&#95;price', 'product&#95;sale&#95;start', 'product&#95;sale&#95;end' and 'product&#95;max&#95;per&#95;order' in front view at the top part of category listing? 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 3 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908440-sort-and-arrange-option-in-front-on-category-listing#362329 "Hello,  Maybe a filter can bring you can provide you at least in part with some of your needs. =&gt; See this documentation, .  Regards") 2 years 3 months ago     by [Philip](/forum/user/34318-philip "View Philip's Profile") | Replies:1  Views:806 | [Last Post](/forum/31-development/908440-sort-and-arrange-option-in-front-on-category-listing#362329 "Hello,  Maybe a filter can bring you can provide you at least in part with some of your needs. =&gt; See this documentation, .  Regards") by [Philip](/forum/user/34318-philip "View Philip's Profile")      2 years 3 months ago |
| [](/forum/31-development/908416-update-user-profile-based-on-items-ordered) | [Update user profile based on items ordered](/forum/31-development/908416-update-user-profile-based-on-items-ordered "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 5.0.3 -- PHP version -- : 8.2  I am creating a plugin to update my user profile based on items ordered.  I am using the onAfterOrderCreate trigger to execute my code. This seems to work fine when an order is created by the front end, but I noticed when creating an order from the back end, there is no product information in the $order array.  From the front end order, I have the $order-&gt;products array to get the item information. When the order is created from the back end, the onAfterOrderCreate is called before the products are added, so no product information is retrieved.  I can query the hikashop&#95;order&#95;product with the order&#95;id to get what I need, but I need a trigger that fires after the products are added via the backend form.  Is there a better method to use?")        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 months ago, by [jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")       [Last Post](/forum/31-development/908416-update-user-profile-based-on-items-ordered#362254 "That works for me.  Thank you") 2 years 3 months ago     by [jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile") | Replies:2  Views:913 | [Last Post](/forum/31-development/908416-update-user-profile-based-on-items-ordered#362254 "That works for me.  Thank you") by [jfischer\_hika](/forum/user/60459-jfischer-hika "View jfischer&#95;hika's Profile")      2 years 3 months ago |
| [](/forum/31-development/908418-click-on-cart-icon-and-redirect-to-cart) | [click on cart icon and redirect to cart](/forum/31-development/908418-click-on-cart-icon-and-redirect-to-cart "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, Is it possible to click on the mini cart main link which consists of an icon and directly proceed to the checkout page instead of opening a drop-down in mobile view? 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 3 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908418-click-on-cart-icon-and-redirect-to-cart#362234 "Perfect! :/ Thanks tons of time") 2 years 3 months ago     by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile") | Replies:2  Views:833 | [Last Post](/forum/31-development/908418-click-on-cart-icon-and-redirect-to-cart#362234 "Perfect! :/ Thanks tons of time") by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")      2 years 3 months ago |
| [](/forum/31-development/908412-hicashop-cart-module-quantity-counter-wouldnt-update-automatically-in-mobile) | [Hicashop cart module quantity counter wouldn't update automatically in mobile](/forum/31-development/908412-hicashop-cart-module-quantity-counter-wouldnt-update-automatically-in-mobile "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, In the mobile view &quot;HikaShop Cart Module&quot; wouldn't update the number(The number that quantity of products in the cart) automatically when adding the product to the cart or removing it, what should I do to fix this? 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 3 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908412-hicashop-cart-module-quantity-counter-wouldnt-update-automatically-in-mobile#362210 "Perfect! Thanks tons of time!") 2 years 3 months ago     by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile") | Replies:2  Views:850 | [Last Post](/forum/31-development/908412-hicashop-cart-module-quantity-counter-wouldnt-update-automatically-in-mobile#362210 "Perfect! Thanks tons of time!") by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")      2 years 3 months ago |
| [](/forum/31-development/908359-creating-variants-programmatically) | [Creating variants programmatically](/forum/31-development/908359-creating-variants-programmatically "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 4.4.5  Hello, I want to create products in a plugin which can be either parents or variants (children) I've got running the basics of creating a product with categories etc. and I know that characteristics are used to specify variants. Here are my questions: &#42;when I create a parent, I need to specify whch characteristic(s) can be used to create a variant and the default value for each. I suspect that I must use $productClass-&gt;updateCharacteristics but how ? &#42;when I create a variant I set its parent with something like $product-&gt;product&#95;parent&#95;id = 127 (looking at the code for -&gt;save() in classes/product.php. The product&#95;type is then set automatically). I also need to specifiy the actual value of each characteristic but how? Advice from seasoned programmers would be appreciated, 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 4 months ago, by [DomB22](/forum/user/82577-domb22 "View DomB22's Profile")       [Last Post](/forum/31-development/908359-creating-variants-programmatically#362177 "Hi,  You would use the same updateCharacteristics function with the $product-&gt;characteristics array set with the new characteristic values. That's what is done in the backSaveVariantForm function of the same class which is called when you save a variant edit form in the backend since this interface allows you to change the values of a variant. So you can look in this backSaveVariantForm. Now, most of the code in there is irrelevant. It's the piece inside the which you want to look at.") 2 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:7  Views:1009 | [Last Post](/forum/31-development/908359-creating-variants-programmatically#362177 "Hi,  You would use the same updateCharacteristics function with the $product-&gt;characteristics array set with the new characteristic values. That's what is done in the backSaveVariantForm function of the same class which is called when you save a variant edit form in the backend since this interface allows you to change the values of a variant. So you can look in this backSaveVariantForm. Now, most of the code in there is irrelevant. It's the piece inside the which you want to look at.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 3 months ago |
| [](/forum/31-development/908380-creating-products-programmatically-miscellaneous-questions) | [Creating products programmatically / miscellaneous questions](/forum/31-development/908380-creating-products-programmatically-miscellaneous-questions "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 4.4.5  I'm writing a plugin which creates products. I've managed to add categories, various prices levels, custom fields and at this time I still have two questions : - is it possible to generate automatically a product&#95;alias upon creation? - how is it possible to add multilingual versions (in my case en-GB and fr-FR) of the half-dozen translatable product fields? By the way, is it possible to make a 'text' custom field multilingual?")        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 4 months ago, by [DomB22](/forum/user/82577-domb22 "View DomB22's Profile")       [Last Post](/forum/31-development/908380-creating-products-programmatically-miscellaneous-questions#362171 "Following your answers it works fine, thank you for the great support Nicolas.") 2 years 3 months ago     by [DomB22](/forum/user/82577-domb22 "View DomB22's Profile") | Replies:2  Views:870 | [Last Post](/forum/31-development/908380-creating-products-programmatically-miscellaneous-questions#362171 "Following your answers it works fine, thank you for the great support Nicolas.") by [DomB22](/forum/user/82577-domb22 "View DomB22's Profile")      2 years 3 months ago |
| [](/forum/31-development/908369-how-to-get-hikaserial-number-in-a-custom-plugin) | [How to get HikaSerial number in a custom plugin](/forum/31-development/908369-how-to-get-hikaserial-number-in-a-custom-plugin "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 4.4.5 -- PHP version -- : 8.2.20-nmm1  We create a custom plugin for the HikaShop. The plugin uses the onAfterOrderUpdate to take the placed order and forward the data to a CRM system. Some products have a HikaSerial randomgen package asigned. In the custom plugin I need to get the generated serialnumbers. Is there a direct way to get these numbers from the $order object? If not, is there a other smooth way or do I have to access the db directly?")        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 4 months ago, by [RitchieM](/forum/user/46621-ritchiem "View RitchieM's Profile")       [Last Post](/forum/31-development/908369-how-to-get-hikaserial-number-in-a-custom-plugin#362059 "Hello,  If you have the variable, then you're after HikaSerial. But the trigger call doesn't apply that serial will be assigned or unassigned to the order ; thus the best for you would to be load the HikaSerial &quot;order&quot; class and call the function : loadSerialData($order&#95;id) It will perform the loading in the database and return it.  Regards,") 2 years 4 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:3  Views:722 | [Last Post](/forum/31-development/908369-how-to-get-hikaserial-number-in-a-custom-plugin#362059 "Hello,  If you have the variable, then you're after HikaSerial. But the trigger call doesn't apply that serial will be assigned or unassigned to the order ; thus the best for you would to be load the HikaSerial &quot;order&quot; class and call the function : loadSerialData($order&#95;id) It will perform the loading in the database and return it.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      2 years 4 months ago |
| [](/forum/31-development/908338-using-the-field-class) | [Using the "field" class](/forum/31-development/908338-using-the-field-class "-- HikaShop version -- : 5.1.0 -- Joomla version -- : 4.4.5  Hello, I'm a relative beginner with Hikashop but I've experience with Woocommerce. For a plugin development project I need to interact with the hikashop&#95;field table. More precisely I want to retrieve all the values of a singledropdown field based on its field&#95;realname and then update them. I understand that I must start with hikashop&#95;get('class.field'); but then I'm lost ; I've looked into the code of com&#95;hikashop/classes/field.php but without success (and because it extends hikashopClass maybe the answer is in the base class) Any pointer would be appreciated, 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 4 months ago, by [DomB22](/forum/user/82577-domb22 "View DomB22's Profile")       [Last Post](/forum/31-development/908338-using-the-field-class#361826 "Hi,  Ah right, I forgot about the save part. You can't use the save method directly. The field&#95;value attribute is discarded because it isn't in a valid form. You need to set the field&#95;value in the format that is the same as what you can see in the database. So you'll have to do something like this:  Then, the save call will take into account the field&#95;value.  The addValue method is actually way better for adding / updating values. I had forgotten about it.") 2 years 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:4  Views:712 | [Last Post](/forum/31-development/908338-using-the-field-class#361826 "Hi,  Ah right, I forgot about the save part. You can't use the save method directly. The field&#95;value attribute is discarded because it isn't in a valid form. You need to set the field&#95;value in the format that is the same as what you can see in the database. So you'll have to do something like this:  Then, the save call will take into account the field&#95;value.  The addValue method is actually way better for adding / updating values. I had forgotten about it.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 4 months ago |
| [](/forum/31-development/908253-get-order-on-guest-checkout) | [Get order on guest checkout](/forum/31-development/908253-get-order-on-guest-checkout "Hi,  I have a hikashop type plugin which start with:  When i have a registered account who creates an order i see the order&#95;id as expected When i have a guest checkout the reply is NULL  What can i do to get the order&#95;id in the case of a guest checkout?  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 5 months ago, by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")       [Last Post](/forum/31-development/908253-get-order-on-guest-checkout#361439 "Thank you!") 2 years 5 months ago     by [Joomill](/forum/user/33738-joomill "View Joomill's Profile") | Replies:2  Views:639 | [Last Post](/forum/31-development/908253-get-order-on-guest-checkout#361439 "Thank you!") by [Joomill](/forum/user/33738-joomill "View Joomill's Profile")      2 years 5 months ago |
| [](/forum/31-development/908212-quantity-box-increase-and-decrese-auto-refresh) | [Quantity box increase and decrese auto refresh](/forum/31-development/908212-quantity-box-increase-and-decrese-auto-refresh "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.0 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : firefox  Hi, Hope you do great! Is it possible to configure the quantity box to do auto refresh when clicking on +/- that increases and decreases product quantity in the cart and checkout section?  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 5 months ago, by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")       [Last Post](/forum/31-development/908212-quantity-box-increase-and-decrese-auto-refresh#361234 "Hi,  The - and + buttons on the cart and checkout pages are already in auto refresh, without doing anything, on my end. It's the default behavior of HikaShop. Could you provide the URL of the shop and instructions to see these pages? Could you try to temporarily switch to the default template of Joomla in order to see if you have the problem with it too ? The issue might come from old view overrides in your template.") 2 years 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:659 | [Last Post](/forum/31-development/908212-quantity-box-increase-and-decrese-auto-refresh#361234 "Hi,  The - and + buttons on the cart and checkout pages are already in auto refresh, without doing anything, on my end. It's the default behavior of HikaShop. Could you provide the URL of the shop and instructions to see these pages? Could you try to temporarily switch to the default template of Joomla in order to see if you have the problem with it too ? The issue might come from old view overrides in your template.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      2 years 5 months ago |
| <a id="forumbottom"> </a> [   ](#forumtop) |  |

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

Time to create page: 0.045 seconds

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