[Skip to main content](#vessel-content)

Board Categories Mass Actions

##

#  [Mass Actions](/forum/44-mass-actions "View Category 'Mass Actions'")  348 topics

| Everything about the powerful Hikashop mass action tool |
|---|

##

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post |
|---|---|---|---|
| [](/forum/44-mass-actions/904847-adding-string-to-description) | [Adding string to description](/forum/44-mass-actions/904847-adding-string-to-description "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4  Hi, I want about 100 products in my site which every of them have different descriptions.  I need to add a static string at the end of all of products descriptions.  is that possible with mass actions ?")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 3 months ago, by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")       [Last Post](/forum/44-mass-actions/904847-adding-string-to-description#344359 "Hi,  HTML is stripped for security reasons. If you want to temporarily disable that, you can remove the line: $value = strip&#95;tags($value); from the file administrator/components/com&#95;hikashop/classes/massaction.php Then, you'll get the HTML in there too when you process the mass action.") 4 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:6  Views:1072 | [Last Post](/forum/44-mass-actions/904847-adding-string-to-description#344359 "Hi,  HTML is stripped for security reasons. If you want to temporarily disable that, you can remove the line: $value = strip&#95;tags($value); from the file administrator/components/com&#95;hikashop/classes/massaction.php Then, you'll get the HTML in there too when you process the mass action.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 2 months ago |
| [](/forum/44-mass-actions/904937-mass-action-wrong-type-for-this-column-the-type-is-longtext) | [Mass action Wrong type for this column, the type is longtext](/forum/44-mass-actions/904937-mass-action-wrong-type-for-this-column-the-type-is-longtext "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.x  I get this message and the action is not updateing the value of a custom field.")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 2 months ago, by [oxido](/forum/user/29793-oxido "View oxido's Profile")       [Last Post](/forum/44-mass-actions/904937-mass-action-wrong-type-for-this-column-the-type-is-longtext#344295 "Hi,  Change the line: if(!in&#95;array($field,array('varchar','text','char'))){ to: if(!in&#95;array($field,array('varchar','text','char','longtext'))){ in the file administrator/components/com&#95;hikashop/classes/massaction.php and that will fix the problem. We'll add that fix on our end too.") 4 years 2 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:834 | [Last Post](/forum/44-mass-actions/904937-mass-action-wrong-type-for-this-column-the-type-is-longtext#344295 "Hi,  Change the line: if(!in&#95;array($field,array('varchar','text','char'))){ to: if(!in&#95;array($field,array('varchar','text','char','longtext'))){ in the file administrator/components/com&#95;hikashop/classes/massaction.php and that will fix the problem. We'll add that fix on our end too.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 2 months ago |
| [](/forum/44-mass-actions/904852-add-mass-products-with-one-button) | [Add mass products with one button](/forum/44-mass-actions/904852-add-mass-products-with-one-button "-- url of the page with the problem -- :   eduquay.satumalaysiahosting.com/bundle-p...74-b-buku-buku-tulis  URL:   eduquay.satumalaysiahosting.com/bundle-p...74-b-buku-buku-tulis  I have created an 'Add All' button to add all the listing products to the cart, the method I'm using now is triggered the 'href' by JQuery, but it seems too heavy for the server.  Any Idea?")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 3 months ago, by [JF](/forum/user/67343-jf "View JF's Profile")       [Last Post](/forum/44-mass-actions/904852-add-mass-products-with-one-button#343914 "Hi,  If you set the &quot;Add to cart on listings&quot; setting to &quot;global&quot; under the Display tab of the HikaShop configuration, you'll automatically have a global add to cart button on the listing instead of one per product.  With that setting set to &quot;one per product&quot;, you have to do it like you're doing, but then, it means that the javascript is sending one add to cart request for each product so that's a lot at once. A better solution would be to have more complex javascript to load the quantity of each product on the listing and manually construct the URL of the AJAX request (to get similar data to what the global add to cart button does) so that there is only one AJAX request. So that's possible, but it's several hours of javascript development.") 4 years 3 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:2  Views:940 | [Last Post](/forum/44-mass-actions/904852-add-mass-products-with-one-button#343914 "Hi,  If you set the &quot;Add to cart on listings&quot; setting to &quot;global&quot; under the Display tab of the HikaShop configuration, you'll automatically have a global add to cart button on the listing instead of one per product.  With that setting set to &quot;one per product&quot;, you have to do it like you're doing, but then, it means that the javascript is sending one add to cart request for each product so that's a lot at once. A better solution would be to have more complex javascript to load the quantity of each product on the listing and manually construct the URL of the AJAX request (to get similar data to what the global add to cart button does) so that there is only one AJAX request. So that's possible, but it's several hours of javascript development.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 3 months ago |
| [](/forum/44-mass-actions/904701-generating-custom-xml-with-mass-action-button) | [Generating Custom XML with Mass Action button](/forum/44-mass-actions/904701-generating-custom-xml-with-mass-action-button "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4  Hi there!  I wanna ask for some help how can I create an XML with the content in the orders. We have an ERP system, and we got a sample XML what we can use. Sometime we want to import the orders to the ERP with that XML.  I've successfully displayed the Mass action button, I've set it to &quot;Run PHP code&quot;, and I've added some sample lines to check wether it is working. But after pressing the button I got a message like:  An error has occurred. 500 Layout output not found.  Is there any way to do that with Mass Action, any sample code would be great help solving that.  Sample is like:  Thanks in advance!  PePe")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 4 months ago, by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")       [Last Post](/forum/44-mass-actions/904701-generating-custom-xml-with-mass-action-button#343469 "Both of your replies were really helpful. 1.) I've used your google products plugin - of course I've elminated a few params from it - as a prefect example I can rewrite to fit my needs. Now cron does the job - generates XML with all the needed data, the ERP is checking and reads in automatically. Thanks a lot.  Here's the main part, the generateXML function, and I also attached a .htaccess file to only be readable by the ERP's IP:  2.) $dom-&gt;save(HIKASHOP&#95;ROOT.'orders.xml'); -&gt; was also useful, works as u described.") 4 years 4 months ago     by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile") | Replies:5  Views:1250 | [Last Post](/forum/44-mass-actions/904701-generating-custom-xml-with-mass-action-button#343469 "Both of your replies were really helpful. 1.) I've used your google products plugin - of course I've elminated a few params from it - as a prefect example I can rewrite to fit my needs. Now cron does the job - generates XML with all the needed data, the ERP is checking and reads in automatically. Thanks a lot.  Here's the main part, the generateXML function, and I also attached a .htaccess file to only be readable by the ERP's IP:  2.) $dom-&gt;save(HIKASHOP&#95;ROOT.'orders.xml'); -&gt; was also useful, works as u described.") by [pepecortez](/forum/user/31475-pepecortez "View pepecortez's Profile")      4 years 4 months ago |
| [](/forum/44-mass-actions/904632-issues-with-mass-action-and-imported-csv-data) | [Issues with mass action and imported csv data](/forum/44-mass-actions/904632-issues-with-mass-action-and-imported-csv-data "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 3.10.10 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : Opera 88.0.4412.40  Hi, we imported the attached csv to update prices and stock amounts using 'product&#95;code' as the common reference field / value.  We also include a updated date as part of our keywords to show which product prices are current.  We then use a mass action to unpublish all products that have a different dates in the keywords and set their stock amounts to zero.  One of our sites is still on 4.5 and this process worked properly. The other is on 4.6 and it did not with the same data  The 4.6 version seems to have skipped over some of the values during the import.  Can you let us know if this is a known issue with 4.6?  Regards, Ian and Stu")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 5 months ago, by [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")       [Last Post](/forum/44-mass-actions/904632-issues-with-mass-action-and-imported-csv-data#342757 "Thanks, reinstalling the patched 4.6 version worked a treat!  Ian and Stu") 4 years 4 months ago     by [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile") | Replies:2  Views:1009 | [Last Post](/forum/44-mass-actions/904632-issues-with-mass-action-and-imported-csv-data#342757 "Thanks, reinstalling the patched 4.6 version worked a treat!  Ian and Stu") by [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")      4 years 4 months ago |
| [](/forum/44-mass-actions/904585-copy-addresses) | [Copy addresses](/forum/44-mass-actions/904585-copy-addresses "Hi there,  Im trying to work out the mass action. I've spended a few hours already but i can't seem to copy all addresses from one user to all other user. I was able to move the addresses, but it would leave the first one with none left.  Can you please explain me how to do this as i also cannot find a documentation on how to do this.  Kind regards,  Alex")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 5 months ago, by [alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")       [Last Post](/forum/44-mass-actions/904585-copy-addresses#342500 "Hi,  You can't do that with a mass action. It would require the development of a little script in PHP to perform the operation. So you'll need to have a developer work on it.") 4 years 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:859 | [Last Post](/forum/44-mass-actions/904585-copy-addresses#342500 "Hi,  You can't do that with a mass action. It would require the development of a little script in PHP to perform the operation. So you'll need to have a developer work on it.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 5 months ago |
| [](/forum/44-mass-actions/904579-adding-second-filter-or-actions-in-mass-actions-removes-first-filter-action) | [Adding second filter or actions in mass actions removes first filter / action](/forum/44-mass-actions/904579-adding-second-filter-or-actions-in-mass-actions-removes-first-filter-action "-- HikaShop version -- : 4.5.1 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.20 -- Browser(s) name and version -- : all browsers -- Error-message(debug-mod must be tuned on) -- : no error message, but error in behaviour  Hi there,  When trying to ad a second filter of action, the first filter / action is replaced. I have this behaviour in Google Chrom and Firefox. There is no javascript-error in the console, and when saving the mass action first before adding a filter / action does not help. See also ticket #341631  Best regards, Peter")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 5 months ago, by [remcovolbeda](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile")       [Last Post](/forum/44-mass-actions/904579-adding-second-filter-or-actions-in-mass-actions-removes-first-filter-action#342497 "Sorry for that. I had forgotten about it !") 4 years 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:990 | [Last Post](/forum/44-mass-actions/904579-adding-second-filter-or-actions-in-mass-actions-removes-first-filter-action#342497 "Sorry for that. I had forgotten about it !") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 5 months ago |
| [](/forum/44-mass-actions/904407-multiple-filters-seems-possible-in-interface-but-is-not-possible-to-configure) | [Multiple Filters seems possible in interface but is not possible to configure](/forum/44-mass-actions/904407-multiple-filters-seems-possible-in-interface-but-is-not-possible-to-configure "-- HikaShop version -- : 4.5.1 -- Joomla version -- : 4.1.3 -- PHP version -- : 8.1.5 -- Error-message(debug-mod must be tuned on) -- : no error message...  Hi, I have triggers setup and working when a product of a certain type (Filter Set to order product column -&gt; order&#95;product&#95;id = 1) is set. But if an order is then cancelled, i'm trying to create a different Mass Action that can have the same filter as above AND Order&#95;status= Cancelled.  When I set the 1st filter, all OK. When i then add the 2nd filter, I can't choose the order status to filter on. If i do it the other way around, i can add the order&#95;status cancelled, and then add the order product filter, but cannot choose or specify the filter conditions . .  The same type of issue applies for the Actions section. I can Add an Action but it wipes out the 1st one.  See attachments if not making sense ;)")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 6 months ago, by [aftertaf](/forum/user/13416-aftertaf "View aftertaf's Profile")       [Last Post](/forum/44-mass-actions/904407-multiple-filters-seems-possible-in-interface-but-is-not-possible-to-configure#342321 "I think I have a similar problem. When I try to set 2 filters, I get no result and the &quot;AND&quot; attribute disappear I try to select multiple products by product code Before executing the mass action  After the mass action was executed and no result was returned I'm doing this wrong?") 4 years 5 months ago     by [oxido](/forum/user/29793-oxido "View oxido's Profile") | Replies:8  Views:1283 | [Last Post](/forum/44-mass-actions/904407-multiple-filters-seems-possible-in-interface-but-is-not-possible-to-configure#342321 "I think I have a similar problem. When I try to set 2 filters, I get no result and the &quot;AND&quot; attribute disappear I try to select multiple products by product code Before executing the mass action  After the mass action was executed and no result was returned I'm doing this wrong?") by [oxido](/forum/user/29793-oxido "View oxido's Profile")      4 years 5 months ago |
| [](/forum/44-mass-actions/902947-massively-assign-product-category) | [Massively assign product category](/forum/44-mass-actions/902947-massively-assign-product-category "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.28  Hi!  How can i massively assign or remove several products to/from another category?  Thank you")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 5 years 4 months ago, by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")       [Last Post](/forum/44-mass-actions/902947-massively-assign-product-category#341267 "Hi,  Yes, that warning was fixed one month ago on our end:   www.hikashop.com/forum/import-export-csv...nu-items.html#340605  Update to HikaShop 4.5.1 and you won't have the warning when you run again the mass action. But don't worry, even with the warning, it works properly so you can ignore it.") 4 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1051 | [Last Post](/forum/44-mass-actions/902947-massively-assign-product-category#341267 "Hi,  Yes, that warning was fixed one month ago on our end:   www.hikashop.com/forum/import-export-csv...nu-items.html#340605  Update to HikaShop 4.5.1 and you won't have the warning when you run again the mass action. But don't worry, even with the warning, it works properly so you can ignore it.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 6 months ago |
| [](/forum/44-mass-actions/904225-getting-the-price-value-for-a-particular-access-level) | [Getting the price\_value for a particular access\_level](/forum/44-mass-actions/904225-getting-the-price-value-for-a-particular-access-level "-- HikaShop version -- : 4.5.0 -- Joomla version -- : 3.10.6 -- PHP version -- : 8.1.4 -- Browser(s) name and version -- : Brave 1.37.111 -- Error-message(debug-mod must be tuned on) -- : no error msg  Greetings,  I am trying to create a CSV export that shows me the price&#95;value for a particular access&#95;level.  I have filters set to show me all published products for Super Users (access&#95;level 8 )  The resulting CSV correctly filters for the needed products. I can see in the database table &#95;hikashop&#95;price that each access level has a unique record to display its price&#95;value and then uses the product&#95;id to JOIN all the price&#95;values to the appropriate record in the &#95;hikashop&#95;product table.  However, when I generate the CSV for export it combines all the price rows into a single row for the product in the CSV and then pipe \| separates all the values for access&#95;level. This is fine but it gives me ONLY the price for the lowest access level for price&#95;value. I need the price&#95;value for each access&#95;level.  I need the price&#95;value of all the Super Users (access&#95;level = 8 ). This price is not listed in the price&#95;value field.  I used to be able to generate this report with all the price&#95;values pipe separated for all the access&#95;level's.")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 7 months ago, by [Genr8r](/forum/user/44235-genr8r "View Genr8r's Profile")       [Last Post](/forum/44-mass-actions/904225-getting-the-price-value-for-a-particular-access-level#340723 "Hi,  Thank you for your feedback. I was able to reproduce the problem on my end. It comes from improvments we had made to the export system to auto detect the type of the column based on the type of the column in the database. This lead to the system using the type of the database column even for merged data from several rows (like it is the case for the price columns for products with multiple prices ) instead of handling it as a text.  I've made a patch for it. Download the install package of HikaShop on our website and install it on yours and you'll get the patch.") 4 years 7 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1049 | [Last Post](/forum/44-mass-actions/904225-getting-the-price-value-for-a-particular-access-level#340723 "Hi,  Thank you for your feedback. I was able to reproduce the problem on my end. It comes from improvments we had made to the export system to auto detect the type of the column based on the type of the column in the database. This lead to the system using the type of the database column even for merged data from several rows (like it is the case for the price columns for products with multiple prices ) instead of handling it as a text.  I've made a patch for it. Download the install package of HikaShop on our website and install it on yours and you'll get the patch.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 7 months ago |
| [](/forum/44-mass-actions/904175-update-caractheristics-not-working-as-thought) | [Update Caractheristics not working as thought](/forum/44-mass-actions/904175-update-caractheristics-not-working-as-thought "-- url of the page with the problem -- :   testdev.growunder.com/sinalplus/index.php  -- HikaShop version -- : 4.5.0 -- Joomla version -- : 4.1.0 -- PHP version -- : 7.4.28  Hi Nicolas,  How are you doing?  My client remember to add a new characteristic to their products and thought to use Actions or Mass Actions. She checked all the products she wanted and click on Actions, then she choose update characteristics and selected the only new characteristic to add.  The problem was that the Action created a combination from that characteristic with all the others instead of creating only variants of that characteristic. This broke the website with 500 error.  I tried Mass Actions and it was the same. Thanks for your help")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 7 months ago, by [webconcept](/forum/user/30332-webconcept "View webconcept's Profile")       [Last Post](/forum/44-mass-actions/904175-update-caractheristics-not-working-as-thought#340594 "Thanks Nicolas, you're the man. That's it") 4 years 7 months ago     by [webconcept](/forum/user/30332-webconcept "View webconcept's Profile") | Replies:4  Views:1098 | [Last Post](/forum/44-mass-actions/904175-update-caractheristics-not-working-as-thought#340594 "Thanks Nicolas, you're the man. That's it") by [webconcept](/forum/user/30332-webconcept "View webconcept's Profile")      4 years 7 months ago |
| [](/forum/44-mass-actions/902731-mass-action-update-specific-prices) | [Mass action update specific prices](/forum/44-mass-actions/902731-mass-action-update-specific-prices "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Hi,  I would like to update the prices of some products and i need some help! The products are from one specific category and their price is 16.06 € including tax, what i need to do is decrease their price to 12,95 € including tax. Could you please help me do that?  Thank you")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 5 years 5 months ago, by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")       [Last Post](/forum/44-mass-actions/902731-mass-action-update-specific-prices#340088 "Hi,  You can't do it with an &quot;update the values&quot; action, as it will set the same price for both currencies. And you can't also select some variants of a product based on a characteristic value with the mass actions system. So you would have to directly run a complex MySql query in your PHPMyAdmin. Something like that :  where XXX is the new price, YYY the name of the category, ZZZ the value of the characteristic, AAA the currency code AND #&#95;&#95; the table prefix of your website. Note that I didn't test it... If it's a one time thing and you only have a few products with a few variants to modify, I would recommend to simply modify them via the interface provided in the backend of HikaShop.") 4 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1552 | [Last Post](/forum/44-mass-actions/902731-mass-action-update-specific-prices#340088 "Hi,  You can't do it with an &quot;update the values&quot; action, as it will set the same price for both currencies. And you can't also select some variants of a product based on a characteristic value with the mass actions system. So you would have to directly run a complex MySql query in your PHPMyAdmin. Something like that :  where XXX is the new price, YYY the name of the category, ZZZ the value of the characteristic, AAA the currency code AND #&#95;&#95; the table prefix of your website. Note that I didn't test it... If it's a one time thing and you only have a few products with a few variants to modify, I would recommend to simply modify them via the interface provided in the backend of HikaShop.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 8 months ago |
| [](/forum/44-mass-actions/903753-getting-buyers-name-and-mobile-in-php-script-mass-action) | [Getting buyers name and mobile in php script mass action](/forum/44-mass-actions/903753-getting-buyers-name-and-mobile-in-php-script-mass-action "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.5 -- PHP version -- : 7.4  Hi. I know that in mass actions for products, I can use the tag {product&#95;code} to get the product code in php script mass action.  I'm creating a mass action php script for orders, I need to get the buyer name and mobile number in my script, how can I get that information of the buyer of an order ?? is there a list of all availables tags tahn can be used in php script mass action ?")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 10 months ago, by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")       [Last Post](/forum/44-mass-actions/903753-getting-buyers-name-and-mobile-in-php-script-mass-action#338420 "Thank you Nicolas.") 4 years 10 months ago     by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile") | Replies:2  Views:1250 | [Last Post](/forum/44-mass-actions/903753-getting-buyers-name-and-mobile-in-php-script-mass-action#338420 "Thank you Nicolas.") by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")      4 years 10 months ago |
| [](/forum/44-mass-actions/903719-issue-with-user-joomla-group-change-mass-action) | [Issue with User Joomla group change mass action](/forum/44-mass-actions/903719-issue-with-user-joomla-group-change-mass-action "-- url of the page with the problem -- :   socouture-rouen.fr/  -- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.5 -- PHP version -- : 8.0.13  Hi, I've setup a mass action to replace a user group (tried also with just adding, same issue occurs...) when a client purchases a certain product. I want them to be a member of a new group, that is not under 'registered' group, and to remove them from the 'registered' group' I want to make some of the site content available only to a user having purchased this type of product.  However, when I enable this mass action trigger, the user does the purchase and when the checkout process is completed, the user is automatically logged out of their session. When they log back in, the order has gone thru but their cart still shows the product.  I've checked the pages and menu items that are accessed after checkout and have adjusted the access levels (i may have missed something but i have checked 2/3 times...) to make sure that their new group has access (and so being removed from 'registered' shouldn't cause a loss of access rights).  When i disable the trigger, the order &amp; checkout process goes thru to the end and the user is not logged out. Any ideas ?")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 11 months ago, by [aftertaf](/forum/user/13416-aftertaf "View aftertaf's Profile")       [Last Post](/forum/44-mass-actions/903719-issue-with-user-joomla-group-change-mass-action#338207 "Hi,  Yes, the mass action system will logout the users when it changes their user groups. That's because Joomla caches the user groups data of the current user in its user session. And thus if a mass action changes the user groups without logging out the corresponding users, they wouldn't see any change until they logout and login again. So we force the logout as the mass action system cannot clear the user session caching data as it can be done from other user sessions where that information is not accessible to it.  Now regarding the cart, you have a setting &quot;clean cart when order is&quot; in the HikaShop configuration. If that setting is set to &quot;created&quot;, then the cart data will be cleared when the order is created, before the user is redirected to the payment gateway for the payment. If that setting is set to &quot;confirmed&quot;, then the cart data will be cleared when the customer comes back from the payment gateway, just before displaying the thank you page. If you set that setting to &quot;confirmed&quot; and you have a mass action forcefully logging out the user when the order is confirmed (so after the payment, but before the user is redirected back to the website), the user will indeed be redirected to the login form, and the cart won't be cleared. In that case, I would recommend changing that setting to &quot;created&quot; so that the cart is cleared before the redirection to the payment gateway.") 4 years 10 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1019 | [Last Post](/forum/44-mass-actions/903719-issue-with-user-joomla-group-change-mass-action#338207 "Hi,  Yes, the mass action system will logout the users when it changes their user groups. That's because Joomla caches the user groups data of the current user in its user session. And thus if a mass action changes the user groups without logging out the corresponding users, they wouldn't see any change until they logout and login again. So we force the logout as the mass action system cannot clear the user session caching data as it can be done from other user sessions where that information is not accessible to it.  Now regarding the cart, you have a setting &quot;clean cart when order is&quot; in the HikaShop configuration. If that setting is set to &quot;created&quot;, then the cart data will be cleared when the order is created, before the user is redirected to the payment gateway for the payment. If that setting is set to &quot;confirmed&quot;, then the cart data will be cleared when the customer comes back from the payment gateway, just before displaying the thank you page. If you set that setting to &quot;confirmed&quot; and you have a mass action forcefully logging out the user when the order is confirmed (so after the payment, but before the user is redirected back to the website), the user will indeed be redirected to the login form, and the cart won't be cleared. In that case, I would recommend changing that setting to &quot;created&quot; so that the cart is cleared before the redirection to the payment gateway.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 10 months ago |
| [](/forum/44-mass-actions/903698-fill-custom-field-with-shipping-method) | [fill custom field with shipping method](/forum/44-mass-actions/903698-fill-custom-field-with-shipping-method "Hi,  My customer like to have a new column &quot;shipping methode&quot; in the back-end orders list. So it's easier to see which packages are being picked up and which need to be shipped without having to open the order every time.  So I create a custom field en show it in the back-end list. That works fine.  But now I would like to fill this custom field with the Mass Action OPERATION But I only see only &quot;manual&quot; as result. See screenshot below. Can you please help me how I can show the shipping&#95;name here?  It looks like it has something to do with a combination from order&#95;shipping&#95;id and order&#95;shipping&#95;method but I don't know how to do this.  Hope you can help me, Kind regards, Lumiga")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 4 years 11 months ago, by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")       [Last Post](/forum/44-mass-actions/903698-fill-custom-field-with-shipping-method#338148 "Thank you very much, I am very happy with it. Wishing you all happy holidays.") 4 years 11 months ago     by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile") | Replies:4  Views:1206 | [Last Post](/forum/44-mass-actions/903698-fill-custom-field-with-shipping-method#338148 "Thank you very much, I am very happy with it. Wishing you all happy holidays.") by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")      4 years 11 months ago |
| [](/forum/44-mass-actions/903480-getting-product-title-in-php-code-mass-action) | [Getting product title in php code mass action](/forum/44-mass-actions/903480-getting-product-title-in-php-code-mass-action "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Chrome 95  hi. i've created a mass action on product update which i want to send the relevant product's title via SMS everything is almost done, except that I dont know how to get the product title dynamicly")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 5 years 1 week ago, by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")       [Last Post](/forum/44-mass-actions/903480-getting-product-title-in-php-code-mass-action#337093 "Worked pretty well. thank you Nicolas") 5 years 1 week ago     by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile") | Replies:2  Views:1063 | [Last Post](/forum/44-mass-actions/903480-getting-product-title-in-php-code-mass-action#337093 "Worked pretty well. thank you Nicolas") by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")      5 years 1 week ago |
| [](/forum/44-mass-actions/903478-mass-action-not-working) | [Mass action not working](/forum/44-mass-actions/903478-mass-action-not-working "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3 -- PHP version -- : 7.4  Hi. I want whenever an order is updated, send an email.  I've attached the screenshot of what i did.  what is wrong that this doesnt work ?")         Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 5 years 1 week ago, by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")       [Last Post](/forum/44-mass-actions/903478-mass-action-not-working#337055 "Hi,  This looks fine. Could it be that the email is blocked by gmail or by your hosting email server being it thinks it might be spam ? Maybe you need to write real text in the subject and body of the email being sent ?") 5 years 1 week ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1008 | [Last Post](/forum/44-mass-actions/903478-mass-action-not-working#337055 "Hi,  This looks fine. Could it be that the email is blocked by gmail or by your hosting email server being it thinks it might be spam ? Maybe you need to write real text in the subject and body of the email being sent ?") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 years 1 week ago |
| [](/forum/44-mass-actions/903444-ou-retrouve-t-on-les-fichiers-exportes-par-actions-de-masse) | [Où retrouve-t-on les fichiers exportés par "actions de masse"](/forum/44-mass-actions/903444-ou-retrouve-t-on-les-fichiers-exportes-par-actions-de-masse "-- url of the page with the problem -- :   lepanierdevero.fr  -- HikaShop version -- : 4.4.4 -- Joomla version -- : 3.10.3  Bonjour,  Je voudrais exporter la totalité de mes produits par la fonctionnalité &quot;Actions de masse&quot;, mais je ne retrouve pas le fichier CSV créé. J'ai essayé diverses saisies dans le paramètre &quot;Chemin d'export' mais je ne retrouve rien en cherchant avec FileZilla... Comment doit-on renseigner ce paramètre ?  Merci de votre aide ! Antoine.")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 5 years 2 weeks ago, by [apay1](/forum/user/58541-apay1 "View apay1's Profile")       [Last Post](/forum/44-mass-actions/903444-ou-retrouve-t-on-les-fichiers-exportes-par-actions-de-masse#336924 "Bonsoir,  Effectivement, en ne mettant rien dans &quot;chemin d'export&quot;, le fichier créé est proposé au téléchargement. Merci pour votre réponse, je vais y arriver maintenant ! ;-)  Antoine.") 5 years 2 weeks ago     by [apay1](/forum/user/58541-apay1 "View apay1's Profile") | Replies:2  Views:938 | [Last Post](/forum/44-mass-actions/903444-ou-retrouve-t-on-les-fichiers-exportes-par-actions-de-masse#336924 "Bonsoir,  Effectivement, en ne mettant rien dans &quot;chemin d'export&quot;, le fichier créé est proposé au téléchargement. Merci pour votre réponse, je vais y arriver maintenant ! ;-)  Antoine.") by [apay1](/forum/user/58541-apay1 "View apay1's Profile")      5 years 2 weeks ago |
| [](/forum/44-mass-actions/903406-get-customer-email-in-massaction-php-script) | [Get customer email in MassAction PHP script](/forum/44-mass-actions/903406-get-customer-email-in-massaction-php-script "The MassAction feature is perfect for what I want to do. I want to send JSON data to my API on the status change of a specific order. So I use the MassAction tool. Everything works fine and I can...")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 5 years 3 weeks ago, by [Valle](/forum/user/62857-valle "View Valle's Profile")       [Last Post](/forum/44-mass-actions/903406-get-customer-email-in-massaction-php-script#336742 "Hi,  You should be able to do it with something like that:") 5 years 3 weeks ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1143 | [Last Post](/forum/44-mass-actions/903406-get-customer-email-in-massaction-php-script#336742 "Hi,  You should be able to do it with something like that:") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      5 years 3 weeks ago |
| [](/forum/44-mass-actions/903336-mass-action-delete-extra-or-some-character-from-product-name) | [Mass action delete extra or some character from product name](/forum/44-mass-actions/903336-mass-action-delete-extra-or-some-character-from-product-name "-- HikaShop version -- : 4.4.4 Essential -- Joomla version -- : 3.10.2 -- PHP version -- : 7.4.24  Hi, i have 900 product witch i would like to delete first 3 character in the name of the products Example :  &#42; 10-produitun  &#42; 11-produitdeux  &#42; 12-produitdeux  would be possible to delete with mass action only &quot;10-&quot; &quot;11-&quot; &quot;12-&quot; etc... , if it's possible how can i do it please :unsure: Best regards")        Category: [Mass Actions](/forum/44-mass-actions "Everything about the powerful Hikashop mass action tool")     Topic started 5 years 1 month ago, by [naizak](/forum/user/2680-naizak "View naizak's Profile")       [Last Post](/forum/44-mass-actions/903336-mass-action-delete-extra-or-some-character-from-product-name#336739 "Work like a charm , thanks you very very much Monsieur :woohoo: :)  PS : i didn't get mail notification sorry for late answer") 5 years 3 weeks ago     by [naizak](/forum/user/2680-naizak "View naizak's Profile") | Replies:8  Views:972 | [Last Post](/forum/44-mass-actions/903336-mass-action-delete-extra-or-some-character-from-product-name#336739 "Work like a charm , thanks you very very much Monsieur :woohoo: :)  PS : i didn't get mail notification sorry for late answer") by [naizak](/forum/user/2680-naizak "View naizak's Profile")      5 years 3 weeks 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)
