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

#   Find empty canonical

##

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

Less More

- Posts: 432
- Thank you received: 22
-

2 years 5 months ago [\#361578](#361578) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  *[Find empty canonical](/forum/44-mass-actions/908286-find-empty-canonical#361578 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4  Im trying to find all products with empty canonical with mass action, but without success. How to configure filter?")* was created by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")*

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 4

Im trying to find all products with empty canonical with mass action, but without success.
How to configure filter?

- [ ![canonical.jpg](/forum/attachment/59395) ](/forum/attachment/59395 "canonical.jpg") [ ](/forum/attachment/59395?download=1 "canonical.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDgyODYtZmluZC1lbXB0eS1jYW5vbmljYWw/dG1wbD1tYXJrZG93bg==) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

2 years 5 months ago [\#361582](#361582) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Find empty canonical](/forum/44-mass-actions/908286-find-empty-canonical#361582 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4  Im trying to find all products with empty canonical with mass action, but without success. How to configure filter?")*

Hi,

Instead of "is null", use "equal" and leave the input field on the right side empty.
Also, if you have variants, you probably want a second filter on the product type in order to discard the variants as their canonical field is empty in the database, and not used by HikaShop.

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

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

Less More

- Posts: 432
- Thank you received: 22
-

2 years 5 months ago [\#361618](#361618) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  Replied by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")* on topic *[Find empty canonical](/forum/44-mass-actions/908286-find-empty-canonical#361618 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4  Im trying to find all products with empty canonical with mass action, but without success. How to configure filter?")*

With equal I get all products (most of them have canonical). We dont use variants.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDgyODYtZmluZC1lbXB0eS1jYW5vbmljYWw/dG1wbD1tYXJrZG93bg==) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

2 years 5 months ago [\#361620](#361620) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Find empty canonical](/forum/44-mass-actions/908286-find-empty-canonical#361620 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4  Im trying to find all products with empty canonical with mass action, but without success. How to configure filter?")*

Hi,

Indeed, I'm able to reproduce the issue on my end.
Change the line: Code:

if($filter['value'] == 0 &#124;&#124; !empty($filter['value']) &#124;&#124; (empty($filter['value']) &amp;&amp; in_array($filter['operator'],array('IS NULL','IS NOT NULL')))){

to: Code:

if($filter['value'] == 0 &#124;&#124; !empty($filter['value']) &#124;&#124; (empty($filter['value']) &amp;&amp; in_array($filter['operator'],array('IS NULL','IS NOT NULL','=','!=')))){

in the file plugins/hikashop/massaction_product/massaction_product.php and that will fix it.
We're going to add the patch for this on our end for the next version of HikaShop.

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

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

Less More

- Posts: 432
- Thank you received: 22
-

2 years 5 months ago [\#361630](#361630) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  Replied by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")* on topic *[Find empty canonical](/forum/44-mass-actions/908286-find-empty-canonical#361630 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4  Im trying to find all products with empty canonical with mass action, but without success. How to configure filter?")*

Now I get some 100 products and most of them have canonical.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDgyODYtZmluZC1lbXB0eS1jYW5vbmljYWw/dG1wbD1tYXJrZG93bg==) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

2 years 5 months ago [\#361633](#361633) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Find empty canonical](/forum/44-mass-actions/908286-find-empty-canonical#361633 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4  Im trying to find all products with empty canonical with mass action, but without success. How to configure filter?")*

Hi,

I'm not able to reproduce the issue on my end.
It works fine for me now.
Could you provide a backend access and a FTP access and the name of the mass action you're using so that we can look into it ?
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 432
- Thank you received: 22
-

2 years 5 months ago [\#361645](#361645) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  Replied by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")* on topic *[Find empty canonical](/forum/44-mass-actions/908286-find-empty-canonical#361645 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4  Im trying to find all products with empty canonical with mass action, but without success. How to configure filter?")*

I tryed day later and now works. Thank you.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDgyODYtZmluZC1lbXB0eS1jYW5vbmljYWw/dG1wbD1tYXJrZG93bg==) 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.061 seconds

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