GO SUB Useful Features
Purchase button and link creation functionality
Click here for the article introduced in the video


- font size
- font weight
- Rounded corners of border
- button text
- height
- Width
The app automatically creates the Liquid and Javascript code for the button, and developers are free to use the button code and add it directly to their theme.*Since the files for each theme are different, the following is just an example.Put the Liquid code into the Liquid file of your desired theme.
Put your Javascript code into the desired Javascript file. I recommend putting it at the bottom of the Javascipt file.

digital products
- For the first order of a contract, if the customer purchases only digital products, only digital products can be added or changed after the first order. When purchasing only digital products, there is no address attached to the contract, so you will not be able to add or change the products to be shipped.
- If the first order of a contract includes a digital product and a shipped product (regular purchase or subscription), the contract will include an address. In this case, details such as address, delivery date and time will also be displayed in the contract details on the customer account page. Additionally, after your first order, you are free to add and change both digital and shipping products.
*When changing or adding products, you can change or add products that are in the same subscription group.From the above points,We don't recommend mixing shipped and digital products when selecting products for your subscription group. We recommend limiting your subscription group to only digital products or shipped products.

Shipping fee automatic recalculation
This feature automatically recalculates shipping charges when the products or number of products in your subscription contract change.
For example, if the shipping fee is set as follows
Free shipping for purchases over 5,000 yen
Shipping fee is 500 yen for purchases less than 5,000 yen
First purchase (at the time of subscription contract)
Purchasing one item worth 4,500 yen = 500 yen shipping fee will be saved in the contract information.
The number of products was changed by the customer before the second purchase.
Changing a 4,500 yen item to 2 purchases = Total amount: 9,000 yen =Originally free shipping
In the initial settings of GO SUB, even if you change the product, the shipping fee will not be automatically calculated and the "shipping fee of 500 yen" will remain in the contract information.
Therefore, in the example above, the second order will be 9,000 yen plus shipping 500 yen.
If automatic shipping recalculation is turned on, in the example above, when the product information is changed, the calculation will be performed again and the contract information will be updated to free shipping, so the order amount will only be 9,000 yen.
How to set up automatic shipping recalculation
Open Settings > Subscription Behavior.

Turn on the automatic recalculation of shipping charges checkbox and select the automatic recalculation method for shipping charges.
This can be done by going to Shopify Settings > Shipping and Delivery, and if multiple shipping rates are set, you can select which one to apply automatically.
Timing of automatic shipping recalculation
Shipping charges will be automatically recalculated at the following times.
- When a subscription order is created (excluding initial orders)
- When payment for a regular purchase order fails
- When the next order creation date and time is changed
- When a subscription plan is switched or when the order cycle is manually changed
- When a product within a subscription contract is added, changed, or deleted (*This is a change within the contract and does not include changes to store product data)
- When the shipping address for a subscription contract changes
- When the status of a subscription contract changes
- When the minimum number of purchases and maximum number of purchases for a subscription contract are changed.
- When the order notes for a subscription contract are changed
- When a discount for a subscription contract is added or deleted
Everything is based on the contract and will be recalculated upon any changes.
Please note that contract shipping charges will not be recalculated if you change your store's shipping rate settings.
How to prevent automatic recalculation of specific contracts when automatic shipping recalculation is enabled
GO SUB settings enable shipping recalculation, but if for some reason you want to disable automatic calculation for a specific contract, you can exclude it from recalculation from the target contract screen.
Go to GO SUB>Subscription Agreement and open the applicable agreement.
In the subscription details field, click "Change" to the right of "Exclude from automatic shipping fee calculation" to open the modal.
If you want to disable automatic recalculation, select the exclusion and save.
- Shipping charges will not be recalculated if the eligible item is removed from your store.
- If no matching shipping profile is found, shipping charges will not be recalculated.
- Shipping charges will only be recalculated correctly if the shipping terms are set to "Based on Order Amount." Do not use in conjunction with the "Based on product weight" shipping profile.
- Processing may take several minutes. Making changes in quick succession can lead to unexpected behavior.
- If you would like to disable automatic recalculation of shipping charges for a specific contract, please set it as exempt from automatic recalculation of shipping charges from the subscription contract details page.
- Automatic recalculation of shipping charges will occur only for contracts with active and failed status. Canceled, suspended, or terminated contracts are not covered.
- New shipping rates are calculated based on your store's shipping settings in Shopify. GO SUB does not calculate shipping charges.
- Everything is based on the contract and will be recalculated upon any changes. Please note that contract shipping charges will not be recalculated if you change your store's shipping rate settings.
Register coupon/discount code
You can add Shopify discount coupon codes to your contract from your app admin and customer account pages.
Settings from the management screen
Open your contract information, select Add discount code, and enter the code on the next screen.


