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

#   Massactions wont excecute

##

- **[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")**
- [![Sennrox's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39062-sennrox "View Sennrox's Profile") Topic Author
- [ Offline](/forum/user/39062-sennrox)

Less More

- Posts: 30
- Thank you received: 0
-
-

9 years 7 months ago [\#264077](#264077) by [Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")  *[Massactions wont excecute](/forum/44-mass-actions/889182-massactions-wont-excecute#264077 "-- url of the page with the problem -- :   www.bandenservice-haarlem.nl  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello,  Every minutes i have a CSV syncing products in my hikashop, works perfectly, but i have some products in the CSV which i want to delete. The CSV hasnt got the right field names so i cant use the filter option in massaction. So i used the options ( see printscreen added ). But i still see the products getting back into the shop.  What can i do to delete these automaticly and correct??  With kind regards, Kevin de Jong")* was created by *[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")*

-- url of the page with the problem -- : [ www.bandenservice-haarlem.nl](https://www.bandenservice-haarlem.nl)
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5

Hello,

Every minutes i have a CSV syncing products in my hikashop, works perfectly, but i have some products in the CSV which i want to delete.
The CSV hasnt got the right field names so i cant use the filter option in massaction.
So i used the options ( see printscreen added ).
But i still see the products getting back into the shop.

What can i do to delete these automaticly and correct??

With kind regards,
Kevin de Jong

- [ ![Knipsel&#95;2017-03-03.PNG](/forum/attachment/36785) ](/forum/attachment/36785 "...2017-03-03.PNG") [ ](/forum/attachment/36785?download=1 "...2017-03-03.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkxODItbWFzc2FjdGlvbnMtd29udC1leGNlY3V0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

9 years 7 months ago [\#264081](#264081) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Massactions wont excecute](/forum/44-mass-actions/889182-massactions-wont-excecute#264081 "-- url of the page with the problem -- :   www.bandenservice-haarlem.nl  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello,  Every minutes i have a CSV syncing products in my hikashop, works perfectly, but i have some products in the CSV which i want to delete. The CSV hasnt got the right field names so i cant use the filter option in massaction. So i used the options ( see printscreen added ). But i still see the products getting back into the shop.  What can i do to delete these automaticly and correct??  With kind regards, Kevin de Jong")*

Hi,

First, please understand that we speak English. So when you do screenshots it's better to take them while being logged in English so that we can read them and be sure about what we read.
Also, there is no "product_brand" field by default in HikaShop. So I suppose that you must have added that column is some way.
Could you provide more information on that ?
Also, how do you import the products ? What is the structure of the CSV ? Do you have a "product_brand" column in it ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkxODItbWFzc2FjdGlvbnMtd29udC1leGNlY3V0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")**
- [![Sennrox's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39062-sennrox "View Sennrox's Profile") Topic Author
- [ Offline](/forum/user/39062-sennrox)

Less More

- Posts: 30
- Thank you received: 0
-
-

9 years 7 months ago [\#264178](#264178) by [Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")  Replied by *[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")* on topic *[Massactions wont excecute](/forum/44-mass-actions/889182-massactions-wont-excecute#264178 "-- url of the page with the problem -- :   www.bandenservice-haarlem.nl  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello,  Every minutes i have a CSV syncing products in my hikashop, works perfectly, but i have some products in the CSV which i want to delete. The CSV hasnt got the right field names so i cant use the filter option in massaction. So i used the options ( see printscreen added ). But i still see the products getting back into the shop.  What can i do to delete these automaticly and correct??  With kind regards, Kevin de Jong")*

Hi,

Sorry indeed, i have changed it back to english.
The product_brand field is a custom field ( see attachement - custom fields.png ) in the product table.
The structure of the CSV is changed to fields the system recognize through the cron job plugin ( cron job plugin attachment with txt )
It is a CSV file of +/- 8000 fields, these are added first manually per 250 products a piece because it wont sync the whole file with cron jobs.
The advice was to manually add them in steps, and then the cronjob wil automatically update the rest ( which it doesnt do ).
After i inserted the products i want to make rules through the massaction function to remove all the products in a category (brands)
When i manually process the massaction it will work just fine,m but when i say ( every minutes or when a product is changed ) it doesnt do anything when the cron job is triggered. I also have noticed that not all products get updated when i use the cronjob to process the csv file.
This CSV file is updated multiple times a day by another party.

So i have multiple problems, the products aint being updated (for example product quantity) and the massactions wont execute.

I hope this makes sense,

With kind regards,
Kevin

- [ ![cronjobupdateplugin.PNG](/forum/attachment/36823) ](/forum/attachment/36823 "...dateplugin.PNG") [ ](/forum/attachment/36823?download=1 "...dateplugin.PNG")
- [ ![customfields.PNG](/forum/attachment/36824) ](/forum/attachment/36824 "customfields.PNG") [ ](/forum/attachment/36824?download=1 "customfields.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkxODItbWFzc2FjdGlvbnMtd29udC1leGNlY3V0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

9 years 7 months ago [\#264187](#264187) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Massactions wont excecute](/forum/44-mass-actions/889182-massactions-wont-excecute#264187 "-- url of the page with the problem -- :   www.bandenservice-haarlem.nl  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello,  Every minutes i have a CSV syncing products in my hikashop, works perfectly, but i have some products in the CSV which i want to delete. The CSV hasnt got the right field names so i cant use the filter option in massaction. So i used the options ( see printscreen added ). But i still see the products getting back into the shop.  What can i do to delete these automaticly and correct??  With kind regards, Kevin de Jong")*

Hi,

1. HikaShop can import way more than 250 products from a CSV. If you've got errors with the import of bigger CSVs, it probably comes from the memory_limit or max_execution_time restrictions of your server.

2. If the mass action works when you click on "process", then it should also work when the cron system triggers it. So I can only think that there is a problem with the cron itself. Please follow this documentation to make sure that the cron is working:
[ www.hikashop.com/support/documentation/5...cron-task.html#check](https://www.hikashop.com/support/documentation/55-hikashop-cron-task.html#check)

3. Regarding the fact that not all the products data would get updated, we'll need more information to be able to help. What is the difference between the products that update and the ones that don't ? Is it only one field of information that isn't updated or all of them ? Could you provide an example ?

PS: It's best to open different threads for different questions in order to not mix everything.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkxODItbWFzc2FjdGlvbnMtd29udC1leGNlY3V0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")**
- [![Sennrox's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39062-sennrox "View Sennrox's Profile") Topic Author
- [ Offline](/forum/user/39062-sennrox)

Less More

- Posts: 30
- Thank you received: 0
-
-

9 years 7 months ago [\#264226](#264226) by [Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")  Replied by *[Sennrox](/forum/user/39062-sennrox "View Sennrox's Profile")* on topic *[Massactions wont excecute](/forum/44-mass-actions/889182-massactions-wont-excecute#264226 "-- url of the page with the problem -- :   www.bandenservice-haarlem.nl  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello,  Every minutes i have a CSV syncing products in my hikashop, works perfectly, but i have some products in the CSV which i want to delete. The CSV hasnt got the right field names so i cant use the filter option in massaction. So i used the options ( see printscreen added ). But i still see the products getting back into the shop.  What can i do to delete these automaticly and correct??  With kind regards, Kevin de Jong")*

Hi,

1. Yes but i did that so that in the first place all the products are inserted, else it would take a while.

2. it triggers indeed, i made a change to the massaction ( see printscreen ) that it would email me when its executed.
It does so, but very sporadic. as i can see this morning it has executed the remove brand 1 : 4 times, and remove brand 2 just 1.
But the cron job does it intervals at 15 min ?? What i have noticed is that sometimes the cron url gives me a 500 error..

3. what i can see now is that he adds the quantity field with the number it has in the CSV and the number in the products database??
so double quantities.. That for the whole 8000 products.

- [ ![cronsettings.PNG](/forum/attachment/36831) ](/forum/attachment/36831 "cronsettings.PNG") [ ](/forum/attachment/36831?download=1 "cronsettings.PNG")
- [ ![removebrand1.PNG](/forum/attachment/36832) ](/forum/attachment/36832 "removebrand1.PNG") [ ](/forum/attachment/36832?download=1 "removebrand1.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkxODItbWFzc2FjdGlvbnMtd29udC1leGNlY3V0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

9 years 7 months ago [\#264230](#264230) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Massactions wont excecute](/forum/44-mass-actions/889182-massactions-wont-excecute#264230 "-- url of the page with the problem -- :   www.bandenservice-haarlem.nl  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5  Hello,  Every minutes i have a CSV syncing products in my hikashop, works perfectly, but i have some products in the CSV which i want to delete. The CSV hasnt got the right field names so i cant use the filter option in massaction. So i used the options ( see printscreen added ). But i still see the products getting back into the shop.  What can i do to delete these automaticly and correct??  With kind regards, Kevin de Jong")*

Hi,

2. If there is a crash during the process of something when the cron is triggered, then you won't get notified and the process will stop in the middle. For example, suppose that you have 3 mass actions configured to trigger every minute, and you have a cron configured to trigger every 15 minutes. So the cron will trigger the mass actions every 15 minutes and each mass action will run each time as their frequency is lower. However, if you have an error popping in the first one, then it will stop the process and the two others won't be executed.
If you want to run your mass actions more often, you would have to configure your own cron as the one we provide has a minimum frequency of 15 minutes:
[ www.hikashop.com/support/documentation/5...ron-task.html#server](https://www.hikashop.com/support/documentation/55-hikashop-cron-task.html#server)

3. Supposing that you use the standard HikaShop product cron update plugin, there is no option to activated that, but if you have a parameter update_product_quantity in the URL of your cron task, it's possible that the quantity is added instead of replaced.
That's done by the code: Code:

if(JRequest::getInt('update_product_quantity','0') &amp;&amp; $field=='product_quantity' &amp;&amp; $product-&gt;product_quantity != -1){ $product-&gt;product_quantity += $already[$product-&gt;product_id]-&gt;$field; }

in the file administrator/components/com_hikashop/helpers/import.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkxODItbWFzc2FjdGlvbnMtd29udC1leGNlY3V0ZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

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

Time to create page: 0.203 seconds

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

[](#top)
