Dedicated to Your Success

Search for answers to your questions by entering keywords below, or look through our knowledge base.

How To: Create A Custom Medium And Use Default Code Snippets


If you find that Art Storefronts does not offer a specific medium type that you need, and depending on your plan, you will be able to create a custom media type. This comes in handy if you want to offer art on round or odd shaped medias.


Creating a Custom Medium

  1. Log in to your Art Storefronts Control Panel and click on the Art Print Store or Art Upload Store. We will be using the store titled Upload Store.

  2. Click on the tab labeled Media.

  3. Click on the button labeled Add Medium.

  4. Provide your media a Name.

  5. Choose a Default Medium Type.

  6. Click Next.

  7. Scroll down to the section labeled Use Default Or Custom Medium Type and select Custom.

  8. Click on Manage Medium Types.

  9. Click Add Medium Type.

  10. Provide the Custom Medium with a Name.

  11. Click Create.

  12. On the next page you can alter or edit the Name of the Custom Medium.

  13. There is a box labeled Body. This is where you can enter in custom coding to help alter the preview for this specific medium type on your Live Site.
    Please Note: Technical Support cannot help you with the coding that goes into this sections. If you require assistance with this coding, you will need to contact a web designer. If you want to use our default coding, please check below for default code snippets below.

  14. Do you want to customize how the medium type looks on the website?

    You will need to contact a web developer. We recommend hiring someone who is experienced in both CSS and Javascript. You can find someone on who is fairly cheap. We recommend hiring an Expert who you can pay at a decent rate to help you customize your website. Even this will still be cheap.

  15. If you prefer to use our default medium codes, you can use the codes listed below.


Code Snippets For Default Mediums

Warning:  If you customize the code snippet in any way whatsoever, the automatic preview may break, and we will not be able to support/troubleshoot custom code.


<div class="canvas-wrap" style="display: block; overflow: visible;"> <div class="canvas-top" style=" max-width: 400px;"> <div class="clip"> {{ product.canvas_top }} </div> </div> <div class="canvas-main"> {{ product.canvas_main }} </div> <div class="canvas-left"> <div class="clip"> {{ product.canvas_left }} </div> </div> </div>

Please Note: The canvas preview will only show a mirrored image preview. When a user selects border color or overflow (if these options are available), it will not change. You will need to hire a developer to make that sort of customization for the time being.




<div id="paper_preview" class="art-preview shows-frame paper-preview" style="margin-bottom: 25px;"><div class="product-inner-container">{{ }}</div></div>




<div class="metal-preview"> <div class="product-inner-container"> {{ }} </div> </div>



Wall Peel

<div class="wall-peel-preview" style="margin-bottom: 25px;">
<div class="product-inner-container">
<div class="container">




<div id="banner_preview" class="art-preview banner-preview" style="margin-bottom: 25px;"><div class="product-inner-container"><div class="container">{{ }}</div></div></div>

Was this article helpful? Please let us know how we can improve it here