How-to

A clothing store website with AI: garments turn on a rail, the full prompt

· 4 min read
A clothing store from one prompt
Contents
  1. What we got
  2. The full prompt
  3. How to do it, step by step
  4. Good to know
  5. Plans

A clothing store needs a site where people want to touch the clothes: hover, and a garment turns on its hanger; click, and its card opens, and you can turn it round to see the back. That is usually a week of a designer’s and a developer’s work. We gave Ask one task and recorded the whole screen: the clock in the corner shows the real time.

What we got

A showroom for a made-up streetwear brand, «ТУМАН» («Fog»):

  • garments hang on hangers on a rail across the page, each with a price tag in rubles;
  • hover over a garment and it turns and sways on its hanger;
  • click it and its card opens: name, price, sizes XS–XL and «В корзину» (add to cart);
  • the garment turns from front to back and back again: drag it with the mouse or a finger, or press the arrows. The back has a large brand print;
  • a cart counter in the header;
  • after a second request, a colour filter and a mini-cart with sizes, a total and an «Оформить заказ» (place order) button.

Ask drew every garment itself: six of them, each from the front and the back. Not a single photo of anyone’s.

The «ТУМАН» garments on a rail, each with a price tag

Hover, and the T-shirt turns on its hanger

A garment’s card: name, price, sizes and add to cart, front view

The same garment from the back, with a large brand print

The mini-cart: items with sizes and the total in rubles

It is a long task: Ask draws every garment from two sides and checks the page itself. The first version was ready in 9 minutes 52 seconds, the changes took another 6 minutes 32 seconds. The whole session: 17 minutes 34 seconds, on Fable 5.2.

The full prompt

We wrote it in Russian, since the store is for Russian buyers. Copy it and change the brand, the garments and the prices to yours (you can write it in English too):

Сделай сайт магазина одежды для выдуманного уличного бренда «ТУМАН». Вещи висят на вешалках на рейле через всю страницу, как в шоуруме, у каждой — бирка с ценой в рублях. Одежду нарисуй сам в SVG: 6 вещей (худи, свитшоты, футболка, худи на молнии) в разных цветах, у каждой вид спереди и сзади, сзади — крупный принт бренда. При наведении вещь поворачивается и слегка качается на вешалке. По клику открывается карточка: название, цена, размеры XS–XL и кнопка «В корзину»; вещь можно развернуть спереди назад и обратно — перетаскиванием или стрелками, с плавным поворотом, как в 3D. В шапке счётчик корзины. Всё в одном файле index.html, без интернета, удобно на телефоне.

In English: “Make a clothing store website for a made-up streetwear brand «ТУМАН». The garments hang on hangers on a rail across the whole page, like in a showroom, each with a price tag in rubles. Draw the clothes yourself in SVG: 6 items (hoodies, sweatshirts, a T-shirt, a zip hoodie) in different colours, each with a front and a back view, the back with a large brand print. On hover a garment turns and sways a little on its hanger. On click a card opens: name, price, sizes XS–XL and an «В корзину» button; the garment can be turned from front to back and back again, by dragging or with arrows, with a smooth turn, like 3D. A cart counter in the header. Everything in one index.html file, no internet needed, easy on a phone.”

The second request, once the site was open:

Добавь фильтр по цвету над рейлом и мини-корзину: вещи с размерами, итог в рублях и кнопка «Оформить заказ».

In English: “Add a colour filter above the rail and a mini-cart: the items with their sizes, the total in rubles and a «Оформить заказ» button.”

How to do it, step by step

  1. In Ask, open Code and press “Prefer the terminal?”. Copy the command.
  2. Paste it into a terminal in an empty folder. Ask installs and signs in by itself.
  3. Type /model fable so Fable 5.2 takes the task, as in our recording. Other models can do it too.
  4. Paste the prompt. Ask creates each file only after your yes.
  5. Ask opens the site in your browser by itself. Hover over a garment, click it, turn it round.
  6. Ask for whatever your store needs next.

Good to know

  • The brand, garments and prices in the example are made up: write your own.
  • Your photos instead of drawings: put a front and a back photo of each garment in the folder and ask Ask to use them.
  • The cart doesn’t send orders yet. Ask Ask to connect Telegram, email or a spreadsheet.
  • For buyers to open the site, it has to be put online. Ask explains how.

More examples: a landing page in 3 minutes, a QR menu for a café, a budget tracker, a game for your child, a wedding invitation.

Plans

Code is in Plus and above, Fable 5.2 in Pro and Max. See what each includes on the Plans page.

CodeStoreWebsites

Frequently asked questions

Where do the garment pictures come from?
Ask drew them itself, right in the page’s code: each garment is a drawing from the front and the back. No one else’s photos, nothing from the internet. To show your own clothes, ask Ask to use your front and back photos.
Is it real 3D?
No, and it doesn’t need to be: each garment has two views, front and back, and the site turns it smoothly between them. It looks like a turn, and the page stays light and opens fast on a phone.
Can it take orders?
In the example the cart counts the items and the total, but the order goes nowhere. Ask Ask to send orders to you in Telegram, by email or to a spreadsheet.
Do I need to know how to code?
No. You write the task in plain words: copy the prompt below and change the brand, the garments and the prices. Ask creates the files and you approve each change.
Which plans include this?
Code is in Plus and above. Fable 5.2, the model used in the example, is in Pro and Max.

Try it on your own task

Your first answer arrives in seconds. No VPN, no password, and there’s a free plan.

Ask for free

Keep reading