Embedded purchase module

In some cases, particularly for mobile applications, you may not want to allow the user to utilize each of Sculpteo’s customization tools - it may be more advantageous to open the order and payment page directly. Embedding the purchase module allows your customers to purchase and pay for the objects without ever leaving your website.

Simple integration

The purchase module frame may be integrated to any external web page using a <iframe> tag, like so:

<iframe type="text/html" width="1000px" height="540px" src="//www.sculpteo.com/en/embed/redirect/uyaiaJef?click=cart" frameborder="0" />

This code will embed a purchase module and add to the card the design of UUID uyaiaJef, which will appear like this in your page:

Several options that may be appended to the URL in the src attribute, to configure the appearance and behaviour of the page:

material

choose the material of the object you are adding to the cart

scale

precise the scale of the design you wish to order

unit

precise the unit of the design you wish to order. Can be ‘mm’,’cm’,’in’

currency

precise the currency you wish to use. Can be ‘EUR’,’USD’,’GBP’

If you wish to use the mobile version, simply add “m.” before the url as following: “https://www.m.sculpteo.com/en/embed/redirect/uyaiaJef?click=cart

For example, the following code will add to the cart the design of uuid uyaiaJef in black plastic, with a unit in mm and currency in USD. The chosen display mode is mobile.

<iframe type="text/html" width="1000px" height="540px" src="//m.sculpteo.com/en/embed/redirect/uyaiaJef?click=cart&material=black_plastic&unit=mm&currency=USD" frameborder="0" />
Prev: Embedded product frame Next: Overlay box with Sculpteo content

» webapi documentation » Embedding Sculpteo Web Components » Embedded purchase module

Last update: 1970-01-01 01:00 (CET)