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

#   Badges on products limit

##

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

Less More

- Posts: 38
- Thank you received: 2
-
-

7 years 4 months ago [\#308017](#308017) by [Vlad Boch](/forum/user/57306-vlad-boch "View Vlad Boch's Profile")  *[Badges on products limit](/forum/26-product-category-display/897754-badges-on-products-limit#308017 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.33  Hi. Is there some limit on how many products can you attach to one badge? For some reason the discount badge doesn't want to save new products added to it. Could you advise me, please, how to fix this problem?")* was created by *[Vlad Boch](/forum/user/57306-vlad-boch "View Vlad Boch's Profile")*

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.10
-- PHP version -- : 7.0.33

Hi. Is there some limit on how many products can you attach to one badge? For some reason the discount badge doesn't want to save new products added to it. Could you advise me, please, how to fix this problem?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTc3NTQtYmFkZ2VzLW9uLXByb2R1Y3RzLWxpbWl0P3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14292
-
-

7 years 4 months ago [\#308018](#308018) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Badges on products limit](/forum/26-product-category-display/897754-badges-on-products-limit#308018 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.33  Hi. Is there some limit on how many products can you attach to one badge? For some reason the discount badge doesn't want to save new products added to it. Could you advise me, please, how to fix this problem?")*

Hi,

There is no limit per se. However, the column badge_product_id where the ids of the products are stored in by default limited to 255 characters for performance issues.
If you want to store more product ids, you can edit that column of the hikashop_badge table via your phpmyadmin and change the column type to "text". The limit will then be around 65000 characters.
However, it might be better to actually create an unpublished category and select that category on your badge and then add that category as a second category to the products on which you want the badge.

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

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

Less More

- Posts: 38
- Thank you received: 2
-
-

7 years 4 months ago -  7 years 4 months ago [\#308068](#308068) by [Vlad Boch](/forum/user/57306-vlad-boch "View Vlad Boch's Profile")  Replied by *[Vlad Boch](/forum/user/57306-vlad-boch "View Vlad Boch's Profile")* on topic *[Badges on products limit](/forum/26-product-category-display/897754-badges-on-products-limit#308068 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.33  Hi. Is there some limit on how many products can you attach to one badge? For some reason the discount badge doesn't want to save new products added to it. Could you advise me, please, how to fix this problem?")*

Hi, Nicolas.
I like the second option better, but as far as I know badges don't display on the produc'ts photos, if you attach them to category.

UPD: Never mind. I checked this option again. it works. Thank you for your help.

Last edit: 7 years 4 months ago by [Vlad Boch](/forum/user/57306-vlad-boch "View Vlad Boch's Profile").

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

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