Skip to content
RuffRuff Order Bonus

Clearer error when an automatic discount exceeds the customer segment limit | RuffRuff Order Bonus

自動適用のディスカウントで、顧客セグメントの上限を超えたときのエラー表示を改善しました|RuffRuff 購入特典

We improved the error shown when an “Automatic” discount campaign exceeds the customer segment limit.

Key points

  • This applies to discount campaigns that use the “Customer segment” eligibility condition
  • If you save with more segments than the limit, an error that states the limit appears under the segment selector
  • The limits and what can be saved are unchanged, and store owners do not need to change any settings

Background

Shopify limits the number of customer segments you can set on a discount. The limit is 5 segments for “Automatic” and 100 segments for “Manual” (discount code).

Previously, saving with more segments than the limit showed only the following error, which did not explain the cause.

  • “Server error occurred. Please try again later. If the issue persists, please contact support.”

Before and after

Item Before After
Selecting 6 or more segments with “Automatic” and saving A server error appears, and the campaign is not saved The campaign is not saved, and “Array must contain at most 5 element(s)” appears under the segment selector
Selecting 101 or more segments with “Manual” and saving Saving fails The campaign is not saved, and “Array must contain at most 100 element(s)” appears under the segment selector
Error at the top of the screen Only the server error message “There were some issues with your form submission” and “1 field has errors”

If you reduce the selected segments to the limit or fewer, the error disappears and you can save.

Affected screens

  • Affected: The create, edit, and duplicate screens of discount campaigns that use the “Customer segment” eligibility condition
  • Not affected: Discount campaigns that do not use “Customer segment”, and gift campaigns

Impact on existing settings

Saved campaigns are not changed. Campaigns over the limit could not be saved before either, so no existing campaign exceeds the limit.

If you need 6 or more segments

With “Manual” (discount code), you can specify up to 100 segments. You can switch the “Method” on the create and duplicate screens, but not on the edit screen of a saved campaign.

Action required from store owners

No action is required.

Effective date

October 1, 2026

Reading next

翻訳ページの入力欄に関する2件の不具合を修正しました|RuffRuff 販売期間
Shopify側の障害が長引いたときに、注文後のギフトが追加されないまま残る不具合を修正しました|RuffRuff 購入特典