Home App Docs Blog Github

More detailed explanations of Nextjs-Shopify

Good afternoon @builder.io Tell me I’m confused in your documentation (I want to create an Extjs-Shopify application What should my workflow look like if I want to use your starter but completely remove the design and leave only the logic and components that are responsible for the basket, products, collections and the whole logic of the application?

Hi @Yusipower, I would suggest modifying the existing content entries or creating a new ones for the models in your space to use your own design. The Next.js Shopify starter was themed with Theme-UI so alternatively you can add/remove Theme UI components in the code.

Good afternoon!

  1. What do you mean by changing the records of the current content-is it a change in models or changes in the appearance of components from the editor?

  2. In which case do I need to create models on a separate models tab? and in which of the editor to add new fields?

  3. What happens if I just create design elements from the editor without using models at all?

  4. When I create a design in builder, technically, how does it appear in the code in the form of what?

  5. What components and models can I remove in this starter so as not to break the logic of the basket, products and purchases?

Hello @Yusipower! I hope the following answers provide more clarification.

  1. What do you mean by changing the records of the current content-is it a change in models or changes in the appearance of components from the editor?

From the editor you can edit the styles and delete any parts on the page you don’t want to use.

  1. In which case do I need to create models on a separate models tab? and in which of the editor to add new fields?

The starter comes with all the models you need so you won’t need to create other models unless you want to add something new.

  1. What happens if I just create design elements from the editor without using models at all?

All Builder content starts with a model. The three main types are pages, sections, and data models which you can read more about here.

  1. When I create a design in builder, technically, how does it appear in the code in the form of what?

Builder will not change anything in your codebase, rather we make updates to Builder components through our API when you edit something. To learn more about how Builder works, read this doc: How Builder works - Builder.io

  1. What components and models can I remove in this starter so as not to break the logic of the basket, products and purchases?

For components you can remove the Searchbar, Navbar, UserNav, FeatureHead, and their respective imports but will want to keep all the components related to products and the cart.