[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/874934-load-hikashop-framework-files) | [Load hikashop framework/files?](/forum/31-development/874934-load-hikashop-framework-files "-- HikaShop version -- : 2.3.5  I develop a small custom feature where i load images with ajax, my question is, how can i load hikashop framework/files and image tools in my external file?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 9 months ago, by [shpuser](/forum/user/30542-shpuser "View shpuser's Profile")       [Last Post](/forum/31-development/874934-load-hikashop-framework-files#190468 "Hi,  The code:  will initialize HikaShop. This supposes that Joomla's framework is already loaded. If not, it will break.") 11 years 9 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:947 | [Last Post](/forum/31-development/874934-load-hikashop-framework-files#190468 "Hi,  The code:  will initialize HikaShop. This supposes that Joomla's framework is already loaded. If not, it will break.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 9 months ago |
| [](/forum/31-development/874736-get-addresses-from-another-place-outside-hikashop) | [Get Addresses from another place -outside hikashop](/forum/31-development/874736-get-addresses-from-another-place-outside-hikashop "Hi,  I need again your help. I have a webservice that returns to me all addresses of customers. For that, I have in this webservice params like user&#95;id for example. This webservice returns to me the billing address and all the rest of the delivery addresses.  So what i want is:  When I'm inside the page &quot;user control panel&quot; and choose for example &quot;Manage my addresses&quot; I will see one table with all the delivery addresses for this user that we have coming from the webservice. And it's only that. We don't do more nothing here. Don't edit, don't add, nothing. Just look.  After that, in checkout where the user choose him addresses the billing address will be auto (comming from the webservice) and the delivery address will be a combobox like we have now where the list of possible addresses will coming from the webservice to. And like we have now, the user will can choose if want the same address that the billing address or another.  After that, when the user finish and submit the cart we have a new order like we have now. But to resolve the problem with addresses, because if we use this webservice, we don't use the database and we don't have addresses inside. So we need to make a function to save addresses only for orders, because if we use the webservice, in future when we try to see the order we will don't find addresses because maybe this user don't have now this address. So the webservice don't return that address and the history will find one error because don't have the same address. So for this we will need a function to insert this address if the address don't exists in hikashop addresses table. And the order page works normally like now, showing all the correct history.  So in summary, what we need is:  1. The &quot;manage my addresses&quot; in &quot;user control panel&quot; only show the addresses coming from the webservice. 2. The checkout select the billing address and the delivery address from the webservice. 3. After submit the cart we need a function to see if that addresses that we have selected exists in hikashop addresses table. If not exist add this one, and make a normal relation for the order history works perfect. 4. Orders page works like now, showing the address from hikashop addresses table.  I know that is a lot of changes, but can you help me? Thanks.")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 9 months ago, by [rfernandes](/forum/user/29593-rfernandes "View rfernandes's Profile")       [Last Post](/forum/31-development/874736-get-addresses-from-another-place-outside-hikashop#189395 "Hi,  We cannot code that for you (you can contact our partners for a quote if you need someone to develop that for you). We can however tell you what should be coded where in order to achieve that:  1. You can edit the file &quot;listing&quot; of the view &quot;address&quot; via the menu Display&gt;Views. There, remove the code and add your own code to fetch the addresses and display them the way you want.  2. I would recommend to remove the &quot;address&quot; view from the checkout workflow option of the configuration and instead add a custom view that you would add with a custom hikashop plugin. I would recommend to implement the checkout API of HikaShop :   www.hikashop.com/support/support/documen...tation.html#checkout  That way, you can have your own checkout step and handle the HTML displayed on the step and the saving of the selection completely in your plugin. I would recommend to save the selection somewhere in the user session thanks to $&#95;SESSION. As an example, you can look at the user points plugin files under the folder plugins/hikashop/userpoints which implement these triggers.  3. I would recommend to implement in your hikashop plugin the trigger onBeforeOrderCreate in order to generate the address if necessary in the table hikashop&#95;address based on the one that was selected and that you stored in the session. Simply add the address&#95;id of the address in $order-&gt;order&#95;billing&#95;address&#95;id and $order-&gt;order&#95;shipping&#95;address&#95;id and the system will take them into account.  4. There is nothing to do here as you saved the address and linked it in the order as if it was a standard HikaShop address, so the system will display it automatically in the notification emails, the order details page in the backend, in the frontend and in the invoice.") 11 years 9 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:848 | [Last Post](/forum/31-development/874736-get-addresses-from-another-place-outside-hikashop#189395 "Hi,  We cannot code that for you (you can contact our partners for a quote if you need someone to develop that for you). We can however tell you what should be coded where in order to achieve that:  1. You can edit the file &quot;listing&quot; of the view &quot;address&quot; via the menu Display&gt;Views. There, remove the code and add your own code to fetch the addresses and display them the way you want.  2. I would recommend to remove the &quot;address&quot; view from the checkout workflow option of the configuration and instead add a custom view that you would add with a custom hikashop plugin. I would recommend to implement the checkout API of HikaShop :   www.hikashop.com/support/support/documen...tation.html#checkout  That way, you can have your own checkout step and handle the HTML displayed on the step and the saving of the selection completely in your plugin. I would recommend to save the selection somewhere in the user session thanks to $&#95;SESSION. As an example, you can look at the user points plugin files under the folder plugins/hikashop/userpoints which implement these triggers.  3. I would recommend to implement in your hikashop plugin the trigger onBeforeOrderCreate in order to generate the address if necessary in the table hikashop&#95;address based on the one that was selected and that you stored in the session. Simply add the address&#95;id of the address in $order-&gt;order&#95;billing&#95;address&#95;id and $order-&gt;order&#95;shipping&#95;address&#95;id and the system will take them into account.  4. There is nothing to do here as you saved the address and linked it in the order as if it was a standard HikaShop address, so the system will display it automatically in the notification emails, the order details page in the backend, in the frontend and in the invoice.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 9 months ago |
| [](/forum/31-development/874637-customer-request-for-new-webshop) | [customer request for new webshop](/forum/31-development/874637-customer-request-for-new-webshop "-- HikaShop version -- : latest -- Joomla version -- : latest -- PHP version -- : 5.3 -- Browser(s) name and version -- : latest  Hi,  I've built serval hakashops. Now a new customer asks if it is possible to both show a &quot;buy&quot;-button as well as a &quot;rent&quot;-button. My customer likes to sell and rent tools. So customers need to select a tool f.i. lawn-mower and must be able to buy it or rent it. This choice should be made on the product-page.  If &quot;rent&quot;-button is selected, additional data should be gathered like: rental-period etc.  Is this use-case applicable with hockshop business edition?  Thanks in advance.  Mark")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 9 months ago, by [squareweb](/forum/user/29471-squareweb "View squareweb's Profile")       [Last Post](/forum/31-development/874637-customer-request-for-new-webshop#189055 "Thanks Xavier,  I'll try to create a setup as proposed.  If I have any questions I'll post them.  Thanks again.  Mark") 11 years 9 months ago     by [squareweb](/forum/user/29471-squareweb "View squareweb's Profile") | Replies:4  Views:1466 | [Last Post](/forum/31-development/874637-customer-request-for-new-webshop#189055 "Thanks Xavier,  I'll try to create a setup as proposed.  If I have any questions I'll post them.  Thanks again.  Mark") by [squareweb](/forum/user/29471-squareweb "View squareweb's Profile")      11 years 9 months ago |
| [](/forum/31-development/874503-product-page-in-second-language-is-empty) | [product page in second language is empty](/forum/31-development/874503-product-page-in-second-language-is-empty "-- url of the page with the problem -- :   www.instrucenter.com/en/contact-portable...mometer-model-tm-914  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5 -- Browser(s) name and version -- : FireFox  Hello I transfer all off my product from virtuemart to hikashop successfully. Product page is ok in fires languale (first language is persian) but is second language (en lang) product page is empty. here is a product in first lang:   www.instrucenter.com/fa/contact-portable...mometer-model-tm-914  and this is that link in second language:   www.instrucenter.com/en/contact-portable...mometer-model-tm-914  how can i fix this problem?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 9 months ago, by [babaei](/forum/user/34732-babaei "View babaei's Profile")       [Last Post](/forum/31-development/874503-product-page-in-second-language-is-empty#188154 "I searched google to fix this problem and reach to this address:   www.hikashop.com/forum/2-general-talk-ab...-joomfish-issue.html  i removed in the file libraries&#92;joomfish&#92;translatable&#92;translationobject.php and problem fixed. thanks again nicolas.") 11 years 9 months ago     by [babaei](/forum/user/34732-babaei "View babaei's Profile") | Replies:3  Views:830 | [Last Post](/forum/31-development/874503-product-page-in-second-language-is-empty#188154 "I searched google to fix this problem and reach to this address:   www.hikashop.com/forum/2-general-talk-ab...-joomfish-issue.html  i removed in the file libraries&#92;joomfish&#92;translatable&#92;translationobject.php and problem fixed. thanks again nicolas.") by [babaei](/forum/user/34732-babaei "View babaei's Profile")      11 years 9 months ago |
| [](/forum/31-development/874445-how-to-save-order-details-in-a-plugin) | [How to save order details in a plugin](/forum/31-development/874445-how-to-save-order-details-in-a-plugin "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  Hi,  I'm making a new payment plugin. In onOrderAfterConfirmation the payment portal generates a transaction ID that I want/need to store with the order. I tried the following:  &#42; Add the transaction ID to $order-&gt;order&#95;payment&#95;params. Nothing is saved.  &#42; Add the transaction ID, and call $order-&gt;save($order). White screen, function not found apparently.  &#42; Add the transaction ID, create a dummy order to have access to the save method. This works, but now I get an SQL error that I want to inject fields that are not in the database.  &#42; Add the transaction ID, and copy all fields whose names start with 'order&#95;' to a new object, and try to save that one. A SQL error occurs again, that still some fields are not in the database.  OK, I think I can make this work, but I was asking myself whether there is a smarter way to accomplish this.  Your help is appreciated.  Best regards, Paul")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 9 months ago, by [paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile")       [Last Post](/forum/31-development/874445-how-to-save-order-details-in-a-plugin#187977 "Hello, Note that checking the &quot;modifyOrder&quot; function of the &quot;administrator&#92;components&#92;com&#95;hikashop&#92;helpers&#92;helper.php&quot; file will probably help you, note that you can save your order using the save function of the $orderClass, but you can also save some extra data via &quot;$order-&gt;history-&gt;history&#95;data&quot;.") 11 years 9 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:3  Views:1703 | [Last Post](/forum/31-development/874445-how-to-save-order-details-in-a-plugin#187977 "Hello, Note that checking the &quot;modifyOrder&quot; function of the &quot;administrator&#92;components&#92;com&#95;hikashop&#92;helpers&#92;helper.php&quot; file will probably help you, note that you can save your order using the save function of the $orderClass, but you can also save some extra data via &quot;$order-&gt;history-&gt;history&#95;data&quot;.") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      11 years 9 months ago |
| [](/forum/31-development/874423-advanced-date-picker-usage-in-products) | [Advanced Date Picker usage in products?](/forum/31-development/874423-advanced-date-picker-usage-in-products "Hi, i was wondering if if would be somehow possible ( paid or otherwise ) to have this checkout component customised so it could be a product attribute, in that i could set the date specifics in the...")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 9 months ago, by [WillPatterson](/forum/user/4703-willpatterson "View WillPatterson's Profile")       [Last Post](/forum/31-development/874423-advanced-date-picker-usage-in-products#187733 "Hi,  Okay, I see what you're looking for. You want to use an &quot;item custom field&quot; but where the restrictions for the datapicker could be override using a product custom field.  Well, the best I guess will be to duplicate the &quot;advanced date picker&quot; plugin (hikashop / datepickerfield) in order to create a new kind of custom field and add some little code to be able to override the custom field restriction date from the product object. But in the function &quot;display&quot; for the custom field, for what I see, it is not possible to get the product object. So it means that the best is to look for the product id in the parameters. The custom field will be display on the product page (where you can easily have the product id) or when adding the product in the cart (for the custom field check part) where you also have the product id in the parameters.  I hope it will help you.  Regards,") 11 years 9 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:3  Views:1344 | [Last Post](/forum/31-development/874423-advanced-date-picker-usage-in-products#187733 "Hi,  Okay, I see what you're looking for. You want to use an &quot;item custom field&quot; but where the restrictions for the datapicker could be override using a product custom field.  Well, the best I guess will be to duplicate the &quot;advanced date picker&quot; plugin (hikashop / datepickerfield) in order to create a new kind of custom field and add some little code to be able to override the custom field restriction date from the product object. But in the function &quot;display&quot; for the custom field, for what I see, it is not possible to get the product object. So it means that the best is to look for the product id in the parameters. The custom field will be display on the product page (where you can easily have the product id) or when adding the product in the cart (for the custom field check part) where you also have the product id in the parameters.  I hope it will help you.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      11 years 9 months ago |
| [](/forum/31-development/874354-using-hikashopmodifyquantity) | [Using hikashopModifyQuantity](/forum/31-development/874354-using-hikashopmodifyquantity "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Safari 7.1.2  A couple of years ago I developed a theatre ticketing linked to Hikashop to sell tickets for our society's performances and everything worked well. People could click on the seat they wanted and the ticket would be added to the basket. If they changed their mind, they could click on the seat again and the ticket would be removed from the basket. This was achieved through a javascript module which essentially called hikashopModifyQuantity (see below), passing it either +1 or -1 as required.  I have now upgraded to the latest version of Hikashop and this no longer seems to work. It adds the seat just as before - but clicking on the seat again no longer removes it. It appears that hikashopModifyQuantity no longer accepts negative amounts. Is that right? And, if so, is there another way to achieve what I need to do?  Many thanks! Jonathan")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 9 months ago, by [jmtodd](/forum/user/8200-jmtodd "View jmtodd's Profile")       [Last Post](/forum/31-development/874354-using-hikashopmodifyquantity#187461 "Hi,  Our developer documentation does not have the javascript functions ; the fact is that I want to rewrite a big part of them in order to rearrange them and if possible, use javascript objects. I also planned to add some javascript triggers in HikaShop pages so it will become easier to plug some JS code to catch specific events.  Regards,") 11 years 9 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:3  Views:989 | [Last Post](/forum/31-development/874354-using-hikashopmodifyquantity#187461 "Hi,  Our developer documentation does not have the javascript functions ; the fact is that I want to rewrite a big part of them in order to rearrange them and if possible, use javascript objects. I also planned to add some javascript triggers in HikaShop pages so it will become easier to plug some JS code to catch specific events.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      11 years 9 months ago |
| [](/forum/31-development/874254-hook-to-add-user-question-during-checkout) | [Hook to add user question during checkout](/forum/31-development/874254-hook-to-add-user-question-during-checkout "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6  I'm about to develop a payment plugin, where the user is required to select a bank, before the payment transaction can be created, I.e. the name of the user's bank must be known before communicating to Payment Service Provider. I'm looking for a hook where to inject the code to ask the user for these details, but couldn't find any.  I'm about to alter the code in views/checkout/tmpl/payment.php to look for a file in the corresponding payment plug-in dir, that contains the additional user interaction.  Do you have any thoughts on this? Is there an alternative?  Thanks and regards, Paul van Haren")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 9 months ago, by [paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile")       [Last Post](/forum/31-development/874254-hook-to-add-user-question-during-checkout#186806 "Thank you. This is exactly what I was hoping for. I'm glad I asked.  Thanks again, Paul") 11 years 9 months ago     by [paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile") | Replies:2  Views:970 | [Last Post](/forum/31-development/874254-hook-to-add-user-question-during-checkout#186806 "Thank you. This is exactly what I was hoping for. I'm glad I asked.  Thanks again, Paul") by [paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile")      11 years 9 months ago |
| [](/forum/31-development/874067-how-to-create-duplicate-an-order-through-api) | [How to Create / Duplicate an order through API?](/forum/31-development/874067-how-to-create-duplicate-an-order-through-api "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5 -- Browser(s) name and version -- : XXX -- Error-message(debug-mod must be tuned on) -- : Hi  Hi  Im trying to figure out a way to convert a product into a recurring payment, but cannot find out how to create/duplicate a whole order. There is plenty of examples to interact with an order, but that part is already in place.  So, How to create a new or duplicate an existing (whole) order through HS API?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 10 months ago, by [cgonline](/forum/user/34948-cgonline "View cgonline's Profile")       [Last Post](/forum/31-development/874067-how-to-create-duplicate-an-order-through-api#185794 "Hi,  Yes, the call to save will trigger the normal HikaShop plugins/events. For a direct link which handles the canonical URLs, you want to use:  The best though would be to have a $product&#95;object coming from the database with all the product data as the object attributes, like we do in HikaShop since hikashop&#95;contentLink expect an object, not an array.") 11 years 10 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1115 | [Last Post](/forum/31-development/874067-how-to-create-duplicate-an-order-through-api#185794 "Hi,  Yes, the call to save will trigger the normal HikaShop plugins/events. For a direct link which handles the canonical URLs, you want to use:  The best though would be to have a $product&#95;object coming from the database with all the product data as the object attributes, like we do in HikaShop since hikashop&#95;contentLink expect an object, not an array.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 10 months ago |
| [](/forum/31-development/874089-getting-the-prices-of-a-product) | [Getting the Prices of a Product](/forum/31-development/874089-getting-the-prices-of-a-product "-- HikaShop version -- : latest -- Joomla version -- : latest -- PHP version -- : latest -- Browser(s) name and version -- : modern html 5 browser  Hello Everybody,  I am about to create a View for a certain product collection… Well, I could manage to retrive the list of products from the database, so I have each nessesary »product&#95;id«.  Is there a function I can use to get the prices of each Product, or do I have to code that myself?  Have a look at the attachment, I am interessted in the Prices Array, how can I get that?")         Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 10 months ago, by [philipp](/forum/user/35353-philipp "View philipp's Profile")       [Last Post](/forum/31-development/874089-getting-the-prices-of-a-product#185713 "Hi,  Once you have the product data in a $product variable you can use that code:") 11 years 10 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:951 | [Last Post](/forum/31-development/874089-getting-the-prices-of-a-product#185713 "Hi,  Once you have the product data in a $product variable you can use that code:") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 10 months ago |
| [](/forum/31-development/874079-getting-all-products-in-a-category) | [Getting all Products in a Category](/forum/31-development/874079-getting-all-products-in-a-category "-- HikaShop version -- : latest -- Joomla version -- : latest -- PHP version -- : latest -- Browser(s) name and version -- : ff latest  Hello Everybody,  Given a category ID, how can I get all the products in it?  I have tried this:  None of the methods returns the list of products or their ids…  How can I do that?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 10 months ago, by [philipp](/forum/user/35353-philipp "View philipp's Profile")       [Last Post](/forum/31-development/874079-getting-all-products-in-a-category#185634 "Hi,  There is no function to do that. The best is to write a MySQL query and load the data yourself from the tables hikashop&#95;product&#95;category and hikashop&#95;product. Otherwise, you can use that code:  But I don't recommend that as it first loads all the data of all the products in the getProducts() function (which is used for products exports) before loading the products based on the category id and these products list.") 11 years 10 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1620 | [Last Post](/forum/31-development/874079-getting-all-products-in-a-category#185634 "Hi,  There is no function to do that. The best is to write a MySQL query and load the data yourself from the tables hikashop&#95;product&#95;category and hikashop&#95;product. Otherwise, you can use that code:  But I don't recommend that as it first loads all the data of all the products in the getProducts() function (which is used for products exports) before loading the products based on the category id and these products list.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 10 months ago |
| [](/forum/31-development/873926-cookies-in-cart) | [cookies in cart](/forum/31-development/873926-cookies-in-cart "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3  Is there an easy way to create cookies for the shoping cart? For example, if the user has 2 items in the cart , close the browser and then open again then show the 2 items again and not empy cart.  Thanks")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 10 months ago, by [dimavricos](/forum/user/35542-dimavricos "View dimavricos's Profile")       [Last Post](/forum/31-development/873926-cookies-in-cart#184875 "Long story short, for guest user:  &#42; with default browser settings cart is lost when he closes the browser.  &#42; with &quot;Continue where you left off&quot; set on, cart will last for &quot;cart retaining period&quot; days.  For guest user cart is identified by session id. Joomla session depends on session cookie and &quot;session lifetime&quot; mentioned by nicolas.  After &quot;session lifetime&quot; period, session is considered expired and is deleted by PHP(session garbage collector) on next request with probability 1%(by default).  Session cookie should be deleted when user closes browser, but this is ignored by most browsers when &quot;Continue where you left off(Chrome)/Show my windows from last time(Firefox)&quot; is set.  If there is no session but session cookie exists, Joomla will reuse session id from cookie.") 11 years 10 months ago     by [korzo](/forum/user/34428-korzo "View korzo's Profile") | Replies:6  Views:1317 | [Last Post](/forum/31-development/873926-cookies-in-cart#184875 "Long story short, for guest user:  &#42; with default browser settings cart is lost when he closes the browser.  &#42; with &quot;Continue where you left off&quot; set on, cart will last for &quot;cart retaining period&quot; days.  For guest user cart is identified by session id. Joomla session depends on session cookie and &quot;session lifetime&quot; mentioned by nicolas.  After &quot;session lifetime&quot; period, session is considered expired and is deleted by PHP(session garbage collector) on next request with probability 1%(by default).  Session cookie should be deleted when user closes browser, but this is ignored by most browsers when &quot;Continue where you left off(Chrome)/Show my windows from last time(Firefox)&quot; is set.  If there is no session but session cookie exists, Joomla will reuse session id from cookie.") by [korzo](/forum/user/34428-korzo "View korzo's Profile")      11 years 10 months ago |
| [](/forum/31-development/873804-using-two-templates) | [Using two templates](/forum/31-development/873804-using-two-templates "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  Considering in my website I have a Template1 and that template is not good for shops, I'm wondering if it would be possible to set the shop with the files from Template2 (without changing the main aspect of the web), I mean... banners, footer, modules... would keep as template1 but the checkout, products... etc... as template2.  Is that possible? Thanks for your attention, 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 11 years 10 months ago, by [naranjacuatro](/forum/user/35487-naranjacuatro "View naranjacuatro's Profile")       [Last Post](/forum/31-development/873804-using-two-templates#184179 "great! thanks a lot for your help :)  The reason is simple: I have a web that works with customers, so I don´t want to change the main template, but... this template has an awful checkout u-&#95;- so for that reason I need to mix them :P  thanks again :)") 11 years 10 months ago     by [naranjacuatro](/forum/user/35487-naranjacuatro "View naranjacuatro's Profile") | Replies:2  Views:829 | [Last Post](/forum/31-development/873804-using-two-templates#184179 "great! thanks a lot for your help :)  The reason is simple: I have a web that works with customers, so I don´t want to change the main template, but... this template has an awful checkout u-&#95;- so for that reason I need to mix them :P  thanks again :)") by [naranjacuatro](/forum/user/35487-naranjacuatro "View naranjacuatro's Profile")      11 years 10 months ago |
| [](/forum/31-development/873735-custom-field-values-in-product-table-in-order) | [Custom field values in Product table in Order](/forum/31-development/873735-custom-field-values-in-product-table-in-order "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  I have a number of custom fields in the product table that I would like to also display in the backend Order&gt;Show view and the Order&gt;Invoice view. I've found discussions on the board, but nothing's worked so far. I'm guessing I'm missing how to jump data between tables. I've found the relevant view files and have confirmed that edits are read properly.")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 10 months ago, by [acymru](/forum/user/35350-acymru "View acymru's Profile")       [Last Post](/forum/31-development/873735-custom-field-values-in-product-table-in-order#183777 "Hi,  You will have to add custom code, for example in the view &quot;order / show&#95;products&quot; add:  Before:  And:  In the desired &lt;td&gt; in the foreach.") 11 years 10 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:1  Views:1146 | [Last Post](/forum/31-development/873735-custom-field-values-in-product-table-in-order#183777 "Hi,  You will have to add custom code, for example in the view &quot;order / show&#95;products&quot; add:  Before:  And:  In the desired  in the foreach.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      11 years 10 months ago |
| [](/forum/31-development/873523-add-multiple-products-in-one-click) | [Add multiple products in one click](/forum/31-development/873523-add-multiple-products-in-one-click "Hi,  I do not know if I'm in the right place ..  Is it possible to add multiple products with a single click?  Here is my code.  It works only with the last link  I also tested with this code that works on prestashop  Thank you for your answer")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 11 months ago, by [K-lol](/forum/user/35313-k-lol "View K-lol's Profile")       [Last Post](/forum/31-development/873523-add-multiple-products-in-one-click#182693 "Hi,  You need to do like this: where XXX is the id of a product and YYY its corresponding quantity. Same for AAA and BBB and you can repeat these parameters for other products.") 11 years 11 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:917 | [Last Post](/forum/31-development/873523-add-multiple-products-in-one-click#182693 "Hi,  You need to do like this: where XXX is the id of a product and YYY its corresponding quantity. Same for AAA and BBB and you can repeat these parameters for other products.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 11 months ago |
| [](/forum/31-development/873452-override-search-plugin) | [Override search plugin](/forum/31-development/873452-override-search-plugin "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6  Hello, I would like to make some changes on hikashop product search plugin (just to let the results elements points to the correct menu item). Is there a way to override it avoiding losing my changes on 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 11 years 11 months ago, by [gulp](/forum/user/31237-gulp "View gulp's Profile")       [Last Post](/forum/31-development/873452-override-search-plugin#182361 "No, there is no override systems for the plugins.") 11 years 11 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:3  Views:937 | [Last Post](/forum/31-development/873452-override-search-plugin#182361 "No, there is no override systems for the plugins.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      11 years 11 months ago |
| [](/forum/31-development/873416-change-currency-based-on-country) | [Change Currency based on Country](/forum/31-development/873416-change-currency-based-on-country "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.35  Hi want to change currency automatically based on country. so i have used bellow code: $xml = simplexml&#95;load&#95;file(&quot;  www.geoplugin.net/xml.gp?ip=&quot;.$&#95;SERVER ); if( $xml-&gt;geoplugin&#95;countryCode == 'US' ) { $app-&gt;setUserState('com&#95;hikashop.currency&#95;id',2); } but its not changing currency, please help me if i am missing any thing or there is built in option for that.")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 11 months ago, by [sdabhi](/forum/user/35225-sdabhi "View sdabhi's Profile")       [Last Post](/forum/31-development/873416-change-currency-based-on-country#182113 "Hello, 1. Note that you can use a currency switcher module.  2. Using the geolocation plugin will probably help you to do what you want :   www.hikashop.com/support/documentation/7...ion.html#description") 11 years 11 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:1  Views:1118 | [Last Post](/forum/31-development/873416-change-currency-based-on-country#182113 "Hello, 1. Note that you can use a currency switcher module.  2. Using the geolocation plugin will probably help you to do what you want :   www.hikashop.com/support/documentation/7...ion.html#description") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      11 years 11 months ago |
| [](/forum/31-development/873317-converting-hikashop-to-merchant-component) | [Converting Hikashop to Merchant Component](/forum/31-development/873317-converting-hikashop-to-merchant-component "-- HikaShop version -- : 1402141152 -- Joomla version -- : 3.3.4 -- PHP version -- : 5.5.6 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : I want to convert hikashop as merchant component how to do it?  I want to convert hikashop as merchant component how to do 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 11 years 11 months ago, by [ihostgalaxy](/forum/user/35119-ihostgalaxy "View ihostgalaxy's Profile")       [Last Post](/forum/31-development/873317-converting-hikashop-to-merchant-component#181964 "Hi,  HikaShop and HikaMarket are e-commerce system : to sell products in your Joomla website. It uses payment gateway for the payments but HikaShop/HikaMarket are not a payment gateway. About the account balance, you can use the integration with AlphaUserPoints in order to have your &quot;local currency&quot;.  Regards,") 11 years 11 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:5  Views:1033 | [Last Post](/forum/31-development/873317-converting-hikashop-to-merchant-component#181964 "Hi,  HikaShop and HikaMarket are e-commerce system : to sell products in your Joomla website. It uses payment gateway for the payments but HikaShop/HikaMarket are not a payment gateway. About the account balance, you can use the integration with AlphaUserPoints in order to have your &quot;local currency&quot;.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      11 years 11 months ago |
| [](/forum/31-development/864536-integrate-with-membership-extension) | [Integrate with Membership extension.](/forum/31-development/864536-integrate-with-membership-extension "Hello,  We want to integrate Emerald with Hikashop. Emerald is Joomla membership extension. The idea is to associate hikashop products with subscription plans. And when product is purchased, assign subscription for user.  I have found developer documentation with is detailed enough. I know what event to use after success purchase to assign associated subscription.  Right now I have only one question. What event to use to add subscription plans selector into product form so that during product add/edit seller could indicate what subscription to give after success product purchase.  And how to access this value later in success purchase event.")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 10 months ago, by [Sergey Romanov](/forum/user/5439-sergey-romanov "View Sergey Romanov's Profile")       [Last Post](/forum/31-development/864536-integrate-with-membership-extension#181221 "Hi,  Yes, please use our contact to reach me and plan that:   www.hikashop.com/support/contact-us.html") 11 years 11 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:11  Views:2550 | [Last Post](/forum/31-development/864536-integrate-with-membership-extension#181221 "Hi,  Yes, please use our contact to reach me and plan that:   www.hikashop.com/support/contact-us.html") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 11 months ago |
| [](/forum/31-development/867678-plugin-onbeforeusercreate) | [Plugin OnBeforeUserCreate](/forum/31-development/867678-plugin-onbeforeusercreate "Hello,  I've created a plugin onBeforeUsercreate :  I want to verify a custom information on user before his cart registration. But it seems that it does'nt launch. My plugin is activated.But when I go to plugin hihashop (System / Plugins), the list is empty.  Where is my mistake ?  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 12 years 6 months ago, by [csim](/forum/user/31390-csim "View csim's Profile")       [Last Post](/forum/31-development/867678-plugin-onbeforeusercreate#180697 "Hi,  Yes, but in that case, you want to look in the $&#95;POST variable for the custom user field data from HikaShop.") 11 years 11 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:17  Views:1565 | [Last Post](/forum/31-development/867678-plugin-onbeforeusercreate#180697 "Hi,  Yes, but in that case, you want to look in the $&#95;POST variable for the custom user field data from HikaShop.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 11 months ago |
| <a id="forumbottom"> </a> [   ](#forumtop) |  |

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

Time to create page: 0.051 seconds

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