「ギフト配布漏れの自動リカバリー」で、顧客の累計注文数・累計購入金額の判定がずれる不具合を修正しました|RuffRuff 購入特典

We’ve Fixed a Bug in Automatic Gift Recovery That Mismatched Customers’ Total Order Count and Amount Spent|RuffRuff Order Bonus

Tsun Inc.

We’ve fixed a bug in the “Automatically recover missed gift distribution” feature, where for campaigns that use a customer’s total order count or total amount spent as a condition, the values used for evaluation didn’t match the values used during checkout on the storefront.

Recovery reads a customer’s total order count and total amount spent after the order has been created, while the storefront evaluates these values before the order is finalized. Because of this gap, Recovery’s evaluation already included the current order itself. For example, a first-time customer who shouldn’t have met a “total order count of 1 or more” condition could be incorrectly judged as meeting it, causing a gift to be added automatically when it shouldn’t have been. There was also a bug where campaigns using an “equal to” or “not equal to” total order count condition would either never or always match, due to a mismatch in the internal value type.

What changed

  • Total order count and total amount spent evaluation: Recovery now subtracts the current order itself from the values it reads, so it evaluates against the same “pre-order” values as the storefront
  • “Equal to” / “not equal to” conditions: Campaigns using a total order count condition now evaluate correctly

This fix is a change to internal evaluation logic only, and no action is required from store owners. If you have any questions about an order where a gift may have been added incorrectly in the past, please contact our support team.

Back to blog
1 of 6
  • 【ストアインタビュー後編】やりながら育てるShopify。「野菜をMOTTO」の試行錯誤:モンマルシェ株式会社 河野雄士さん

    [Store Interview, Part 2] Building and Growing ...

    テキサス・アユミ

    "Even when e-commerce is the main battlefield, e-commerce isn't the goal." An in-depth look at our interview with Yuji Kono of Mon Marché, whose brand "Yasai wo MOTTO" grew its...

    [Store Interview, Part 2] Building and Growing ...

    テキサス・アユミ

    "Even when e-commerce is the main battlefield, e-commerce isn't the goal." An in-depth look at our interview with Yuji Kono of Mon Marché, whose brand "Yasai wo MOTTO" grew its...

  • 【ストアインタビュー前編】 ECが主戦場でも、ECが目的ではない。「野菜をMOTTO」が貫くEC戦略:モンマルシェ株式会社 河野雄士さん

    [Store Interview, Part 1] Even When E-Commerce ...

    テキサス・アユミ

    "Even when e-commerce is the main battlefield, e-commerce isn't the goal." Part 1 of our interview with Yuji Kono of Mon Marché, whose brand "Yasai wo MOTTO" grew its e-commerce...

    [Store Interview, Part 1] Even When E-Commerce ...

    テキサス・アユミ

    "Even when e-commerce is the main battlefield, e-commerce isn't the goal." Part 1 of our interview with Yuji Kono of Mon Marché, whose brand "Yasai wo MOTTO" grew its e-commerce...

  • 【ストアインタビュー後編】取り返しのつかない失敗さえしなければ、全部学びになる。EC戦略と経営哲学:Beverich株式会社 代表取締役 木下慶さん

    [Store Interview, Part 2] As Long as You Don't ...

    テキサス・アユミ

    Kei Kinoshita, President of Beverich, discusses his strategy for splitting roles between Shopify and Amazon, how he uses the RuffRuff apps, and a management philosophy that turns failure into learning....

    [Store Interview, Part 2] As Long as You Don't ...

    テキサス・アユミ

    Kei Kinoshita, President of Beverich, discusses his strategy for splitting roles between Shopify and Amazon, how he uses the RuffRuff apps, and a management philosophy that turns failure into learning....

1 of 3
  • Our Editorial Process

    For readers new to e-commerce and Shopify, we write our articles with care to explain difficult commerce and marketing terms, along with how everything works from building a store through to selling, as “gently,” “clearly,” and “accurately” as we can.

    Learn more 
  • About the information on this site

    The information published here is based on Tsun Inc.’s own experience and research. While we make every effort to publish information that is as “current” and “accurate” as possible, we cannot fully guarantee its contents. Tsun Inc. accepts no liability whatsoever for any damages arising from this site. If you find an error in the information published here, we would be grateful if you would contact Tsun Inc.