Embedded product frame

This component presents a full product frame on a given design identified by its UUID. The frame handles the presentation of the design, including a 3D view, description, and optional photos. It also handles optional customization of the design, material selection, pricing and delivery date estimation, etc.. The end user is then directed to our cart and checkout process or optionnaly the parent frame is instead redirected via a POST containing order details to any external URL provided at embedding time.

Simple integration

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

<iframe type="text/html" width="1000" height="700" src="//www.sculpteo.com/en/embed/redirect/23284182618746233915471266391450873072?click=details" frameborder="0"></iframe>

This code will embed a product frame to the design of UUID 23284182618746233915471266391450873072, 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:

order

instead of continuing with our cart and checkout process, POST information about the ordered design to the given URL upon click on “Add to cart” by end user

nosave

if set to ‘1’ do not show the ‘Save’ button

For example, the following code will show the a product page on design 23284182618746233915471266391450873072 with no save button, and then redirect the user to http://blog.sculpteo.com/myowncart.php (which does not exist) when he adds the design to the cart. Specifying a order url allows you to handle your own cart and checkout process, provided you maintain the uuid and quantity information along your checkout process, and ultimately perform the actual order via the Order API (see Ordering designs via API). The information that is posted to this url is the following:

uuid

unique identifier of the new customized design (may differ from original UUID)

qty

number of items ordered by the end user

<iframe type="text/html" width="1000" height="700" src="//www.sculpteo.com/en/embed/redirect/23284182618746233915471266391450873072?click=details&nosave=1&order=http%3A%2F%2Fblog.sculpteo.com%2Fmyowncart.php" frameborder="0" scrolling="no"></iframe>
Prev: Embedded thumbnail Next: Embedded purchase module

» webapi documentation » Embedding Sculpteo Web Components » Embedded product frame

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