[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/862790-how-to-get-main-div-name-from-custom-plugin) | [how to get('main\_div\_name') from custom plugin](/forum/31-development/862790-how-to-get-main-div-name-from-custom-plugin "Hi.  I am making a plugin triggerd by onBeforeProductListingLoad(). I need to get the 'main&#95;div&#95;name' value for some processing. Eg I need to get the &quot;hikashop&#95;category&#95;information&#95;menu&#95;xxx&quot; or &quot;hikashop&#95;category&#95;information&#95;module&#95;xx&quot; value.  In the view, product listing&#95;div it gets fetched by this: $mainDivName=$this-&gt;params-&gt;get('main&#95;div&#95;name');  How to do that from the plugin? Can you please help me?  Regards  Mathias")        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 13 years 4 weeks ago, by [matback](/forum/user/13291-matback "View matback's Profile")       [Last Post](/forum/31-development/862790-how-to-get-main-div-name-from-custom-plugin#128019 "Oh, I am so stupid ( after midnight brain stop) :woohoo: !! Thanks for clarifying this too me Jerome. Off course the parameter position is the thing and very important to get right in functions.  Just to make it &quot;the right way.&quot; Now the code example is:  Once again many thanks Jerome.  Regards  Mathias") 13 years 4 weeks ago     by [matback](/forum/user/13291-matback "View matback's Profile") | Replies:6  Views:823 | [Last Post](/forum/31-development/862790-how-to-get-main-div-name-from-custom-plugin#128019 "Oh, I am so stupid ( after midnight brain stop) :woohoo: !! Thanks for clarifying this too me Jerome. Off course the parameter position is the thing and very important to get right in functions.  Just to make it &quot;the right way.&quot; Now the code example is:  Once again many thanks Jerome.  Regards  Mathias") by [matback](/forum/user/13291-matback "View matback's Profile")      13 years 4 weeks ago |
| [](/forum/31-development/862703-default-addition-of-a-product-in-cart) | [default addition of a product in cart](/forum/31-development/862703-default-addition-of-a-product-in-cart "hi, i need to know that is there a way to add an item in a cart by default? i want my user to login and go directly to checkout page where the item has been added in cart,  thanks in advance,  regards")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 13 years 1 month ago, by [sad](/forum/user/28576-sad "View sad's Profile")       [Last Post](/forum/31-development/862703-default-addition-of-a-product-in-cart#127322 "Hi,  You will have to create a plugin to do that. Here is the developer documentation:   www.hikashop.com/support/documentation/6...r-documentation.html  It require good php level.") 13 years 1 month ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:3  Views:734 | [Last Post](/forum/31-development/862703-default-addition-of-a-product-in-cart#127322 "Hi,  You will have to create a plugin to do that. Here is the developer documentation:   www.hikashop.com/support/documentation/6...r-documentation.html  It require good php level.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      13 years 1 month ago |
| [](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order) | [What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  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 13 years 1 month ago, by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")       [Last Post](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#126755 "Hi,  Here is the donation plugin, it use these functions so you can use it as example:   hikashop.com/en/component/updateme/ctrl-...plugin-donation.html") 13 years 1 month ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:13  Views:1004 | [Last Post](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#126755 "Hi,  Here is the donation plugin, it use these functions so you can use it as example:   hikashop.com/en/component/updateme/ctrl-...plugin-donation.html") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      13 years 1 month ago |
| [](/forum/31-development/862480-add-flat-discount-if-two-products-are-in-cart) | [Add flat discount if two products are in cart](/forum/31-development/862480-add-flat-discount-if-two-products-are-in-cart "How would you guys recommend to create a plugin (or hack if really necessary) which adds a flat discount if two products exists in a cart?  Example psuedo code:  So both products would total at 200 EUR but since it's these 2 products the discount is 50 EUR so grand total it's 150 EUR.  Which API should I use?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 13 years 1 month ago, by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")       [Last Post](/forum/31-development/862480-add-flat-discount-if-two-products-are-in-cart#126683 "excellent! Got everything to work!") 13 years 1 month ago     by [Ortix](/forum/user/12608-ortix "View Ortix's Profile") | Replies:6  Views:958 | [Last Post](/forum/31-development/862480-add-flat-discount-if-two-products-are-in-cart#126683 "excellent! Got everything to work!") by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")      13 years 1 month ago |
| [](/forum/31-development/862492-how-to-update-old-cart-if-new-session-is-created) | [How to update old cart if new session is created?](/forum/31-development/862492-how-to-update-old-cart-if-new-session-is-created "-- HikaShop version -- : 2.1.1 -- Joomla version -- : 3.0.4 Stable  I am using code to add product into cart.  This works fine if login session and cart session is same.If meanwhile user session is expired and after login if we edit one of the product of cart it creates new cart.Is there any way to solve this? What I need is to save some data in cart table.It remains untill I edit product.once I delete newly added cart product old one appears and this starts working fine.  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 13 years 1 month ago, by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")       [Last Post](/forum/31-development/862492-how-to-update-old-cart-if-new-session-is-created#126035 "I don't see why it would create a new cart if you edit a product of the cart ?  The user session expiring or not shouldn't change that behavior. When a user login and doesn't have a cart, his last cart is brought up automatically from the database.") 13 years 1 month ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:988 | [Last Post](/forum/31-development/862492-how-to-update-old-cart-if-new-session-is-created#126035 "I don't see why it would create a new cart if you edit a product of the cart ?  The user session expiring or not shouldn't change that behavior. When a user login and doesn't have a cart, his last cart is brought up automatically from the database.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      13 years 1 month ago |
| [](/forum/31-development/862381-payment-plugin-installation) | [Payment plugin installation](/forum/31-development/862381-payment-plugin-installation "Hello,  I need to create a couple of custom payment plugins. I've looked through the documentation and have created a fairly basic plugin. It installs through Joomla's extension installer like I'd expect, but the problem is that when I select it in HikaShop (via system &gt; payment methods &gt; new), it goes to a page without content. (see attachment--It doesn't give an error, and it doesn't go to a blank page; it just doesn't have the plugin's options).  Is this typically a symptom of something I've done wrong in the plugin, or a system configuration?  Thank you!  -- url of the page with the problem -- : administrator/index.php?option=com&#95;hikashop&amp;ctrl=plugins&amp;task=edit&amp;name=accttransfer&amp;plugin&#95;type=payment&amp;subtask=edit (It's a non-public site, and I can't give out the root domain. Sorry.) -- HikaShop version -- : Starter 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3.2 -- Browser(s) name and version -- : Chrome 29.0.1547.76 m -- Error-message(debug-mod must be tuned on) -- : none given")         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 13 years 1 month ago, by [andylinde](/forum/user/28325-andylinde "View andylinde's Profile")       [Last Post](/forum/31-development/862381-payment-plugin-installation#125784 "I have gotten &#42;one&#42; of my plugins to work; I'll keep digging. Thank you!") 13 years 1 month ago     by [andylinde](/forum/user/28325-andylinde "View andylinde's Profile") | Replies:2  Views:1214 | [Last Post](/forum/31-development/862381-payment-plugin-installation#125784 "I have gotten &#42;one&#42; of my plugins to work; I'll keep digging. Thank you!") by [andylinde](/forum/user/28325-andylinde "View andylinde's Profile")      13 years 1 month ago |
| [](/forum/31-development/862333-my-first-shipment-plugin) | [My First Shipment Plugin](/forum/31-development/862333-my-first-shipment-plugin "Hello, i'm trying to create my first shipment plugin... i don't have problem on the backend (admin).. but at the moment i'm totally confuse about the front end...  i'm adding this code: class plgHikaShopshippingJNE extends hikashopShippingPlugin { var $multiple = true; var $name = 'jne';  //GET CONFIG function onShippingDisplay(&amp;$order,&amp;$methods,&amp;$usable&#95;methods,&amp;$messages){ var&#95;dump($order); die(); } }  but the die isn't triggered as it never called... how to debug it ?  For Manual Payment, Why there is a copy of manual shipment plugin in administrator&#92;components&#92;com&#95;hikashop&#92;plg&#95;hikashopshipping&#95;manual&#92;manual.php ... are they included in the system ?")        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 13 years 1 month ago, by [veeco](/forum/user/18501-veeco "View veeco's Profile")       [Last Post](/forum/31-development/862333-my-first-shipment-plugin#125207 "Hi,  Have you put the files in a zip archive, then install it thanks to the joomla extension system and published it ?") 13 years 1 month ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:1  Views:854 | [Last Post](/forum/31-development/862333-my-first-shipment-plugin#125207 "Hi,  Have you put the files in a zip archive, then install it thanks to the joomla extension system and published it ?") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      13 years 1 month ago |
| [](/forum/31-development/862248-common-stock-for-different-products-akeeba-subs) | [Common stock for different products? (Akeeba Subs)](/forum/31-development/862248-common-stock-for-different-products-akeeba-subs "We are integrating Akeeba Subscriptions, so evey subscription has to be a separate product. We have a maximum of subscriptions that can be sold monthly, independent of the type. Hikashop has stock...")        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 13 years 1 month ago, by [nietner](/forum/user/28154-nietner "View nietner's Profile")       [Last Post](/forum/31-development/862248-common-stock-for-different-products-akeeba-subs#124935 "Brilliant. Thank you so much!") 13 years 1 month ago     by [nietner](/forum/user/28154-nietner "View nietner's Profile") | Replies:4  Views:711 | [Last Post](/forum/31-development/862248-common-stock-for-different-products-akeeba-subs#124935 "Brilliant. Thank you so much!") by [nietner](/forum/user/28154-nietner "View nietner's Profile")      13 years 1 month ago |
| [](/forum/31-development/862227-redirect-to-other-page-when-item-added-to-cart) | [Redirect to other page when item added to cart](/forum/31-development/862227-redirect-to-other-page-when-item-added-to-cart "-- HikaShop version -- : 1.6 -- Joomla version -- :2.5 -- PHP version -- : 5.3  I'm wondering how I can redirect to another page instead of the checkout when a product is added to the cart with a URL.  The URL is: index.php?option=com&#95;hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product&#95;id=24&amp;Itemid=212 Can I pass a parameter to redirect it to another page? 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 13 years 1 month ago, by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")       [Last Post](/forum/31-development/862227-redirect-to-other-page-when-item-added-to-cart#124699 "Hi,  I think that the best way is to create a little plugin based on the function:  Here is some documentation:   www.hikashop.com/support/documentation/6...umentation.html#cart  Else you can edit the file: &quot;components/com&#95;hikashop/views/product/view.html.php&quot; function &quot;init()&quot; and replace: in the &quot;checkout&quot; case by:  Be careful, with the second option when you update HikaShop the changes will be lost.") 13 years 1 month ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:1  Views:657 | [Last Post](/forum/31-development/862227-redirect-to-other-page-when-item-added-to-cart#124699 "Hi,  I think that the best way is to create a little plugin based on the function:  Here is some documentation:   www.hikashop.com/support/documentation/6...umentation.html#cart  Else you can edit the file: &quot;components/com&#95;hikashop/views/product/view.html.php&quot; function &quot;init()&quot; and replace: in the &quot;checkout&quot; case by:  Be careful, with the second option when you update HikaShop the changes will be lost.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      13 years 1 month ago |
| [](/forum/31-development/862144-multi-vendor-plugin-process-uploaded-files) | [multi-vendor plugin - process uploaded files](/forum/31-development/862144-multi-vendor-plugin-process-uploaded-files "Hi  My site uses hikamarket multi-vendor to allow users to sell downloadable files.  I want to create a plugin to perform some actions on the files uploaded by my users.  I will then use this information to populate some custom fields that are viewable on the product page.  I have looked in the documentation but cannot see any events related to file handling so am not sure of how to proceed other than to make some core hacks.  Any advice, ideas or pointers greatly appreciated.  TIA  /DM")        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 13 years 1 month ago, by [DeeEmm](/forum/user/26410-deeemm "View DeeEmm's Profile")       [Last Post](/forum/31-development/862144-multi-vendor-plugin-process-uploaded-files#124292 "Hi Jerome,  Thanks for looking into that for me.  onAfterProductCreate / onAfterProductUpdate should be adequate for my needs, I can fetch the filename from the #&#95;&#95;hikashop&#95;file table.  Thinking about this it might actually be better to carry out the file actions that I need to do after the upload / update so that there is no delay to the user in the front end.  I have a couple of other questions related to the plugin but I will start a new thread for these as they are a bit off topic.  Thanks for your help") 13 years 1 month ago     by [DeeEmm](/forum/user/26410-deeemm "View DeeEmm's Profile") | Replies:4  Views:848 | [Last Post](/forum/31-development/862144-multi-vendor-plugin-process-uploaded-files#124292 "Hi Jerome,  Thanks for looking into that for me.  onAfterProductCreate / onAfterProductUpdate should be adequate for my needs, I can fetch the filename from the #&#95;&#95;hikashop&#95;file table.  Thinking about this it might actually be better to carry out the file actions that I need to do after the upload / update so that there is no delay to the user in the front end.  I have a couple of other questions related to the plugin but I will start a new thread for these as they are a bit off topic.  Thanks for your help") by [DeeEmm](/forum/user/26410-deeemm "View DeeEmm's Profile")      13 years 1 month ago |
| [](/forum/31-development/861904-product-image-in-pop-up-notice) | [product image in pop up notice](/forum/31-development/861904-product-image-in-pop-up-notice "Hey guys, i'm wondering how I can include the image of the product (with the current characteristics) in the pop up box which appears after adding a product to the cart.  Running HIkashop 1.6 with joomla 2.5  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 13 years 2 months ago, by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")       [Last Post](/forum/31-development/861904-product-image-in-pop-up-notice#123073 "Hi,  It's a good idea and I guess that I have already answer to a similar question in the forum. The problem is that, the popup does not contain any information of the product which has been added in the cart, so by default, it's not possible. To do that, you will have to add new parameter to the popup in order to indicate which product has been added, it impact several pages/controllers/views because the popup can be open in different context, depending of some options of the configuration and the type of product (ajax or not, variant or not, etc).  After that, the &quot;notice&quot; view can be improve in order to load the product given in parameter and display its image. The last point is the easiest, the rest is more complicated and will impact several files.  Regards,") 13 years 2 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:1  Views:828 | [Last Post](/forum/31-development/861904-product-image-in-pop-up-notice#123073 "Hi,  It's a good idea and I guess that I have already answer to a similar question in the forum. The problem is that, the popup does not contain any information of the product which has been added in the cart, so by default, it's not possible. To do that, you will have to add new parameter to the popup in order to indicate which product has been added, it impact several pages/controllers/views because the popup can be open in different context, depending of some options of the configuration and the type of product (ajax or not, variant or not, etc).  After that, the &quot;notice&quot; view can be improve in order to load the product given in parameter and display its image. The last point is the easiest, the rest is more complicated and will impact several files.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      13 years 2 months ago |
| [](/forum/31-development/861600-limit-category-list-module-to-specific-categories) | [Limit Category List Module to specific categories](/forum/31-development/861600-limit-category-list-module-to-specific-categories "I have 2 category list menu's one for Men and Women.  I have a Joomla menu called /men that links to a category. I also have a Joomla menu called /women that links to a category.  How do I get the men's category list to only show up on the /men page and sub categories and the women category list to only show up on the woman page and its sub categories?    www.drenolsurf.com/men    www.drenolsurf.com/women")        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 13 years 2 months ago, by [anlicor](/forum/user/23162-anlicor "View anlicor's Profile")       [Last Post](/forum/31-development/861600-limit-category-list-module-to-specific-categories#121944 "There sure is. You create your two categories listing menu items via the joomla manager and for each, you set their corresponding parent/associated category. Then, you create your two categories listing modules and you also set their corresponding parent/associated category. On top of that, in the &quot;menu&quot; hikashop option of each module, you select its corresponding menu, and in the &quot;menu assignment&quot; joomla option of each module, you also select its corresponding menu. That's it.") 13 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:1249 | [Last Post](/forum/31-development/861600-limit-category-list-module-to-specific-categories#121944 "There sure is. You create your two categories listing menu items via the joomla manager and for each, you set their corresponding parent/associated category. Then, you create your two categories listing modules and you also set their corresponding parent/associated category. On top of that, in the &quot;menu&quot; hikashop option of each module, you select its corresponding menu, and in the &quot;menu assignment&quot; joomla option of each module, you also select its corresponding menu. That's it.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      13 years 2 months ago |
| [](/forum/31-development/861617-characteristics-not-processed-when-added-to-cart) | [characteristics not processed when added to cart](/forum/31-development/861617-characteristics-not-processed-when-added-to-cart "-- url of the page with the problem -- :   exo-l.com/shop2/exo-l  -- HikaShop version -- : 1.6 -- Joomla version -- : 2.5 -- PHP version -- : 5.3.3 -- Browser(s) name and version -- : Firefox 25 or something  If you take a look at my page you see that I have two products on a single page. Everything works great except for the fact that the characteristics of the &quot;rechts&quot; (right) product are not processed when added to the cart. The product always has the same characteristics but the extra field &quot;gravure&quot; does work.  I'm curious where I could be going wrong. I checked the &quot;hikashopUpdateVariant&quot; and all the characteristics are grabbed correctly.  What is the line of processing so I can debug every step and see where the problem lies? As in, when I click the add to cart button, how can I see where/why my characteristic is not added to the product in the cart.")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 13 years 2 months ago, by [Ortix](/forum/user/12608-ortix "View Ortix's Profile")       [Last Post](/forum/31-development/861617-characteristics-not-processed-when-added-to-cart#121772 "Yes. As I said, the issue is that the two hidden input fields for the product&#95;id have the same HTML id. So the hikashopUpdateVariantData always copy the data in the first product hidden input.") 13 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1118 | [Last Post](/forum/31-development/861617-characteristics-not-processed-when-added-to-cart#121772 "Yes. As I said, the issue is that the two hidden input fields for the product&#95;id have the same HTML id. So the hikashopUpdateVariantData always copy the data in the first product hidden input.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      13 years 2 months ago |
| [](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there) | [Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")        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 13 years 3 months ago, by [anlicor](/forum/user/23162-anlicor "View anlicor's Profile")       [Last Post](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#121573 "As Xavier said, it's the file &quot;listing&#95;list&quot; of the view &quot;category&quot; that you can edit via the menu display&gt;Views.") 13 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:7  Views:755 | [Last Post](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#121573 "As Xavier said, it's the file &quot;listing&#95;list&quot; of the view &quot;category&quot; that you can edit via the menu display&gt;Views.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      13 years 2 months ago |
| [](/forum/31-development/861556-remove-module-from-cart-page) | [Remove module from cart page.](/forum/31-development/861556-remove-module-from-cart-page "  www.drenolsurf.com/cart/product/listing  I have a featured products module I want removed from the cart page. Where would I go to remove 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 13 years 2 months ago, by [anlicor](/forum/user/23162-anlicor "View anlicor's Profile")       [Last Post](/forum/31-development/861556-remove-module-from-cart-page#121206 "Hi, If you're talking about the checkout page, you'll have to : 1. - Go to the &quot;Hikashop-&gt;System-&gt;Configuration-&gt;Checkout&quot; page - Use the &quot;Force a menu on the checkout&quot; and set it to one of your menu  2. - Go to your module Joomla configuration screen - Use the &quot;Module Assignment&quot; option and set it to &quot;Only on the pages selected&quot;, also don't forget to un-check the menu that you have previously set for your &quot;Force a menu on the checkout&quot; option.  Hope this will help you.") 13 years 2 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:1  Views:688 | [Last Post](/forum/31-development/861556-remove-module-from-cart-page#121206 "Hi, If you're talking about the checkout page, you'll have to : 1. - Go to the &quot;Hikashop-&gt;System-&gt;Configuration-&gt;Checkout&quot; page - Use the &quot;Force a menu on the checkout&quot; and set it to one of your menu  2. - Go to your module Joomla configuration screen - Use the &quot;Module Assignment&quot; option and set it to &quot;Only on the pages selected&quot;, also don't forget to un-check the menu that you have previously set for your &quot;Force a menu on the checkout&quot; option.  Hope this will help you.") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      13 years 2 months ago |
| [](/forum/31-development/861314-plugin-to-discount-entire-cart) | [Plugin to Discount Entire Cart](/forum/31-development/861314-plugin-to-discount-entire-cart "-- url of the page with the problem -- : N/A -- HikaShop version -- : 2.2.0 Essential -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : N/A  Hello.  I would like to apply a discount to the entire cart at checkout based on some logic tied to a custom component. Which trigger API and event would I use to achieve the attached result?  Thanks, Julie")         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 13 years 2 months ago, by [julieh](/forum/user/26940-julieh "View julieh's Profile")       [Last Post](/forum/31-development/861314-plugin-to-discount-entire-cart#119900 "Hi Julie,  I think you can use our Triggers on Discount to create an object $discount with the amount you calculated before plus some informations. Thus, you will simply have a Hikashop discount but with your values inside. You can take a look at our developer's documentation for more information:   www.hikashop.com/support/documentation/6...tation.html#discount") 13 years 2 months ago     by [Eliot](/forum/user/1824-eliot "View Eliot's Profile") | Replies:1  Views:658 | [Last Post](/forum/31-development/861314-plugin-to-discount-entire-cart#119900 "Hi Julie,  I think you can use our Triggers on Discount to create an object $discount with the amount you calculated before plus some informations. Thus, you will simply have a Hikashop discount but with your values inside. You can take a look at our developer's documentation for more information:   www.hikashop.com/support/documentation/6...tation.html#discount") by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")      13 years 2 months ago |
| [](/forum/31-development/861171-showing-a-category-list-on-a-product-page) | [Showing a category list on a product page](/forum/31-development/861171-showing-a-category-list-on-a-product-page "-- HikaShop version -- : 2.1.3 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.4.10 -- Browser(s) name and version -- : Chrome 28  Hi, I want to display a category menu on a sidebar for the product page. I'm running an antiques website and the categories of the products are like: Textiles - Bags - - Subcat #XXX - - - Product from subcat #XXX - - Product from Bags... - Shawls - Ponchos Masks - Subcategory...  I'm building custom joomla templates for all these. I want to display a sidebar on the left for every product page. The issue is that I want this sidebar categories always from the categories at level 2. For example, if I'm on the page of the &quot;Product from Bags&quot;, I want to display the menu as Bags Shawls Ponchos  And so if I'm in &quot;Product from Subcat #XXX&quot;. I managed to do it easily in &quot;Bags&quot;, by using the JDocumentRenderer to render a module position as &quot;sidebar-product-&quot;+$product-&gt;parent&#95;category&#95;id (pseudocode), and generating a content module for each parent category (Textiles, Masks, and so on). The issue here is with categories deeper (like &quot;Subcategory #XXX&quot;), and product pages. So how can I retrieve the parent category ID at level #2 for categories as well as products?")        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 13 years 2 months ago, by [acwilan](/forum/user/26763-acwilan "View acwilan's Profile")       [Last Post](/forum/31-development/861171-showing-a-category-list-on-a-product-page#119578 "Thanks, I'll try that") 13 years 2 months ago     by [acwilan](/forum/user/26763-acwilan "View acwilan's Profile") | Replies:2  Views:801 | [Last Post](/forum/31-development/861171-showing-a-category-list-on-a-product-page#119578 "Thanks, I'll try that") by [acwilan](/forum/user/26763-acwilan "View acwilan's Profile")      13 years 2 months ago |
| [](/forum/31-development/861084-further-action-after-successful-payment) | [Further action after successful payment](/forum/31-development/861084-further-action-after-successful-payment "-- HikaShop version -- : 2.2.0 -- Joomla version -- : 2.5.8 -- PHP version -- : 5.3.2  We are trying to ascertain the best method to call custom code after successful user payment.. The code needs to be called only when the order has successfully paid for. We are selling digital goods and need to setup the user's access via API once he has completed his payment.  As part of that, we also need to either modify the email that goes out to the customer or send another one with the access details.  We looked into the API and there are certain events mentioned like :  onAfterOrderConfirm(&amp;$order,&amp;$methods,$method&#95;id) onAfterOrderUpdate(&amp;$order,&amp;$send&#95;email)  We are not sure if these are called after payment, the document seems to suggest that the orderConfirm method is actually used by the payment plugins to redirect to payment page.  Please advise as to the best approach to achieve 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 13 years 3 months ago, by [anvayatech](/forum/user/26599-anvayatech "View anvayatech's Profile")       [Last Post](/forum/31-development/861084-further-action-after-successful-payment#118835 "Hi,  You have to use this code in an HikaShop plugin. No necessary a payment plugin, you can just create a classical JPlugin under the group &quot;hikashop&quot;. onAfterOrderConfirm is a special payment trigger which is call only for the selected payment method. You can use onAfterOrderCreate and onAfterOrderUpdate in a classical hikashop plugin without any problem.  If you want to create your own payment plugin, using a structure based on HikashopPaymentPlugin will be useful because all the generic tasks for payments are already there (same thing for shipping plugins and HikashopShippingPlugin).  Regards,") 13 years 2 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:3  Views:1202 | [Last Post](/forum/31-development/861084-further-action-after-successful-payment#118835 "Hi,  You have to use this code in an HikaShop plugin. No necessary a payment plugin, you can just create a classical JPlugin under the group &quot;hikashop&quot;. onAfterOrderConfirm is a special payment trigger which is call only for the selected payment method. You can use onAfterOrderCreate and onAfterOrderUpdate in a classical hikashop plugin without any problem.  If you want to create your own payment plugin, using a structure based on HikashopPaymentPlugin will be useful because all the generic tasks for payments are already there (same thing for shipping plugins and HikashopShippingPlugin).  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      13 years 2 months ago |
| [](/forum/31-development/860715-update-cart-in-payment-view) | [Update cart in payment view](/forum/31-development/860715-update-cart-in-payment-view "After having some users accidentally purchase multiple quantities of the same product I am trying to add some additional business logic to the Payment View which will update the product quantity. We...")        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 13 years 3 months ago, by [Devine](/forum/user/2915-devine "View Devine's Profile")       [Last Post](/forum/31-development/860715-update-cart-in-payment-view#117640 "Hi,  As you say, the cart has the correct values, what you need is potentially to reload the current step. You can call the url &quot;index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=step&amp;step=1&quot;, you have to change the values depending on which step is the check.  And reload the page by calling that url.  The best way, is to create a plugin based on onBeforeCartUpdate, to change the quantities depending on your checks, and it will display the correct quantities directly, you can too display a Joomla notice message.") 13 years 3 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:5  Views:1194 | [Last Post](/forum/31-development/860715-update-cart-in-payment-view#117640 "Hi,  As you say, the cart has the correct values, what you need is potentially to reload the current step. You can call the url &quot;index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=step&amp;step=1&quot;, you have to change the values depending on which step is the check.  And reload the page by calling that url.  The best way, is to create a plugin based on onBeforeCartUpdate, to change the quantities depending on your checks, and it will display the correct quantities directly, you can too display a Joomla notice message.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      13 years 3 months ago |
| [](/forum/31-development/860698-cant-get-products-array-from-fullorder) | [Can't get products array from fullOrder](/forum/31-development/860698-cant-get-products-array-from-fullorder "Hi guys,  Would you mind having a look at this for me?  I'm loading the full order, so that I can access shipping address, product etc. But I can't seem to get the products array.  What I intend to do is add more code which will create an invoice and customer in Kashflow, hence the //create variables  I've also tried to access the product information like this:  and then:  But the message is blank.  Probably something silly, apologies if so :unsure:  Many thanks Eleventy")        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 13 years 3 months ago, by [eleventy](/forum/user/25916-eleventy "View eleventy's Profile")       [Last Post](/forum/31-development/860698-cant-get-products-array-from-fullorder#117301 "Hi Nicolas, thanks very much :)") 13 years 3 months ago     by [eleventy](/forum/user/25916-eleventy "View eleventy's Profile") | Replies:2  Views:923 | [Last Post](/forum/31-development/860698-cant-get-products-array-from-fullorder#117301 "Hi Nicolas, thanks very much :)") by [eleventy](/forum/user/25916-eleventy "View eleventy's Profile")      13 years 3 months ago |
| <a id="forumbottom"> </a> [   ](#forumtop) |  |

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

Time to create page: 0.047 seconds

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