"RuffRuff 予約販売" supports the reduction of opportunity losses that occur when products are out of stock, new products are not on sale, or are on backorder.
It's incredibly easy to create pre-orders on your Shopify store, allowing you to register an unlimited number of pre-order products and accept unlimited pre-orders. You can also restrict people from ordering pre-order items and regular items at the same time, or send notifications when the item will be back in stock if it is not yet determined.
There are many unique features that are not found in other pre-order sales apps, such as the "Pay Later" feature that allows you to collect payment before the product is shipped.
My name is Ogasawara, CTO of Tsun Inc.!
Recently, we mainly develop Shopify apps and themes.
This blog shares information useful for Shopify development.
I would be happy if this would be helpful for Shopify engineers!
Why did you decide to make it?
If you're working with multiple customer stores with Shopify Partners, you'll need to work with multiple development stores.
Information about the store you are logged in with the Shopify CLI shopify store It was a pain to run the command and confirm it every time, so I thought I'd display it at Starship's prompt.
What you created
A setting that displays the store name currently logged in with Shopify CLI in the Starship prompt
Prerequisites
Target audience
- People who have used Shopify CLI
-
People who have installed Starship
I won't go into details about Starship in this article, but if you're interested in installing it, it's easy to install, so I highly recommend taking this opportunity to do so!
Environment
- Shopify CLI (version: 2.17.0)
- Starship (version: 1.6.3)
Implementation
Add the following settings to ~/.config/starship.toml .
[custom.shopify]
command = """ shopify store | sed -r "s/^.* into (.*)\\.myshopify\\.com.*$/\\1/" """
when = "shopify store"
Once the settings are reflected, the name of the store you are logged in to will be displayed as shown below!
Even if you switch stores, the name of the store you are currently logged in to will change immediately.

What we are doing isshopify store When I run
You're currently logged into tsun-dev.myshopify.com
Since it is displayed in the format, only the store name part is extracted.
If you think it is annoying for it to always be displayed, specifying shopify-cli.yml in the detect_files option seems good.
Also, symbol is not specified above, but specifying something like Nerd Fonts' nf-fa-shopping_bag should make it easier to recognize as Shopify.
If you want to know about other settings, please check custom-commands.
Summary
This time, we introduced how to display the name of the store you are logged in to on the Shopify CLI in the Starship prompt.
I would be happy if Starship officially responded soon!
Tsun has a track record of building numerous stores with Shopify Partners.
If you are interested in building a store, please contact Tsun.