[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/879565-are-there-any-hikashop-plugins-that-can-help) | [Are there any Hikashop plugins that can help?](/forum/31-development/879565-are-there-any-hikashop-plugins-that-can-help "-- url of the page with the problem -- :   red-ferndevelopment.co.uk/BeSmart/  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.40 -- Browser(s) name and version -- : All browsers  Hi,  We are trying to create a custom plugin for Hikashop but was wondering if there are any available plugins in Hikashop that can help.  We are building a catalogue website (with no prices). Users can add products to their cart, and then go through the checkout. The purpose of this is for them to submit their details (along with the products they have chosen) and we can send them a manual price once we receive their order.  Using the configuration options in Hikashop, and by disabling the payment methods, I should be able to achieve the first step of this process by allowing the user to submit their order. BUT, I know it will be a lot more tricky once the order has gone through, and will almost certainly require my team to build a custom plugin. My question is, are there any Hikashop plugins that can assist us with the following process once the order has come through:  The order comes through with the user details and selected products etc. Next to each product we need a text field where we can manually input a price. We would also need a text area to write any additional details we may need to send to the customer. Finally, we would need a 'Submit' button that would send the quote to the customer.  As said, I'm pretty sure we will be required to build our own plugin, but was wondering if there was any existing Hikashop plugin available that would help us?  Many 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 1 month ago, by [reders](/forum/user/8228-reders "View reders's Profile")       [Last Post](/forum/31-development/879565-are-there-any-hikashop-plugins-that-can-help#215947 "Thank you! It worked!") 11 years 1 month ago     by [reders](/forum/user/8228-reders "View reders's Profile") | Replies:2  Views:1070 | [Last Post](/forum/31-development/879565-are-there-any-hikashop-plugins-that-can-help#215947 "Thank you! It worked!") by [reders](/forum/user/8228-reders "View reders's Profile")      11 years 1 month ago |
| [](/forum/31-development/879232-get-discount-percentage-for-each-product-in-order) | [Get discount percentage for each product in order](/forum/31-development/879232-get-discount-percentage-for-each-product-in-order "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1  Hi,  I've developed a plugin that passes the orders made in Hikashop to our invoicing platform. This has been working fine now for several months. Now I'd like to be able to pass the discounts that have been attributed for specific products in the order. The code below shows how I create the product objects that are passed to our invoicing platform. Unfortunately I could not find any field in the r object that would allow me to pass the original price of the product and the percentage of discount that must be applied.  Thanks for any info how to implement this!  Michel")         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 2 months ago, by [bmichu](/forum/user/32093-bmichu "View bmichu's Profile")       [Last Post](/forum/31-development/879232-get-discount-percentage-for-each-product-in-order#215545 "Any feedback on this?  Thanks, Michel") 11 years 1 month ago     by [bmichu](/forum/user/32093-bmichu "View bmichu's Profile") | Replies:15  Views:1581 | [Last Post](/forum/31-development/879232-get-discount-percentage-for-each-product-in-order#215545 "Any feedback on this?  Thanks, Michel") by [bmichu](/forum/user/32093-bmichu "View bmichu's Profile")      11 years 1 month ago |
| [](/forum/31-development/879183-developpement-pour-les-terms-and-conditions) | [Développement pour les "Terms and conditions"](/forum/31-development/879183-developpement-pour-les-terms-and-conditions "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9-1ubuntu4.5 -- Browser(s) name and version -- : Crhome  Bonjour,  Notre Joomla possède deux boutiques distinctes. Cependant, ces boutiques sont gérées par le même vendeur. L'une d'elles contient du linge et l'autre, des fournitures de bureau. Pour la boutique de linge, nous voulons des &quot;Terms and conditions&quot;. Cependant, si j'active les &quot;Terms and conditions&quot; dans le check out, dans configuration, il affiche pour toutes les catégories de produits. De plus, j'ai considéré acheter le multi-vendor, mais nous aurions un nouveau problème qui est la gestion des deux boutiques par le même vendeur.  Est-ce qu'il serait possible d'avoir de l'aide?  Merci infiniment.")        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 2 months ago, by [mark.krump@tecnic.ca](/forum/user/35827-mark-krump-tecnic-ca "View mark.krump@tecnic.ca's Profile")       [Last Post](/forum/31-development/879183-developpement-pour-les-terms-and-conditions#213929 "Merci!  J'ai écris dans le forum &quot;Commercial Jobs&quot;!  Bonne journée.") 11 years 2 months ago     by [mark.krump@tecnic.ca](/forum/user/35827-mark-krump-tecnic-ca "View mark.krump@tecnic.ca's Profile") | Replies:4  Views:1044 | [Last Post](/forum/31-development/879183-developpement-pour-les-terms-and-conditions#213929 "Merci!  J'ai écris dans le forum &quot;Commercial Jobs&quot;!  Bonne journée.") by [mark.krump@tecnic.ca](/forum/user/35827-mark-krump-tecnic-ca "View mark.krump@tecnic.ca's Profile")      11 years 2 months ago |
| [](/forum/31-development/879202-multiple-variants-single-add-to-cart-button) | [Multiple variants, single add to cart button?](/forum/31-development/879202-multiple-variants-single-add-to-cart-button "-- HikaShop version -- : 2.5.0  Hi there, i'm trying to achieve something for my client but am not sure how to go about it...  Please see the attached screenshot. What i'm looking for is to have the variants table on the product page, but with each variant showing '0' quantity as standard. The user adds however many of each product, and then clicks a single 'add to cart' button at the bottom to add all products at once to the cart.  Is this possible?  Many thanks for your replies.  Graham")         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 2 months ago, by [novo](/forum/user/37124-novo "View novo's Profile")       [Last Post](/forum/31-development/879202-multiple-variants-single-add-to-cart-button#213779 "Hello Graham, What you want is a &quot;global quantity&quot; which is handled when we use options, so a solution can just be to directly use options instead of variants. If you still want to use variants, note that you'll have to use some code customization which will require some development skills.") 11 years 2 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:1  Views:964 | [Last Post](/forum/31-development/879202-multiple-variants-single-add-to-cart-button#213779 "Hello Graham, What you want is a &quot;global quantity&quot; which is handled when we use options, so a solution can just be to directly use options instead of variants. If you still want to use variants, note that you'll have to use some code customization which will require some development skills.") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      11 years 2 months ago |
| [](/forum/31-development/879141-add-custom-field-image-to-product) | [Add custom field image to product](/forum/31-development/879141-add-custom-field-image-to-product "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.5  Hi there,  I'm looking to use animated gifs as the featured image for products listed on the overall shop pages. Hikashop creates static images when uploaded to the product page, so I have currently added a custom field (ajax image) as a workaround, and am hoping to call these images using php on the views / product / img + field page in the backend.  I've had a good search and can't find anything that answers my query. I can add:  row-&gt;featuredimage; ?&gt;  Which gives me the image filename, but also with added numbers on which are either caching or to keep the img secret? Either way calling the image that way doesn't work (the link works if I remove the numbers but I don't know how to call the image without these).  I then tried using the field class method that I read about:  getFields('',$element,'product'); echo $fieldsClass-&gt;show($fields, $this-&gt;row-&gt;featuredimage); ?&gt;  Which displays an image, but again it is a static thumbnail and not the original image. I need to show the original, animated gif.  Many thanks for your help!  Graham")        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 2 months ago, by [novo](/forum/user/37124-novo "View novo's Profile")       [Last Post](/forum/31-development/879141-add-custom-field-image-to-product#213548 "Thank you Nicolas, that solved my problem!! Anyone wanting animated GIFs in Hikashop this is the way! :)") 11 years 2 months ago     by [novo](/forum/user/37124-novo "View novo's Profile") | Replies:2  Views:1280 | [Last Post](/forum/31-development/879141-add-custom-field-image-to-product#213548 "Thank you Nicolas, that solved my problem!! Anyone wanting animated GIFs in Hikashop this is the way! :)") by [novo](/forum/user/37124-novo "View novo's Profile")      11 years 2 months ago |
| [](/forum/31-development/879086-unknown-column-order-subtotal-in-field-list) | [Unknown column 'order\_subtotal' in 'field list'](/forum/31-development/879086-unknown-column-order-subtotal-in-field-list "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : All -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : $orderClass = hikashop&#95;get('class.order'); $order = $orderClass-&gt;loadFullOrder($order&#95;id, false, false); $orderClass-&gt;save($order);  Returns: Unknown column 'order&#95;subtotal' in 'field list' SQL=UPDATE &#96;oklpt&#95;hikashop&#95;order&#96; SET ...  Hi  Im trying to update an order from a system plugin, but it fails with an SQL error: Unknown column 'order&#95;subtotal' in 'field list' SQL=UPDATE &#96;oklpt&#95;hikashop&#95;order&#96; SET ...  Newest Hikashop is installed, but no luck. Im using this:  How can I update (cancel or confirm) an existing order from a system plugin + send the email notification to the customer codewise?")        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 2 months ago, by [cgonline](/forum/user/34948-cgonline "View cgonline's Profile")       [Last Post](/forum/31-development/879086-unknown-column-order-subtotal-in-field-list#213345 "Hi,  Yes ; it's the same kind, but we are not using JTable objects (it is not available in Joomla 1.5).  Regards,") 11 years 2 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:4  Views:1635 | [Last Post](/forum/31-development/879086-unknown-column-order-subtotal-in-field-list#213345 "Hi,  Yes ; it's the same kind, but we are not using JTable objects (it is not available in Joomla 1.5).  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      11 years 2 months ago |
| [](/forum/31-development/879075-help-integrating-modules) | [Help integrating modules](/forum/31-development/879075-help-integrating-modules "-- url of the page with the problem -- :   www.tusgafas.net  Hello again, I did not know where to put this question. I need to lower the cart and the text to be flush and can not. I also need to do more small module that is below so that it is aligned . 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 2 months ago, by [optiplus](/forum/user/38404-optiplus "View optiplus's Profile")       [Last Post](/forum/31-development/879075-help-integrating-modules#213310 "okay thank you very much") 11 years 2 months ago     by [optiplus](/forum/user/38404-optiplus "View optiplus's Profile") | Replies:4  Views:1010 | [Last Post](/forum/31-development/879075-help-integrating-modules#213310 "okay thank you very much") by [optiplus](/forum/user/38404-optiplus "View optiplus's Profile")      11 years 2 months ago |
| [](/forum/31-development/878986-currency-switcher-module-canonical-urls-redirect) | [Currency switcher module, Canonical Urls redirect](/forum/31-development/878986-currency-switcher-module-canonical-urls-redirect "-- HikaShop version -- : Starter  Hi there, Currency Switcher 1.How do I edit the code for the currency switcher to include country flags instead of the country currency and code. 2. I would also like the drop downs for the currencies to redirect to another domain, while retaining the currency switching functionality. In essence, all I want to do is select a country flag from a dropdown and then redirect to a specific domain of mine e.g a.)clicking on the usa flag will redirect to mydomain.com and display currency for all products in USD b.)clicking on the UK flag will redirect to mydomain.co.uk and display currency for all products in GBP  Canonical Url Redirection/Navigation I have made my products to redirect to external links on click, but now I need this links to open in a new window in the browser, rather than on the same page. How do I go about 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 11 years 2 months ago, by [Kaos](/forum/user/38377-kaos "View Kaos's Profile")       [Last Post](/forum/31-development/878986-currency-switcher-module-canonical-urls-redirect#212825 "Hi,  We can't help further. This require to know at least some basic knowledge on PHP programming and is not only about copy/pasting 2 lines. We can give hints and help with small modifications, but this goes beyond that. Please contact our partners or our our commercial jobs forum to find someone who can develop that for you if you don't have the skills to develop it yourself.   www.hikashop.com/home/our-partners.html") 11 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1309 | [Last Post](/forum/31-development/878986-currency-switcher-module-canonical-urls-redirect#212825 "Hi,  We can't help further. This require to know at least some basic knowledge on PHP programming and is not only about copy/pasting 2 lines. We can give hints and help with small modifications, but this goes beyond that. Please contact our partners or our our commercial jobs forum to find someone who can develop that for you if you don't have the skills to develop it yourself.   www.hikashop.com/home/our-partners.html") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 2 months ago |
| [](/forum/31-development/878987-filter-plugin-display-product-price) | [Filter plugin display product price](/forum/31-development/878987-filter-plugin-display-product-price "-- url of the page with the problem -- :   www.bil-filtertjanst.se  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.42 -- Browser(s) name and version -- : N/A  Hi, I have a customized filter module and now in the end of the process I have a table to display all products after the filtering is done.  I have 4 columns displaying: Product name, description, Product price (incl. VAT), Thumbnail of product photo and ADD to Cart button (BUY/KÖP). Everything except for the product price works fine. How can I get that value listed as well? Here is some code from the helper.php file that makes it all work. This is the part where the table row displaying Product name and description, Product price incl. VAT, Thumbnail of product photo and Buy-button.  I get everything except dispolaying the price to work. Anyone who can tell me how to call fror that value and make it correct? Any help is highly appreciated. Thanks Micke")        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 2 months ago, by [LAMF](/forum/user/8669-lamf "View LAMF's Profile")       [Last Post](/forum/31-development/878987-filter-plugin-display-product-price#212790 "Hi, Excellent,now it works exactly as i want it. Thanks a lot.  Best regards Micke") 11 years 2 months ago     by [LAMF](/forum/user/8669-lamf "View LAMF's Profile") | Replies:2  Views:1270 | [Last Post](/forum/31-development/878987-filter-plugin-display-product-price#212790 "Hi, Excellent,now it works exactly as i want it. Thanks a lot.  Best regards Micke") by [LAMF](/forum/user/8669-lamf "View LAMF's Profile")      11 years 2 months ago |
| [](/forum/31-development/878542-generate-product-name-from-custom-fields) | [Generate product name from custom fields](/forum/31-development/878542-generate-product-name-from-custom-fields "-- url of the page with the problem -- :   www.impress51websites.co.uk/tophat/  -- HikaShop version -- : 2.5.0 Business -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Firefox 39.0  Hi,  I have three custom fields setup as text/dropdowns and all three are required. I'd like to populate the product name based upon these values as follows:  productName = artist . ' - ' . album . '(' . type . ')';  Which files would I need to override to achieve this?  Kind Regards  Jaz")        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 3 months ago, by [Impress51](/forum/user/34807-impress51 "View Impress51's Profile")       [Last Post](/forum/31-development/878542-generate-product-name-from-custom-fields#212475 "The problem is in your plugin's code. Of course, the product will be updated each time it is necessary. When the stock changes, even when someone merely display the product page (in order to update the hit count), etc. It's your job in the plugin to do your processing only when necessary. So you should add a condition like this:") 11 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1155 | [Last Post](/forum/31-development/878542-generate-product-name-from-custom-fields#212475 "The problem is in your plugin's code. Of course, the product will be updated each time it is necessary. When the stock changes, even when someone merely display the product page (in order to update the hit count), etc. It's your job in the plugin to do your processing only when necessary. So you should add a condition like this:") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 2 months ago |
| [](/forum/31-development/878912-credits-instead-of-currency-price) | [Credits instead of currency // Price](/forum/31-development/878912-credits-instead-of-currency-price "Hi Guys,  I'd like to find out about credits/ points system. Basically I would like to list all products for sale on the site as points. Then I would like to be able to purchase points - with some payment method. Finally I'd like to be able to import points from another system...  It would be a members only site - who have earned points via a program that they can use the site to redeem those points/ use them to make purchases.  Can I use Hika for this?  Well I found this:   demo.hikashop.com/forum/payment-methods/...n-spending-them.html  It seems to help in some parts... but - in the long term, is there a way I could have a script fetching user credits from another system and import them to the site / user profile?")        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 2 months ago, by [nowherenowhere](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile")       [Last Post](/forum/31-development/878912-credits-instead-of-currency-price#212415 "Hi,  Yes, that's not a problem. The user points system can be used with a custom user field where the points are stored. So then, it would simply be a matter of updating that field in the hikashop&#95;user table with your script.") 11 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:991 | [Last Post](/forum/31-development/878912-credits-instead-of-currency-price#212415 "Hi,  Yes, that's not a problem. The user points system can be used with a custom user field where the points are stored. So then, it would simply be a matter of updating that field in the hikashop&#95;user table with your script.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 2 months ago |
| [](/forum/31-development/878700-uninstall-custom-payment-plugin-image) | [Uninstall custom payment plugin - image](/forum/31-development/878700-uninstall-custom-payment-plugin-image "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.9  I have problem with uninstalall my custom payment plugin. When I uninstall plugin, joomla also remove whole images from //media/com&#95;hikashop/images/payment  In my pluginName.xml file is followed code:   pluginName.jpeg   I check out your 'official' hikabitcoin payment plugin and there are the same problem. I try a lot of variation of defiine 'destination', but only solution is not include com&#95;hikashop/images/payment. But i need pligunName.jpeg inside com&#95;hikashop/images/payment folder.  How can I save //media/com&#95;hikashop/images/payment during uninstall, or how can I add my custom image as default paymet image in custom payment plugin?")         Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 11 years 3 months ago, by [galas](/forum/user/37946-galas "View galas's Profile")       [Last Post](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211688 "Thnak you. It help me and solve my problem with image") 11 years 2 months ago     by [galas](/forum/user/37946-galas "View galas's Profile") | Replies:6  Views:1183 | [Last Post](/forum/31-development/878700-uninstall-custom-payment-plugin-image#211688 "Thnak you. It help me and solve my problem with image") by [galas](/forum/user/37946-galas "View galas's Profile")      11 years 2 months ago |
| [](/forum/31-development/878711-name-of-variant-in-db-order-product-name) | [Name of variant in db order\_product\_name](/forum/31-development/878711-name-of-variant-in-db-order-product-name "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.x -- PHP version -- : 5.6 -- Error-message(debug-mod must be tuned on) -- : no errors  Hello,  We have made an soap call to our accounting, it works fine. But however, calling the database field (order&#95;product&#95;name) gives the name of the order, but when ordering a variant we get this information: Visitekaartjes 350 grams mat mc-papier: 500 stuks How can we make it so that we don't have the : 500 stuks shown in the order&#95;product&#95;name. 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 3 months ago, by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")       [Last Post](/forum/31-development/878711-name-of-variant-in-db-order-product-name#211395 "Hi,  As Jerome explained, it's normal that you have the HTML tag &lt;span class=&quot;hikashop&#95;product&#95;variant&#95;subname&quot;&gt;: H001&lt;/span&gt; in the order&#95;product&#95;name of the database. You should leave it like that. Instead, when you generate the PDF, you should add a strip&#95;tags on the order&#95;product&#95;name you're using so that it would remove it during the generation of the PDF. That's what HikaShop does when it generates the invoice from the backend of HikaShop, or sends the name of the product to payment gateways, etc.  Now if you really want to remove it from the database field, you can alsways hack the code of HikaShop to do it by changing the line: $orderProduct-&gt;order&#95;product&#95;name = $product-&gt;product&#95;name; to: $orderProduct-&gt;order&#95;product&#95;name = strip&#95;tags($product-&gt;product&#95;name); in the file components/com&#95;hikashop/controllers/checkout.php but I don't recommend it and rather recommend it doing it when displaying the information in the invoice.") 11 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1195 | [Last Post](/forum/31-development/878711-name-of-variant-in-db-order-product-name#211395 "Hi,  As Jerome explained, it's normal that you have the HTML tag : H001 in the order&#95;product&#95;name of the database. You should leave it like that. Instead, when you generate the PDF, you should add a strip&#95;tags on the order&#95;product&#95;name you're using so that it would remove it during the generation of the PDF. That's what HikaShop does when it generates the invoice from the backend of HikaShop, or sends the name of the product to payment gateways, etc.  Now if you really want to remove it from the database field, you can alsways hack the code of HikaShop to do it by changing the line: $orderProduct-&gt;order&#95;product&#95;name = $product-&gt;product&#95;name; to: $orderProduct-&gt;order&#95;product&#95;name = strip&#95;tags($product-&gt;product&#95;name); in the file components/com&#95;hikashop/controllers/checkout.php but I don't recommend it and rather recommend it doing it when displaying the information in the invoice.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 3 months ago |
| [](/forum/31-development/878663-ups-shipping-container-express-box) | [UPS Shipping container / Express Box](/forum/31-development/878663-ups-shipping-container-express-box "-- HikaShop version -- : 2.3.0  Hi,  I need some customization in UPS plugin.  We currently have the standard UPS containers.Here are the containers:    www.ups.com/content/us/en/resources/ship.../supplies/boxes.html  Express Envelope - the envelope does not require weight or dimensions, volume range of 1-20 Express Pad Pack – this pack does not require dimensions to be declared, weight 28g,volume range of 21-70 Small Express Box – dimensions are 13”x11”x2”, weight 166g,volume range of 71-100 Medium Express Box – dimensions are 15”x11”x3”, weight 249g ,volume range of 101-150 Large Express Box – dimensions are 18”x13”x3”, weight 274g,volume range of 151-200  For each product we set volume value and based on total volume range we fetch Box details.We only set product weight and do not set any dimensions of product instead we use Box dimension.  If we set a maximum volume value of 20 for the Express envelope, then for each product in Hika we assign a volume value (in hika product setup). Within an order, it adds up the total volume for all products ordered, selects the appropriate container, then sends the container dimensions (if applicable) and weight (if applicable) to receive a price quote for shipping.  So instead of product dimension we send box dimension and weight is sum of container and total product weight.  I have doubt in boxes and package.Package has some limitation set in code -  Do I have to code based on container dimension and total weight same as done for package?  Like first I get applicable container dimension and create package based on that container.  Or is there any way to code this?  Please let me know if I did not make it clear.  Any help would be appreciated.  Thank You, Irfan")        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 3 months ago, by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")       [Last Post](/forum/31-development/878663-ups-shipping-container-express-box#211143 "Hello Irfan, If you want to add a &quot;package container&quot; option with size/weight restrictions, you'll just have to add these restrictions through the &quot;$limitations&quot; array and correctly check you packages through the &quot;&#95;getShippingMethods&quot; function.") 11 years 3 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:1  Views:1367 | [Last Post](/forum/31-development/878663-ups-shipping-container-express-box#211143 "Hello Irfan, If you want to add a &quot;package container&quot; option with size/weight restrictions, you'll just have to add these restrictions through the &quot;$limitations&quot; array and correctly check you packages through the &quot;&#95;getShippingMethods&quot; function.") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      11 years 3 months ago |
| [](/forum/31-development/878566-onafterorderupdate-not-triggered-on-paypal-confirm) | [onAfterOrderUpdate not triggered on paypal confirm](/forum/31-development/878566-onafterorderupdate-not-triggered-on-paypal-confirm "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.2.7 -- PHP version -- : 5.3.2  Hello,  We create a plugin which works &quot;perfectly&quot; :) . If the order is change to confirmed state, a email with a pdf (invoice) is created and send to the customer. There is only one issue:  If the user pays via paypal the plugin is not invoked. The order is confirmed, but it seems not to trigger the plugin. If I change the state back to open (in the backend) and back to confirmed, the trigger is invoked.  Thanks for help, Dirk")        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 3 months ago, by [dirkey](/forum/user/34021-dirkey "View dirkey's Profile")       [Last Post](/forum/31-development/878566-onafterorderupdate-not-triggered-on-paypal-confirm#210929 "Hi,  I don't see any reason why it wouldn't work if it works on the backend. We have many plugins which use that method in order to do things when an order is confirmed. We actually already have a PDF invoice plugin which works like that:   hikashop.com/component/hikashop/product/cid-18.html  You must have an issue somewhere in the code of the plugin with something which can only work in the backend, not the frontend. For example, if you're using the loadFullOrder function call in order to load the details of the order, this will always work in the backend, but on the frontend, as the user loading the order is not the customer but the PayPal notification server, you need to add additional parameters when calling it in order to disable the check on the current user.") 11 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1114 | [Last Post](/forum/31-development/878566-onafterorderupdate-not-triggered-on-paypal-confirm#210929 "Hi,  I don't see any reason why it wouldn't work if it works on the backend. We have many plugins which use that method in order to do things when an order is confirmed. We actually already have a PDF invoice plugin which works like that:   hikashop.com/component/hikashop/product/cid-18.html  You must have an issue somewhere in the code of the plugin with something which can only work in the backend, not the frontend. For example, if you're using the loadFullOrder function call in order to load the details of the order, this will always work in the backend, but on the frontend, as the user loading the order is not the customer but the PayPal notification server, you need to add additional parameters when calling it in order to disable the check on the current user.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 3 months ago |
| [](/forum/31-development/878545-onproductblocksdisplay-element-html) | [onProductBlocksDisplay(&amp;$element,&amp;$html)](/forum/31-development/878545-onproductblocksdisplay-element-html "-- HikaShop version -- : 2.5.1 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi  We would like to add discount end date count down plugin to product listing page and product detail page  May i confirm the onProductBlocksDisplay(&amp;$element,&amp;$html) is the right 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 3 months ago, by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")       [Last Post](/forum/31-development/878545-onproductblocksdisplay-element-html#210429 "Hi,  The trigger &quot;onProductBlocksDisplay&quot; is called for the product edition page (so in the HikaShop backend). Depending your kind of customization ; you can use a plugin or you can use a view override. If you want to use a plugin, the best is to use the same process that HikaMarket is using to display his special vendor content.  If you want to add elements in the front-end product page ; you need to use the trigger &quot;onHikashopBeforeDisplayView&quot; and use the &quot;extraData&quot; variable in the view as &quot;slots&quot; in the product page.   www.hikashop.com/support/support/documen...hopBeforeDisplayView  For the product listing, you can use the same trigger and access to the $view-&gt;rows to list all products in the current listing. The product listing also have extraData for the elements ; you can see how these data is display in the different views.  Regards,") 11 years 3 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:1  Views:1199 | [Last Post](/forum/31-development/878545-onproductblocksdisplay-element-html#210429 "Hi,  The trigger &quot;onProductBlocksDisplay&quot; is called for the product edition page (so in the HikaShop backend). Depending your kind of customization ; you can use a plugin or you can use a view override. If you want to use a plugin, the best is to use the same process that HikaMarket is using to display his special vendor content.  If you want to add elements in the front-end product page ; you need to use the trigger &quot;onHikashopBeforeDisplayView&quot; and use the &quot;extraData&quot; variable in the view as &quot;slots&quot; in the product page.   www.hikashop.com/support/support/documen...hopBeforeDisplayView  For the product listing, you can use the same trigger and access to the $view-&gt;rows to list all products in the current listing. The product listing also have extraData for the elements ; you can see how these data is display in the different views.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      11 years 3 months ago |
| [](/forum/31-development/878540-joomla-event-and-hikashop) | [joomla event and hikashop](/forum/31-development/878540-joomla-event-and-hikashop "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.5.8 -- Browser(s) name and version -- : many  Hi I more efficient on css front end ( not js) than in php joomla server side , i discover that joomla is like javascript and support event . Since hikashop product don' t override article like seblod or J2shop do . Does all event attach to article ( ) is supported by hikashop product ?  article...........................................hiksahop ..............  what 's differ beetween onXXXBeforeDisplay and onXXBeforeDisplay ? onHikashopBeforeDisplay don't exist in Hikashop API !! articleContent is not base on view ?  In which level context is create (I mean definition ...not use call ) an event ? the component ?  regard's   www.hikashop.com/forum/install-update/87...icle-as-product.html  16 persons work on enhance joomla core ?   github.com/joomla/joomla-cms/issues?page...3.4.0%22+is%3Aclosed")        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 3 months ago, by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")       [Last Post](/forum/31-development/878540-joomla-event-and-hikashop#210415 "Hi,  Each extension will add its own triggers when needed. Some Joomla triggers can be used for extensions, but most of them are only for Joomla itself. The names of the triggers looking alike are a coincidence. onContentBeforeDisplay (which is triggered when Joomla is displaying some content on the frontend) has no link to the onHikaShopBeforeDisplayView trigger (which is triggered before HikaShop displays a view of any type)") 11 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1179 | [Last Post](/forum/31-development/878540-joomla-event-and-hikashop#210415 "Hi,  Each extension will add its own triggers when needed. Some Joomla triggers can be used for extensions, but most of them are only for Joomla itself. The names of the triggers looking alike are a coincidence. onContentBeforeDisplay (which is triggered when Joomla is displaying some content on the frontend) has no link to the onHikaShopBeforeDisplayView trigger (which is triggered before HikaShop displays a view of any type)") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 3 months ago |
| [](/forum/31-development/878424-cache-functions-in-hikashop) | [Cache functions in Hikashop](/forum/31-development/878424-cache-functions-in-hikashop "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.1 -- PHP version -- : 3.54 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : Website broken. 500 internal error  I can't find documentation on some Hikashop functions. Could someone explain what the following functions does or point me to the place where I can see the documentation on all Hikashop class functions? Thanks.  loadShippingCache() setShippingCache()")        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 3 months ago, by [jdouglas](/forum/user/38148-jdouglas "View jdouglas's Profile")       [Last Post](/forum/31-development/878424-cache-functions-in-hikashop#209915 "Hi,  These functions are internal to the shipping plugin allowing us to store the shipping data and not performing webservice calls for each pages. These functions are just for the shipping plugins and just cache that data ; nothing else, nothing more. And all is automatic and for sure, if the cart changed, the shipping cache is invalidated so the shipping plugins will re-call the webservices with the new cart.  Regards,") 11 years 3 months ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:3  Views:1465 | [Last Post](/forum/31-development/878424-cache-functions-in-hikashop#209915 "Hi,  These functions are internal to the shipping plugin allowing us to store the shipping data and not performing webservice calls for each pages. These functions are just for the shipping plugins and just cache that data ; nothing else, nothing more. And all is automatic and for sure, if the cart changed, the shipping cache is invalidated so the shipping plugins will re-call the webservices with the new cart.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      11 years 3 months ago |
| [](/forum/31-development/878184-custom-price-plugin) | [Custom price plugin](/forum/31-development/878184-custom-price-plugin "-- HikaShop version -- : latest  Hi!  I'm developing a custom plugin, and want to calculate the price using some custom fields with data filled by the user. For that I have created a plugin that catches the onBeforerCalculateProductPriceForQuantity()-trigger in which I get the $product-variable. But I realized I only get the custom fields assigned to the product. I also want the custom fields (and the values) assigned to the item.  How to 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 3 months ago, by [erikharden](/forum/user/38026-erikharden "View erikharden's Profile")       [Last Post](/forum/31-development/878184-custom-price-plugin#209448 "Hello,  Sure I can do it for you, so if you're interested I just sent you my private email address through a private message so that we can talk about it.") 11 years 3 months ago     by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile") | Replies:9  Views:1690 | [Last Post](/forum/31-development/878184-custom-price-plugin#209448 "Hello,  Sure I can do it for you, so if you're interested I just sent you my private email address through a private message so that we can talk about it.") by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")      11 years 3 months ago |
| [](/forum/31-development/878287-displaying-html-js-at-checkout-end-using-plugin) | [Displaying html/js at checkout end using plugin](/forum/31-development/878287-displaying-html-js-at-checkout-end-using-plugin "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Firefox 37.0.2  Hello,  I'm trying to display some javascript code at the end of checkout (on last checkout page - after customer confirms order).  I found in your API docs some very useful info, for now I made some simple plugin. It has one parameter, under Extensions-&gt;Plugins-&gt;myplugin I can enter this param and everything is saving fine (plugin is group=&quot;hikashop&quot; and it's published etc., I checked all things twice). Now in my php file I'm trying simple things like:  defined('&#95;JEXEC') or die('Restricted access'); class plgHikashopMyPlugin extends JPlugin { function plgHikashopMyPlugin(&amp;$subject, $config){ parent::&#95;&#95;construct($subject, $config); } function onAfterOrderCreate(&amp;$order, &amp;$send&#95;email) { $document = JFactory::getDocument(); $document-&gt;addScriptDeclaration('SOME&#95;DUMMY&#95;CODE = 1'); } }  However no matter what, SOME&#95;DUMMY&#95;CODE doesn't appear on my after checkout (confirmation) page. Could you please suggest why? Maybe it's not possible to &quot;echo&quot; anything through triggers?  I was trying also: onAfterOrderConfirm(&amp;$order,&amp;$methods,$method&#95;id), didn't work.  Best regards, Chris")         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 3 months ago, by [Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")       [Last Post](/forum/31-development/878287-displaying-html-js-at-checkout-end-using-plugin#209375 "Hi,  The solution is in my previous message:  The class name of your plugin is wrong. Based on your XML it should be plgHikashopCeneo&#95;zaufane&#95;hikashop and not plgHikashopCeneoZaufaneOpinie") 11 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:6  Views:945 | [Last Post](/forum/31-development/878287-displaying-html-js-at-checkout-end-using-plugin#209375 "Hi,  The solution is in my previous message:  The class name of your plugin is wrong. Based on your XML it should be plgHikashopCeneo&#95;zaufane&#95;hikashop and not plgHikashopCeneoZaufaneOpinie") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      11 years 3 months ago |
| <a id="forumbottom"> </a> [   ](#forumtop) |  |

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

Time to create page: 0.058 seconds

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