[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/872896-hide-custom-field-on-checkout-based-on-variants) | [Hide Custom Field on Checkout Based on Variants](/forum/31-development/872896-hide-custom-field-on-checkout-based-on-variants "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.32 -- Browser(s) name and version -- : Firefox 33.0.3  I'm trying to set up a way to offer furniture in a variety of fabrics (80+). I've made it to the point where I have custom item fields show/hide based on variant selection on the product. The only thing i can't get working is I need to hide the extra values from the custom item fields on the checkout page so that it only shows the correct fields as opposed to all fields. Ive tried to do this by hiding the class based on the text appended to the item name from the variant. But haven't had any luck on the actual site. Any guidance on this would be much appreciated.")         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 4 days ago, by [ctcpfi](/forum/user/17831-ctcpfi "View ctcpfi's Profile")       [Last Post](/forum/31-development/872896-hide-custom-field-on-checkout-based-on-variants#179439 "Hi,  In your case the best solution is to use the options and not the custom fields. Thanks to the options, you can restrict them to a desired product.  So you have to create two characteristics, one named &quot;Running fabric&quot; and the other one &quot;Microfiber fabric&quot;. Add the desired values to each characteristic.  Then create two option products, the first one &quot;Running fabric&quot; and select the &quot;Running fabric&quot; characteristic, do the same thing with the microfiber one.  And finally add to your main product the option &quot;Running fabric&quot; if it's a running fabric, etc.  Here is doc for characteristics:   www.hikashop.com/support/support/documen...html#characteristics  And here doc for options:   www.hikashop.com/support/support/documen...ct-form.html#options") 12 years 20 hours ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:3  Views:1098 | [Last Post](/forum/31-development/872896-hide-custom-field-on-checkout-based-on-variants#179439 "Hi,  In your case the best solution is to use the options and not the custom fields. Thanks to the options, you can restrict them to a desired product.  So you have to create two characteristics, one named &quot;Running fabric&quot; and the other one &quot;Microfiber fabric&quot;. Add the desired values to each characteristic.  Then create two option products, the first one &quot;Running fabric&quot; and select the &quot;Running fabric&quot; characteristic, do the same thing with the microfiber one.  And finally add to your main product the option &quot;Running fabric&quot; if it's a running fabric, etc.  Here is doc for characteristics:   www.hikashop.com/support/support/documen...html#characteristics  And here doc for options:   www.hikashop.com/support/support/documen...ct-form.html#options") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 20 hours ago |
| [](/forum/31-development/872932-using-the-product-and-cart-api) | [Using the product and cart API](/forum/31-development/872932-using-the-product-and-cart-api "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3  Hi,  I'm new to using Hikashop and I'm developing a module for Joomla that needs to create either a product or a product variant that is created by the customer from my module. I'm currently using the Starter version for developing but the person I'm developing for will be using the Business version.  From the developer API document pages I can see how to use all the triggers but I'm not sure how I would go about creating a product and adding it to the cart. The customer may want to build more than 1 item in my module before checkout so I will need to add these items without leaving the current page.  The product will be build by sections so I will be creating a product code from a combination of the parts. These parts can exist in the product table if that helps but they must never appear as single items in any views or receipts.  An example product would be creating a bike where you can choose different frames, seats, handle bars and wheels and the end product for checkout would only list 'custom bike' with a total price of the components and build costs.  Is there a detailed API documentation about how to handle this or maybe some examples that create a product and add it to the cart?  Thanks 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 12 years 2 days ago, by [venomDev](/forum/user/34941-venomdev "View venomDev's Profile")       [Last Post](/forum/31-development/872932-using-the-product-and-cart-api#179377 "Hi,  1. We don't have a documentation for all the functions of the HikaShop classes.  2. We don't have a function to search for a string in the category table. You can do that with a MySQL query.") 12 years 21 hours ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1908 | [Last Post](/forum/31-development/872932-using-the-product-and-cart-api#179377 "Hi,  1. We don't have a documentation for all the functions of the HikaShop classes.  2. We don't have a function to search for a string in the category table. You can do that with a MySQL query.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 21 hours ago |
| [](/forum/31-development/872569-display-number-of-items-in-cart) | [Display number of items in cart](/forum/31-development/872569-display-number-of-items-in-cart "-- url of the page with the problem -- : NA -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4 -- Browser(s) name and version -- : NA  I'm trying to create a menu item that displays the number of items in the cart and when clicked reveals a full hikashop cart via javascript. How can you display the number of items in the cart? I've check out this   www.hikashop.com/forum/4-how-to/12498-mi...l?limitstart=0#13328  and it doesnt seem to work anymore.  I cannot use a minicart because I want to use a full cart on the same page and that creates errors with AJAX add to cart.  Regards, Nathan")         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 2 weeks ago, by [MumsHealth](/forum/user/21338-mumshealth "View MumsHealth's Profile")       [Last Post](/forum/31-development/872569-display-number-of-items-in-cart#178791 "Hi,  You can override the JS of the AJAX add to cart to add the refresh of that number. You'll need to implement the hikashop&#95;cart&#95;js&#95;render function in a hikashop&#95;button.php file in the folder templates/MY&#95;TEMPLATE/html basing yourself on the code in administrator/components/com&#95;hikashop/helpers/cart.php") 12 years 5 days ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:1501 | [Last Post](/forum/31-development/872569-display-number-of-items-in-cart#178791 "Hi,  You can override the JS of the AJAX add to cart to add the refresh of that number. You'll need to implement the hikashop&#95;cart&#95;js&#95;render function in a hikashop&#95;button.php file in the folder templates/MY&#95;TEMPLATE/html basing yourself on the code in administrator/components/com&#95;hikashop/helpers/cart.php") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 5 days ago |
| [](/forum/31-development/872840-combining-rows-in-the-product-compare-table-how-to) | [Combining rows in the product compare table HOW TO](/forum/31-development/872840-combining-rows-in-the-product-compare-table-how-to "-- HikaShop version -- : 3.2.3 -- Joomla version -- : 3.3.6  Hi,  I plan to alter the search results and add product compare functionality to the search results that are returned. I think I know how to do this. What I have a question about is the compare table that is generated via compare.php  In a normal compare table, the results are from a single category. In my case, the search + compare may return a compare table that has products from two different categories. This gives me my list of custom fields, but I get too many fields returned. For example I have a product field for GLOVE COLOR and another field for JACKET COLOR... so if I search for &quot;blue&quot; then compare a jacket and a glove, I get both product fields (two different rows) in my compare table, when I would like to have just a single row in the table called COLOR with the values from each of GLOVE COLOR and JACKET COLOR displayed in that single row. Please understand that the GLOVE COLOR field will be null for a jacket and the JACKET COLOR field will be null for a glove  So here is my question... having looked at compare.php I cannot determine how to combine two rows in the compare table. Is there any advice you can give me toward this effort?  Thanks so much,  Dennis")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 1 week ago, by [dkmetz@taylorbruce.com](/forum/user/11254-dkmetz-taylorbruce-com "View dkmetz@taylorbruce.com's Profile")       [Last Post](/forum/31-development/872840-combining-rows-in-the-product-compare-table-how-to#178583 "Hi,  The compage page allow you to compare products from different categories. It is just that for a customer, he has to see the two products in the same page if he want to compare them ; but the system can be improved, the page just require product id in his parameters to work.  About your aggregation of fields ; it will require some override of the compare view. The view create one row per element, so in your case you have to create an algorithm which will join several fields into the same row. For the first column it will be mostly a skip of the fields and a replacement by their common name ; for the product columns it will be the display of all join fields. Because a product can just have one value (glove color or jacket color but not both), only the field with a value will be displayed.  I hope my explanation is clear enough.  Regards,") 12 years 1 week ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:1  Views:817 | [Last Post](/forum/31-development/872840-combining-rows-in-the-product-compare-table-how-to#178583 "Hi,  The compage page allow you to compare products from different categories. It is just that for a customer, he has to see the two products in the same page if he want to compare them ; but the system can be improved, the page just require product id in his parameters to work.  About your aggregation of fields ; it will require some override of the compare view. The view create one row per element, so in your case you have to create an algorithm which will join several fields into the same row. For the first column it will be mostly a skip of the fields and a replacement by their common name ; for the product columns it will be the display of all join fields. Because a product can just have one value (glove color or jacket color but not both), only the field with a value will be displayed.  I hope my explanation is clear enough.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      12 years 1 week ago |
| [](/forum/31-development/872830-how-to-display-custom-field-label-value) | [How to display custom field label/value?](/forum/31-development/872830-how-to-display-custom-field-label-value "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Firefox 32.0.3 -- Error-message(debug-mod must be tuned on) -- : none  Question related to custom fields. I defined a custom field named Titre (wine store) that display the alcool degree. In the backend, I defined an option of titre as: Value = 13.5 and Label =13.5° I see that you display in product &quot;titre&quot; option list, the Label value. Currently the code in listing&#95;img&#95;desc.php I am using is: row-&gt;titre; ?&gt;; this displays the value but I want to display the label info. How can I obtain this result. I assume that the value is the key in database and the label is the field that must be displayed. Thanks in advance for support. Regards Daniel")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 1 week ago, by [Belgium](/forum/user/1567-belgium "View Belgium's Profile")       [Last Post](/forum/31-development/872830-how-to-display-custom-field-label-value#178530 "I searched again and again the forum and finally I found the solution in this thread:   hikashop.com/forum/product-category-disp...isplay-products.html  Ticket can be closed  Regards Daniel") 12 years 1 week ago     by [Belgium](/forum/user/1567-belgium "View Belgium's Profile") | Replies:1  Views:1573 | [Last Post](/forum/31-development/872830-how-to-display-custom-field-label-value#178530 "I searched again and again the forum and finally I found the solution in this thread:   hikashop.com/forum/product-category-disp...isplay-products.html  Ticket can be closed  Regards Daniel") by [Belgium](/forum/user/1567-belgium "View Belgium's Profile")      12 years 1 week ago |
| [](/forum/31-development/872354-is-it-possible-to-upgrade-with-a-own-built) | [Is it possible to upgrade with a (own) built](/forum/31-development/872354-is-it-possible-to-upgrade-with-a-own-built "-- HikaShop version -- : 1407241754 -- Joomla version -- : 2.5.24 Stable -- PHP version -- : 5.3.3-7+squeeze17  Dear All, I would like to have information regarding: In Hungary we have “PickPackPont” parcel pick up service. The main advantage of the service: From Buyer ‘s side: Whatever you buy through a webshop, you can choose a pick up point, out of cca. 400 location/stores around the country. From admin’s side: with our own built in module I provide the scroll down PickPackPont list at the shipment methods. This list through .xml access is updating online continuously. This list consist of 19 counties and the list of contracted partners in the given county. The customer chooses from the list, fisrt the county then the shop and then the webshop sends the parcel to the choosen location. The information which has to be stated for the customer is the address, point of contact and opening hours of the shop.  the question is: Is it possible to upgrade with a (own) built in module the services of Hikashop in order to integrate the PickPackPont, pick up solution/service.  Kind 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 4 weeks ago, by [b\_sz](/forum/user/12026-b-sz "View b&#95;sz's Profile")       [Last Post](/forum/31-development/872354-is-it-possible-to-upgrade-with-a-own-built#177077 "Hello, If you want to display pickup points regarding the selected shipping service through your checkout workflow, the solution will be to use the : - function onCheckoutStepList(&amp;$list) : which will just enable you to add an item on the checkout workflow configuration page &quot;Hikashop-&gt;System-&gt;Configuration-&gt;Checkout&quot; (In your case, that item will just display pickup points) - function onCheckoutStepDisplay($layoutName, &amp;$html, &amp;$view) : which will display your pick up points list regarding the selected shipping service - function onAfterCheckoutStep($controllerName, &amp;$go&#95;back, $original&#95;go&#95;back, &amp;$controller) : which will check that you correctly selected a pickup point - function onBeforeOrderCreate(&amp;$order,&amp;$do) : which will enable you to save the &quot;pick up point&quot; on your order shipping params - function onHikashopBeforeDisplayView(&amp;$view) : which will enable you to DISPLAY the &quot;pick up point&quot; on the additional information tab of your order detail back (&quot;Hikashop-&gt;Orders-&gt;YourOrder&quot;).  Note that you'll find more information about these functions through the developer documentation :   www.hikashop.com/support/documentation/6...tation.html#checkout  Also, we are currently working on the &quot;envoimoinscher&quot; project which use these functions, so we can eventually send you the plugin when it will be finish.") 12 years 2 weeks ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:3  Views:1065 | [Last Post](/forum/31-development/872354-is-it-possible-to-upgrade-with-a-own-built#177077 "Hello, If you want to display pickup points regarding the selected shipping service through your checkout workflow, the solution will be to use the : - function onCheckoutStepList(&amp;$list) : which will just enable you to add an item on the checkout workflow configuration page &quot;Hikashop-&gt;System-&gt;Configuration-&gt;Checkout&quot; (In your case, that item will just display pickup points) - function onCheckoutStepDisplay($layoutName, &amp;$html, &amp;$view) : which will display your pick up points list regarding the selected shipping service - function onAfterCheckoutStep($controllerName, &amp;$go&#95;back, $original&#95;go&#95;back, &amp;$controller) : which will check that you correctly selected a pickup point - function onBeforeOrderCreate(&amp;$order,&amp;$do) : which will enable you to save the &quot;pick up point&quot; on your order shipping params - function onHikashopBeforeDisplayView(&amp;$view) : which will enable you to DISPLAY the &quot;pick up point&quot; on the additional information tab of your order detail back (&quot;Hikashop-&gt;Orders-&gt;YourOrder&quot;).  Note that you'll find more information about these functions through the developer documentation :   www.hikashop.com/support/documentation/6...tation.html#checkout  Also, we are currently working on the &quot;envoimoinscher&quot; project which use these functions, so we can eventually send you the plugin when it will be finish.") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      12 years 2 weeks ago |
| [](/forum/31-development/872338-i-am-having-a-little-problem-with-order-update) | [I am having a little problem with order update](/forum/31-development/872338-i-am-having-a-little-problem-with-order-update "-- url of the page with the problem -- : Private site (local server via virtual machine) -- HikaShop version -- : 2.3.3 Starter -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.14 -- Browser(s) name and version -- : Firefox 32.03  I'm creating a payment plugin for a local bank (FiBank). Haven't found one developed yet so, im having the honor of bashing my head in the wall reading &#42;bank&#42; documentation(dont ask why,please). Anyway my problem is that when i do : $orderClass = hikashop&#95;get('class.order'); $order = $orderClass-&gt;loadFullOrder($order&#95;id, true, false); // im passing the current order&#95;id $order-&gt;cart-&gt;shipping&#95;address-&gt;test= 'blalba; // test is a custom field that i have created thru hikashopp .. starter... $orderClass-&gt;save($order); And on the page where it should re-direct me to the payment gateway, I've disabled the auto-redirect, since i need to see if im correctly assigning the &quot;fields&quot; in the form that's going to be sent to the bank. So there i get this error.  &quot;#1054 Unknown column 'order&#95;subtotal' in 'field list' SQL=UPDATE &#96;dsk2o&#95;hikashop&#95;order&#96; SET WHERE &#96;order&#95;id&#96;='83' &quot;  I am doing that in - function onAfterOrderConfirm(&amp;$order,&amp;$methods,$method&#95;id) . So i am wondering is there a way to edit specific part of the order and update it ? Or what could be the cause for my problem, if you could enlighten me ? Order&#95;subtotal - the whole order class is supplied by you .. shouldn't it be able to save 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 12 years 4 weeks ago, by [mystery](/forum/user/34506-mystery "View mystery's Profile")       [Last Post](/forum/31-development/872338-i-am-having-a-little-problem-with-order-update#175825 "Hi,  The change will be done for each orders made, so each new used shipping addresses.") 12 years 4 weeks ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:3  Views:883 | [Last Post](/forum/31-development/872338-i-am-having-a-little-problem-with-order-update#175825 "Hi,  The change will be done for each orders made, so each new used shipping addresses.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 4 weeks ago |
| [](/forum/31-development/872193-custom-fields-from-checkout-on-invoice) | [Custom fields from checkout on invoice](/forum/31-development/872193-custom-fields-from-checkout-on-invoice "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27  We have a number of custom fields that show up for each cart item at checkout. How can we add these custom fields to the order product table on checkout so they can be displayed on the invoices?")         Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 1 month ago, by [quantuscreative](/forum/user/15605-quantuscreative "View quantuscreative's Profile")       [Last Post](/forum/31-development/872193-custom-fields-from-checkout-on-invoice#175194 "Hi,  No problem.  Regards,") 12 years 1 month ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:7  Views:1218 | [Last Post](/forum/31-development/872193-custom-fields-from-checkout-on-invoice#175194 "Hi,  No problem.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      12 years 1 month ago |
| [](/forum/31-development/872040-rss-feed-customisation) | [RSS Feed Customisation](/forum/31-development/872040-rss-feed-customisation "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome  Hi Guys,  I need to modify my RSS feed.  What I need to add are the following tags for each item/product. tag - comment company - the business name - product custom field companyAddress - the business address - product custom field sold - qty of items sold for a product location - business location - product custom field value - retail price percentage - discount price - custom field offer - meta description image - image file location url url - product page SEF URL (alias) end time - Product available until  Can anyone give me some tips here. e,g, - which php file to modify for the feed - how to get the custom fields for a product - how to get the image file url location - how to get the Product available until field.  Really appreciate any assistance on how to edit this!")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 1 month ago, by [jacorr27](/forum/user/626-jacorr27 "View jacorr27's Profile")       [Last Post](/forum/31-development/872040-rss-feed-customisation#174968 "Hi,  Great then ! Indeed, that's a very specific need :) It was a good call to have a developer do that for you as it's not something that can easily be changed.") 12 years 1 month ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:6  Views:1437 | [Last Post](/forum/31-development/872040-rss-feed-customisation#174968 "Hi,  Great then ! Indeed, that's a very specific need :) It was a good call to have a developer do that for you as it's not something that can easily be changed.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 1 month ago |
| [](/forum/31-development/872087-create-related-products-column-in-administrator) | [Create Related Products column in Administrator](/forum/31-development/872087-create-related-products-column-in-administrator "Hello,  I'm trying to change the Administrator products listing to show the related products link in the list. (image in attachment  So far i was able to add the Title by adding the  on the right place.  My difficulty now is that i cannot get the related products title in the fields. I enter this code in the product/listing.php file:   manage){ ?&gt;   product&#95;name; ?&gt; manage){ ?&gt;     But what i get is only the same product name... Can you please tell me what can i do to make this possible?")         Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 1 month ago, by [jnascimento](/forum/user/17752-jnascimento "View jnascimento's Profile")       [Last Post](/forum/31-development/872087-create-related-products-column-in-administrator#174639 "Hi,  Good to know that it is working now.  When you got full blank page, do not hesitate to check your PHP error log or to activate the Joomla debug mode (in the joomla global configuration). You can also change the &quot;error reporting&quot; to &quot;maxium&quot; in the Joomla global configuration (server).  Regards,") 12 years 1 month ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:6  Views:1143 | [Last Post](/forum/31-development/872087-create-related-products-column-in-administrator#174639 "Hi,  Good to know that it is working now.  When you got full blank page, do not hesitate to check your PHP error log or to activate the Joomla debug mode (in the joomla global configuration). You can also change the &quot;error reporting&quot; to &quot;maxium&quot; in the Joomla global configuration (server).  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      12 years 1 month ago |
| [](/forum/31-development/872008-fields-in-hikashop-category-left-and-right) | [Fields in #\_\_hikashop\_category, left and right?](/forum/31-development/872008-fields-in-hikashop-category-left-and-right "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.3.4  I import categories with a custom script and everything is ok. but i try to add a product to this cateogry then is category path wrong:http://prntscr.com/4s0zwi, i seen in database, in the table for cateogries are two fields and they are everytime different: &quot;category&#95;left and category&#95;right&quot;, which type of values how i to generate to have true category path? At the moment are my all values on: 0   prntscr.com/4s0zcu")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 1 month ago, by [shpuser](/forum/user/30542-shpuser "View shpuser's Profile")       [Last Post](/forum/31-development/872008-fields-in-hikashop-category-left-and-right#174497 "I implemented it in my script, works well, thank you...") 12 years 1 month ago     by [shpuser](/forum/user/30542-shpuser "View shpuser's Profile") | Replies:4  Views:1372 | [Last Post](/forum/31-development/872008-fields-in-hikashop-category-left-and-right#174497 "I implemented it in my script, works well, thank you...") by [shpuser](/forum/user/30542-shpuser "View shpuser's Profile")      12 years 1 month ago |
| [](/forum/31-development/872026-template-override-for-the-characteristics) | [Template override for the characteristics](/forum/31-development/872026-template-override-for-the-characteristics "-- HikaShop version -- : 3 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.5.13 -- Browser(s) name and version -- : Chrome  Hi,  I'm looking for more documentation on the Template override for the characteristics. More than this page suggest :   www.hikashop.com/support/documentation/6...tation.html#override  My goal is to move :  table class=&quot;hikashop&#95;product&#95;characteristics&#95;table&quot;&gt;  between :    and the button add to cart.  Thanks.  (Look at the image attached for the final result wanted)")         Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 1 month ago, by [mm.carier](/forum/user/34358-mm-carier "View mm.carier's Profile")       [Last Post](/forum/31-development/872026-template-override-for-the-characteristics#174109 "Hi,  These are general hints so that you can get going if you already know what you're doing. You can't just copy/paste around the code, that won't work. It's much more complex to do.  For example, the goal of ob&#95;get&#95;clean is to flush the buffer and return the content of the buffer. So of course, if you don't do anything with the return, it won't display the content of the buffer at all. So instead of : ob&#95;get&#95;clean(); you should have something like this: $characteristics&#95;html = ob&#95;get&#95;clean(); And then have a : echo $characteristics&#95;html; where you want it to display, in between the quantity input and the add to cart.  And you can't just copy/paste the HTML of the quantity/add to cart button. The code needs to be dynamic (the product&#95;id mainly which needs to be displayed from the product data).  If you don't feel you can do it on your own, I would recommend to contact our partners for a quote on that customization project:   www.hikashop.com/home/our-partners.html") 12 years 1 month ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1615 | [Last Post](/forum/31-development/872026-template-override-for-the-characteristics#174109 "Hi,  These are general hints so that you can get going if you already know what you're doing. You can't just copy/paste around the code, that won't work. It's much more complex to do.  For example, the goal of ob&#95;get&#95;clean is to flush the buffer and return the content of the buffer. So of course, if you don't do anything with the return, it won't display the content of the buffer at all. So instead of : ob&#95;get&#95;clean(); you should have something like this: $characteristics&#95;html = ob&#95;get&#95;clean(); And then have a : echo $characteristics&#95;html; where you want it to display, in between the quantity input and the add to cart.  And you can't just copy/paste the HTML of the quantity/add to cart button. The code needs to be dynamic (the product&#95;id mainly which needs to be displayed from the product data).  If you don't feel you can do it on your own, I would recommend to contact our partners for a quote on that customization project:   www.hikashop.com/home/our-partners.html") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 1 month ago |
| [](/forum/31-development/869005-setuserstate-currency-id-has-no-effect) | [setUserState : currency\_id has no effect](/forum/31-development/869005-setuserstate-currency-id-has-no-effect "Hi,  I have set the Currency with  $app-&gt;setUserState( HIKASHOP&#95;COMPONENT.'.currency&#95;id', 2 );//dollar  redirected and checked with  $currencyID = $app-&gt;getUserState( 'HIKASHOP&#95;COMPONENT'.'.currency&#95;id');  which returns the correct setting. But the prices are still in the standard currency that has been set in the cofigurations.  Can you help? (I have attached the database queries from the debug mode)  Cheers, Ralf  -- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5 -- PHP version -- : x.x.x -- Browser(s) name and version -- : safari 5.0.6 -- Error-message(debug-mod must be tuned on) -- : Error&#95;message")        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 4 months ago, by [Hans987](/forum/user/5119-hans987 "View Hans987's Profile")       [Last Post](/forum/31-development/869005-setuserstate-currency-id-has-no-effect#172313 "Hi,  I am reviewing some old threads which does not have answers. Regarding your debug log, the HikaShop cart content is loaded by HikaShop ; as the HikaShop configuration. Regarding the code of the HikaShop cart module, it is not possible that the module does not display anything except if you change something in the view &quot;product / cart&quot;. The view does not have any way to display nothing, so if the cart module is really display, I am afraid that you have modifications which generate this result.  Regards,") 12 years 1 month ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:12  Views:1323 | [Last Post](/forum/31-development/869005-setuserstate-currency-id-has-no-effect#172313 "Hi,  I am reviewing some old threads which does not have answers. Regarding your debug log, the HikaShop cart content is loaded by HikaShop ; as the HikaShop configuration. Regarding the code of the HikaShop cart module, it is not possible that the module does not display anything except if you change something in the view &quot;product / cart&quot;. The view does not have any way to display nothing, so if the cart module is really display, I am afraid that you have modifications which generate this result.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      12 years 1 month ago |
| [](/forum/31-development/871004-multiple-jquery-versions-in-my-website) | [Multiple jQuery versions in my website](/forum/31-development/871004-multiple-jquery-versions-in-my-website "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3  Dear Nicolas et al,  Reading the HTML source of my website, I found that multiple versions of jQuery are loaded by various components and modules. I hope that for Joomla 3.x sites, this is no longer necessary. For my template I already replaced the call to include some local version of jQuery by the more generic  I was about to do the same thing in hikashop helper, but then I learned (the hard way) that the hikashop version uses a hkjQuery object in several subsequent scripts.  Would you have any thoughts on replacing the hikashop hkjQuery by the bootstrap framework?  Thanks and 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 12 years 2 months ago, by [paulvanharen](/forum/user/20480-paulvanharen "View paulvanharen's Profile")       [Last Post](/forum/31-development/871004-multiple-jquery-versions-in-my-website#170911 "Hi,  HikaShop uses the jQuery of Joomla. hkjQuery is just a copy of the jQuery object of Joomla. So there is nothing to replace. We do that in order to avoid other extensions breaking our javascript because they replace the jQuery object of Joomla with their own jQuery, not compatible with the version of jQuery of Joomla.  To straigthen the jQuery use on your website, I would recommend to use the extension jQuery Easy :   extensions.joomla.org/extensions/core-en...jquery-scripts/18327") 12 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:800 | [Last Post](/forum/31-development/871004-multiple-jquery-versions-in-my-website#170911 "Hi,  HikaShop uses the jQuery of Joomla. hkjQuery is just a copy of the jQuery object of Joomla. So there is nothing to replace. We do that in order to avoid other extensions breaking our javascript because they replace the jQuery object of Joomla with their own jQuery, not compatible with the version of jQuery of Joomla.  To straigthen the jQuery use on your website, I would recommend to use the extension jQuery Easy :   extensions.joomla.org/extensions/core-en...jquery-scripts/18327") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 2 months ago |
| [](/forum/31-development/870998-mouseover-display-text) | [Mouseover display text](/forum/31-development/870998-mouseover-display-text "-- HikaShop version -- : 2.3.1  Hi Team,  When we mouseover on image of hikashop product we want to display text as below sample site.    www.simplilearn.com/  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 12 years 2 months ago, by [karunaba](/forum/user/8566-karunaba "View karunaba's Profile")       [Last Post](/forum/31-development/870998-mouseover-display-text#170875 "Hi,  It's already possible, you just have to edit the options of your menu/module. Here is an example:   demo.hikashop.com/index.php?option=com&#95;c...5&amp;Itemid=103&amp;lang=fr") 12 years 2 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:1  Views:997 | [Last Post](/forum/31-development/870998-mouseover-display-text#170875 "Hi,  It's already possible, you just have to edit the options of your menu/module. Here is an example:   demo.hikashop.com/index.php?option=com&#95;c...5&amp;Itemid=103&amp;lang=fr") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 2 months ago |
| [](/forum/31-development/870886-converting-a-vm-plugin-to-hikashop) | [Converting a vm plugin to Hikashop.](/forum/31-development/870886-converting-a-vm-plugin-to-hikashop "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 2.5.24  I am attempting to convert an SAP OCI plugin that was developed for Virtuemart to work with Hikashop. It is a system plugin that is triggered by the onAfterDispatch event in the landing page after payment and sends the order details to the client SAP system.  All payments are offline so basically this needs to be triggered by the finish button on the cart so probably should be a payment plugin in its own right. This is a new area for me so any suggestions would be welcome.")        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 2 months ago, by [rodfarrell](/forum/user/5859-rodfarrell "View rodfarrell's Profile")       [Last Post](/forum/31-development/870886-converting-a-vm-plugin-to-hikashop#170865 "That works great. I had to add a test in the function to make it run only for one client group so now when customers in one client group make purchases the cart send the order data through to that...") 12 years 2 months ago     by [rodfarrell](/forum/user/5859-rodfarrell "View rodfarrell's Profile") | Replies:2  Views:1011 | [Last Post](/forum/31-development/870886-converting-a-vm-plugin-to-hikashop#170865 "That works great. I had to add a test in the function to make it run only for one client group so now when customers in one client group make purchases the cart send the order data through to that...") by [rodfarrell](/forum/user/5859-rodfarrell "View rodfarrell's Profile")      12 years 2 months ago |
| [](/forum/31-development/870955-traceability-individual-products) | [Traceability individual products](/forum/31-development/870955-traceability-individual-products "Hi,  I am not quite sure where to start with this, nor where to post it.  I am needing to incorporate item traceability to an online shop. What this entails is that each item has a unique code - even for same items. For example, if it was phones then I might have a stock of 50 iphone4s. I would require a unique number for each of those 50 phones that would be associated with an eventual purchase (ie with a client).  So its inventory management in a sense but fairly specific.  I would be most grateful for any ideas, comments or thoughts in order to acheive this based on a Hikashop installation.  thanks in advance,  Luke")        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 2 months ago, by [lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")       [Last Post](/forum/31-development/870955-traceability-individual-products#170719 "Hi,  At this moment I will recommend you to use HikaSerial.   www.hikashop.com/extensions/hikaserial.html  Using this add-on component, you can generate (or attach) a serial for each sold product. The serials are by default displayed in the emails and order but it is possible to not display them (using view overrides). You can create packs for your products, populate the database with your unique serial and let HikaSerial manage the product stock depending the serials in the pack.  Regards,") 12 years 2 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:1  Views:869 | [Last Post](/forum/31-development/870955-traceability-individual-products#170719 "Hi,  At this moment I will recommend you to use HikaSerial.   www.hikashop.com/extensions/hikaserial.html  Using this add-on component, you can generate (or attach) a serial for each sold product. The serials are by default displayed in the emails and order but it is possible to not display them (using view overrides). You can create packs for your products, populate the database with your unique serial and let HikaSerial manage the product stock depending the serials in the pack.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      12 years 2 months ago |
| [](/forum/31-development/870446-clear-cart-before-a-certain-product-is-added) | [Clear cart before a certain product is added](/forum/31-development/870446-clear-cart-before-a-certain-product-is-added "-- HikaShop version -- : current -- Joomla version -- : current 3.3 -- PHP version -- : current  hi!  I would like to create a plugin that does something when a product is added to the cart:  - It should check whether the product is part of a certain category. If this is the case, the plugin should empty the cart and then add the product to the cart, making it the only product in the cart  - If a certain product is added to the cart, it should change the shop's currency  Right now, I am working on the first part, but I do not even manage to make the cart get cleared for every product added. What I tried is this:  It clears the cart, but the product is not added afterwards. Can somebody please guide me on what I am doing wrong here? Additionally, I would greatly appreciate if you could tell me how to check if a certain product is part of a certain category.  Thank you very much &amp; all the best,  Lukas")        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 2 months ago, by [erhartm](/forum/user/33354-erhartm "View erhartm's Profile")       [Last Post](/forum/31-development/870446-clear-cart-before-a-certain-product-is-added#169485 "just for others if you have a similar problem - I did it this way (it also changes the currency if certain products are added):  function onBeforeCartUpdate(&amp;$cartClass,&amp;$cart,$product&#95;id,$quantity,$add,$type,$resetCartWhenUpdate,$force,&amp;$do) { $app=&amp;JFactory::getApplication(); $pointProducts=array(4,5,6,7); if (in&#95;array($product&#95;id,$pointProducts)) { $app-&gt;setUserState( 'com&#95;hikashop.currency&#95;id',1); } else { $app-&gt;setUserState( 'com&#95;hikashop.currency&#95;id',182); } $full = $cartClass-&gt;loadFullCart(true,true,true); $rows = $full-&gt;products; $first=array&#95;shift(array&#95;values($rows)); if ($first-&gt;product&#95;id==$product&#95;id) { $do=false; return false; } else { $cartClass-&gt;resetCart(false); $cart=$cartClass-&gt;initCart(); $do=true; return true; } }") 12 years 2 months ago     by [erhartm](/forum/user/33354-erhartm "View erhartm's Profile") | Replies:8  Views:1303 | [Last Post](/forum/31-development/870446-clear-cart-before-a-certain-product-is-added#169485 "just for others if you have a similar problem - I did it this way (it also changes the currency if certain products are added):  function onBeforeCartUpdate(&amp;$cartClass,&amp;$cart,$product&#95;id,$quantity,$add,$type,$resetCartWhenUpdate,$force,&amp;$do) { $app=&amp;JFactory::getApplication(); $pointProducts=array(4,5,6,7); if (in&#95;array($product&#95;id,$pointProducts)) { $app-&gt;setUserState( 'com&#95;hikashop.currency&#95;id',1); } else { $app-&gt;setUserState( 'com&#95;hikashop.currency&#95;id',182); } $full = $cartClass-&gt;loadFullCart(true,true,true); $rows = $full-&gt;products; $first=array&#95;shift(array&#95;values($rows)); if ($first-&gt;product&#95;id==$product&#95;id) { $do=false; return false; } else { $cartClass-&gt;resetCart(false); $cart=$cartClass-&gt;initCart(); $do=true; return true; } }") by [erhartm](/forum/user/33354-erhartm "View erhartm's Profile")      12 years 2 months ago |
| [](/forum/31-development/870708-payment-plugin-retrieve-value) | [Payment Plugin retrieve value](/forum/31-development/870708-payment-plugin-retrieve-value "-- HikaShop version -- : latest  Hello,  How do i retrieve value that i submitted in the a payment plugin i'm making. I'm talking about the specific configuration field value's  I can't find information about retrieving this value.")        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 2 months ago, by [Wesley](/forum/user/33961-wesley "View Wesley's Profile")       [Last Post](/forum/31-development/870708-payment-plugin-retrieve-value#169436 "Hi,  Please download the example payment plugin.   www.hikashop.com/support/support/documen...on.html#howtopayment  It provides you a documented example with a lot of commentaries. Using the HikashopPaymentPlugin interface, you can easily create configuration interface and read the configuration using (If you call the right function before, following the instructions of the example plugin)  Regards,") 12 years 2 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:3  Views:891 | [Last Post](/forum/31-development/870708-payment-plugin-retrieve-value#169436 "Hi,  Please download the example payment plugin.   www.hikashop.com/support/support/documen...on.html#howtopayment  It provides you a documented example with a lot of commentaries. Using the HikashopPaymentPlugin interface, you can easily create configuration interface and read the configuration using (If you call the right function before, following the instructions of the example plugin)  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      12 years 2 months ago |
| [](/forum/31-development/870514-create-new-string-text) | [Create new string TEXT](/forum/31-development/870514-create-new-string-text "-- HikaShop version -- : latest  Hi All, i'd liek to create a news text string to use to customize Hikashop. Exemple: I'd like to create the string 'ANDREA' that will be:  in th epage will be: &quot;Text example&quot;.  How can i do this?  Thanks in advance  Andrea")        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 2 months ago, by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")       [Last Post](/forum/31-development/870514-create-new-string-text#168743 "It was easy.  Sometimes i forget the simply thing thinking too much :D  Thank you  Andrea") 12 years 2 months ago     by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile") | Replies:2  Views:1771 | [Last Post](/forum/31-development/870514-create-new-string-text#168743 "It was easy.  Sometimes i forget the simply thing thinking too much :D  Thank you  Andrea") by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")      12 years 2 months ago |
| <a id="forumbottom"> </a> [   ](#forumtop) |  |

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

Time to create page: 0.060 seconds

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