Skip to content

Commit 090262e

Browse files
authored
Update README.md for Trade version of the theme
1 parent ab80ee2 commit 090262e

File tree

1 file changed

+113
-1
lines changed

1 file changed

+113
-1
lines changed

README.md

Lines changed: 113 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,119 @@ But this does work:
118118

119119
# Other Versions of the Starter Theme
120120

121-
## Tailwind Admin Fields
121+
## Version: Trade
122+
123+
- [Branch](https://github.com/TrellisCommerce/shopify-tailwind-starter-base/tree/trade)
124+
125+
### How Is It Different
126+
127+
This version of the theme uses the configurations already existing in with the [Trade version of Dawn](https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/trade). Specific B2B-related features have been added to this version of the theme, which so far include:
128+
129+
<details>
130+
<summary>1. Buy Again</summary>
131+
132+
#### Functionality
133+
If a customer is logged in and has made a previous purchase, the Buy Again buttons appear within the cart elements.
134+
135+
#### Admin Controls
136+
N/A
137+
138+
#### Visuals
139+
Buy Again button in the cart drawer & on the cart page:
140+
141+
<img width="300" alt="Buy Again button in the cart drawer" src="https://github.com/user-attachments/assets/9ed316b7-4022-47f0-b5ca-fe5d6adaff3b">
142+
<img width="400" alt="Buy Again button on the cart page" src="https://github.com/user-attachments/assets/b50cf468-d00c-400b-b71c-44d02b16119f">
143+
</details>
144+
145+
<details>
146+
<summary>2. Bulk Cart Clear</summary>
147+
148+
#### Functionality
149+
Uses the `POST /{locale}/cart/clear.js` endpoint to set all quantities of all line items in the cart to zero. ([Shopify documentation](https://shopify.dev/docs/api/ajax/reference/cart#post-locale-cart-clear-js))
150+
151+
#### Admin Controls
152+
Toggle on or off feature under Theme Settings > Cart > Show clear cart button:
153+
154+
<img width="200" alt="Admin controls for bulk cart clear" src="https://github.com/user-attachments/assets/44a29ff5-df0b-499d-a0cb-15b1b73364a1">
155+
156+
#### Visuals
157+
Clear Cart text button in the cart drawer & on the cart page:
158+
159+
<img width="400" alt="Clear Cart button in the cart drawer" src="https://github.com/user-attachments/assets/b85d3b3f-7407-421a-9315-686d773b4844">
160+
<img width="400" alt="Clear Cart button on the cart page" src="https://github.com/user-attachments/assets/29dc53eb-a936-40f3-9c7d-19824b5fe28d">
161+
</details>
162+
163+
<details>
164+
<summary>3. Bespoke Breadcrumbs for Collecitons & PDPs</summary>
165+
166+
#### Functionality
167+
The navigation structure of a store dictates the breadcrumb structure of the collections and product pages up to four nested levels, complete with [structured data](https://developers.google.com/search/docs/appearance/structured-data/breadcrumb).
168+
169+
#### Admin Controls
170+
Set the navigation structure of a store under Online Store > Navigation > Menus and then set the store to use the configured menu under Header > Menu:
171+
172+
<img width="200" alt="Admin controls for bulk cart clear" src="https://github.com/user-attachments/assets/67cee4d9-dc25-4e63-9f92-63a142680c7c">
173+
174+
#### Visuals
175+
176+
Breadcrumbs on a product page & collection page:
177+
178+
<img width="400" alt="Breadcrumbs on a product page" src="https://github.com/user-attachments/assets/efab40f7-56f9-47f0-b900-36989c066714">
179+
<img width="400" alt="Breadcrumbs on a collection page" src="https://github.com/user-attachments/assets/3651668e-3d50-4622-a7b5-f8987fdb170d">
180+
</details>
181+
182+
<details>
183+
<summary>4. Cart Sorting</summary>
184+
185+
#### Functionality
186+
Cart items can be sorted 4 ways:
187+
1. `Default` - standard way Shopify sorts by order added to cart
188+
2. `Price` - Numeric ascending by total price
189+
3. `Title` - Alphabetic by product name
190+
4. `Quantity` - Numeric ascending by quantity in cart
191+
192+
#### Admin Controls
193+
Select the way to sort the cart items by navigating to the Items section on the Cart page:
194+
195+
<img width="400" alt="Breadcrumbs on a collection page" src="https://github.com/user-attachments/assets/4b3e1098-df0d-4d1c-badc-af9facec9be9">
196+
</details>
197+
198+
<details>
199+
<summary>5. Header Mega Menu Promotional Items</summary>
200+
201+
#### Functionality
202+
A block for the Header section has been created called Promotional Items, which includes the ability to add one or more promotions to the right side of a desktop mega menu. To keep performance optimal, the images within the mega menu will initially load once a mega menu has been toggled open.
203+
204+
#### Admin Controls
205+
Add a `Promotional Items` block for each mega menu that will have a promotion under the Header section. The `Nav Postion` value corresponds to the mega menu the promotion will appear in:
206+
207+
<img width="200" alt="Admin controls for a promotion in the header" src="https://github.com/user-attachments/assets/68ae6b2d-524e-45e3-83ee-b472088c6716">
208+
209+
#### Visuals
210+
Promotion in the header:
211+
212+
<img width="500" alt="Promotion in the header" src="https://github.com/user-attachments/assets/ebbba635-f3f3-4efa-8018-60d1c0206b4d">
213+
214+
</details>
215+
216+
<details>
217+
<summary>6. Predictive Search Enhancements</summary>
218+
219+
#### Functionality
220+
Using the [parameters available for Shopify’s predictive search](https://shopify.dev/docs/api/ajax/reference/predictive-search), the following fields have been added to be searched with a search query:
221+
- title
222+
- vendor
223+
- tag
224+
- variants.sku
225+
- variants.barcode
226+
- product_type
227+
- variants.title
228+
229+
#### Admin Controls
230+
N/A
231+
</details>
232+
233+
## Version: Tailwind Admin Fields
122234

123235
- [Branch](https://github.com/TrellisCommerce/shopify-tailwind-starter-base/tree/tailwind-admin-fields)
124236

0 commit comments

Comments
 (0)