Skip to main content
Customize your cart drawer in Upcart using HTML and CSS via Settings > Custom HTML & CSS.
  • While Upcart offers help from our AI assistant Fin, you can also use third-party AI tools to create custom content.

Best Practices

  • Use only inline HTML — no <html>, <head>, or <body> tags.
  • Keep all CSS in the Custom CSS section.
  • Use the HTML location dropdown to choose exactly where your snippet will appear.
  • If you’re using JavaScript, it should either be:
    • A small inline <script> (like a countdown timer)
    • Or placed in the “Scripts (Before Load)” section
  • Send the AI a link to Upcart’s V2 CSS Selector Library and HTML Location Library so it generates code using the correct class names for your cart version.

Things to Avoid

  • Don’t paste full webpages (<html>, <head>, <body> ) from AI tools or code generators, they will break the Upcart layout.
  • Avoid putting styles in <style> tags inside the HTML box.
  • Don’t use external fonts or heavy libraries unless absolutely necessary.

Use ChatGPT or Similar AI for Extra Support

Use this copy-paste prompt to get clean code that works with Upcart: