
IT
Shopify theme building for Siba Vitamins
From Network Security to Building a Shopify Theme
Moving from network security and support to building a Shopify theme was a strange change, to be honest. But it was also an interesting way to develop my career and learn something new. It started when I began helping my sister with her vitamins and supplements store on Shopify. There was a lot to figure out, but I enjoyed the challenge. My IT background helped me approach problems, even when the tools were new to me.
Understanding how Shopify works is one thing. Understanding how to build your own theme is another, even when you’re using AI. Coding isn’t my main field, so I focused on learning how to explain what I wanted, write clearer prompts, and guide the AI without wasting tokens or creating a mess. That became a learning process of its own.
Understanding the Theme Structure
If you’re getting into website building with Codex and want to work on a Shopify theme, I think it helps to understand the theme structure first. You don’t need to know everything immediately, but knowing where things belong makes it easier to explain what you want to change.
Here’s a simple breakdown.
layout/
The main framework of the website, including the theme.liquid file.
templates/
The templates that define how pages such as the homepage, product pages, collections, blog, cart, and search are put together.
sections/
Editable page components, such as the header, footer, hero banner, and featured products.
snippets/
Reusable pieces of code, such as product cards, prices, and SEO tags.
blocks/
Smaller components that can be used inside compatible sections and other supported theme structures.
assets/
Files such as CSS, JavaScript, images, and fonts.
config/
Theme editor settings and their saved values.
locales/
Translations for buttons, labels, and other theme interface messages.
You can read more in Shopify’s theme architecture documentation: https://shopify.dev/docs/storefronts/themes/architecture
Once you understand these folders, it becomes easier to tell the AI what you need and where the change belongs. But that doesn’t mean you can copy a prompt, paste it, and expect everything to work perfectly. I wish it were that simple. Sometimes the AI understands exactly what you mean. Other times, it changes something you didn’t ask for, misses a detail, or gives you a result that looks good until you try using it. That’s why I started putting more effort into my prompts.
The Prompt I Developed Along the Way
The following is a longer prompt that brings together the steps I learned to ask for. You can adapt it to your own brand and project. Personally, I find it easier to work through it in stages instead of asking the AI to build everything at once.
1. Start by planning the theme.
Help me plan a custom Shopify theme from scratch for “brand name,” a store selling “product type” to “target audience.” The visual style should be “minimal, premium, colorful, natural, or another style.” Use “brand colors” and “font preferences.” I need a homepage, product pages, collection pages, a blog, an article page, an About page, a contact page, search, and a cart. Describe the page structure and reusable sections before writing code. Identify which content belongs in the theme and which belongs in Shopify’s database. Ask me about missing information that would materially affect the design. Do not invent product claims, reviews, prices, or business policies.
2. Then create the foundation.
Create the foundation of a custom Shopify Online Store 2.0 theme using Liquid, JSON templates, CSS, and JavaScript. Set up the standard theme folders, main layout, theme settings, translation files, and homepage template. Use clear, maintainable code and Shopify’s current theme conventions. Make colors, typography, spacing, and buttons configurable through the theme editor. Support mobile and desktop screens, keyboard navigation, and visible focus states. Validate the theme with Shopify Theme Check. Keep the theme unpublished and explain any validation errors.
3. Build the homepage.
Build the homepage for “brand name” using the existing theme foundation. Include these editable sections: announcement bar, header, hero banner, featured collection, image with text, brand benefits, blog articles, and footer. Let me change images, text, buttons, links, and section order in Shopify’s theme editor. Use real Shopify collections and articles when selected. Use clearly labeled placeholders where content is missing. Preserve a consistent visual style and check the result on desktop and mobile.
4. Work on the product page.
Create a product page for this Shopify theme. Include a media gallery, product title, price, variant selector, quantity field, add to cart button, description, collapsible information, and related products. Connect everything to the current Shopify product and selected variant. Handle unavailable variants, sold out products, and cart errors clearly.
Support app blocks so compatible review apps can be added later. Use product metafields for optional information specific to each product. Do not hardcode ingredients, benefits, specifications, or reviews into a template shared by all products.
5. Add collection and search pages.
Create collection and search pages that match this theme. Include responsive product cards, pagination, sorting, and Shopify supported storefront filters. Show the correct product image, title, price, sale price, and availability. Include useful empty states for collections and searches with no results. Keep filter controls accessible and comfortable to use on mobile.
6. Build the blog templates.
Build a blog listing template and an article template for this theme. The listing should show featured images, titles, publication dates, excerpts, and pagination. The article should have readable typography, a comfortable content width, proper heading hierarchy, and responsive images. Make optional elements configurable in the theme editor. Use Shopify’s actual blog and article content.
7. Prepare the translations.
Prepare the theme for English and Spanish. Put interface text in locale files and use Shopify translation keys throughout the theme. Preserve Liquid variables, HTML markup, URLs, and technical identifiers. Allow translated text to wrap without breaking the layout. Explain which content requires separate translation in Shopify, including products, menus, articles, metafields, policies, and app content.
8. Review and test everything.
Review the completed theme and prepare it for an unpublished Shopify preview. Run Theme Check and test navigation, product variants, adding products to the cart, cart updates, search, and forms. Check desktop and mobile layouts. Report what passed, what failed, and anything you could not verify. Package an uploadable theme ZIP with the theme folders at its root. Do not publish it or modify the live theme.
What Took Me Time Was Learning What to Ask
That’s the end of the prompt. You can copy it, change the details, and use it as a starting point. If you’re working from Shopify’s Skeleton theme, mention that too, so the AI knows what foundation you’re using. I know the prompt looks long. But it took me around three or four months of working, testing, and making mistakes to get it to this level of detail. It didn’t come out like this on the first try. I’ve worked on four websites, and with each project, I’ve improved how I explain things and what I ask the AI to check. I’m sharing this because someone reading might be stuck in the same place I was.
As an entrepreneur, I see learning as part of moving forward. The more I understand, the better decisions I can make for my work and my business. You can find plenty of this information online, and AI can explain it too. But sometimes you don’t want another technical explanation. You want to hear from someone who has actually struggled with the same problem.
There’s something reassuring about finding a person who says, “Yeah, I got stuck there too. Here’s what helped me.” And honestly, AI doesn’t always have the answer. Sometimes you have to test, question the result, and try again.
Then Come the Details of the Details
Once the main structure works, you get into the details: pictures, colors, banners, menus, spacing, buttons, and all the little things you didn’t notice at the beginning. Then you open the website on your phone and find a few more.
It can get frustrating, but it’s part of the journey. Getting the code to run and getting the website to feel right are two different stages. I was already working with an existing theme, but I decided to start from scratch to understand the whole process. I needed to see how the pieces connected before I felt comfortable changing them.
That’s how my brain works. I like to take things apart, understand them, and then start building. I’m still learning, but I hope sharing this makes the beginning a little easier for someone else.
Want a similar optimized setup for your e-commerce store? Check out my web development services.
You can see the theme I built at www.sibavitamin.com. And since this project started with my sister’s vitamins and supplements store, feel free to have a look at her products while you’re there.
Written by Javier Sibauste.
Created by Sibauste System 💻