Settings from customer account page
Add a code from the "Add discount code" button on the subscription management screen.

*To enable customers to add coupon codes from their account page, they must check "Add discount code" in the settings of the customer account page on the app management screen.

Shopify discount types and settings
[Purchase type]
When creating a discount in Shopify, the purchase type must be set to "Subscription" or "Both." Please note that if a "one-time purchase" is set, it cannot be used to pay for a subscription.

[Maximum number of discount uses]
If you do not want to apply a recurring discount after applying a discount, please select "Limit discount to first payment".
If other is set, the discount will be applied to multiple (or all) orders after the discount is added.

Points to note when adding discounts
- When you add a discount, Shopify approves the addition of the discount to your contract. If you can't add the code,
- Add from the app management screen: An error message will be displayed. Please check the contents.
Added from customer account page: Displays the general message set in Text, Translation Settings.
- Add from the app management screen: An error message will be displayed. Please check the contents.
- Shopify automatically calculates and applies discounts when you create an order. The discount applied reflects the settings at the time the discount is applied to the contract.
Additionally, for subscription coupons, if you add the coupon to your contract before the expiration date, the coupon will continue to apply after the expiration date. - Please note that due to Shopify specifications, removing and re-adding a coupon from a contract will reset "Limit discount to multiple recurring payments" in Shopify Discount Settings.
[Example regarding resetting the number of times]
If the coupon's "Limit discount to multiple recurring payments" is set to 2 times and the order cycle is set to 1 month.
First order: April 1st
April 15th *Coupon added
May 1st 2nd order (1st application of coupon)
May 2nd *Delete the coupon and re-add it
=> The coupon has already been applied once to the order, but since you deleted it, the count will be reset and you will be able to apply it twice again.
June 1st 3rd order (1st application of coupon)
July 1st 4th order (coupon applied for the 2nd time)
August 1st 5th order (coupon not applicable)
If you don't want to allow multiple applications, set limits in Shopify Discounts.

[At the time of registration Discount settingsInformation is recorded in the contract as a snapshot]
Even if you delete the discount itself or change the details after setting a discount in the contract, the discount setting information at the time of registration will remain in the contract and the discount will be applied.
[About usage limits such as once per person]
Usage restrictions such as "Can only be used once per person" for Shopify DiscountsCounted “when the coupon code is saved to the subscription contract”. Therefore, please note the following points.
- When a code is added to a contract, it is considered to have been used once, and it is counted as the number of uses even if no actual order or payment has occurred after that.
-
Removing the code from your contract does not reduce this usage count.
(This is a different mechanism from the number reset of "Limit to multiple recurring payments" above) - Therefore, once a code is added to a contract and removed, attempts by the same customer to use the same code again may be blocked.
- This usage count is not linked to the performance (actual results) on the "Discount" page on the management screen. Even if it remains 0 times in terms of performance, there are cases where it cannot be reused for the reasons mentioned above.
- There is currently no way to individually check or reset this usage count from GO SUB and the Shopify admin screen/API.
When adding a code with a restriction such as "one use per person" to your contract as a trial, please note that once you add it, you may not be able to reuse the same code.