In addition to Loading a Default Gallery Image, the product state URL parameters have been expanded with some new additions.

Aspect Option

The selected aspect option can be controlled using:

state[aspect][X][option]=Y

Where X is the name or ID of the target aspect and Y is the name, ID or SKU of the desired aspect option.

aspect option names currently do not support spaces when being called in state parameters

Text

The default text for specific text areas can now be controlled using:

state[text_areas][X][text]=Custom%20Gateway

Where X is the name, internal name or ID of the text area.

Note In both cases, if  X or Y have any spaces or other special characters, they must be encoded.

Note Names are case sensitive.


Images

The default image for specific image areas can now be controlled using:

state[image_areas][X][url]=Y

Where X is the name, internal name or ID of the Image area and Y is the publically accessible Image URL

Note In both cases, if  X or Y have any spaces or other special characters, they must be encoded.

Note Names are case sensitive.

Examples

https://g3d-app.com/s/app/acp3_2-staging/en_GB/default.html#p=1429904&r=2d-canvas&state[text_areas][Forename][text]=Custom%20Gateway

https://g3d-app.com/s/app/acp3_2-staging/en_GB/default.html#p=1407012&r=2d-canvas&ddp=1407934&state[aspect][Material][option]=GV

https://g3d-app.com/s/app/acp3_2-staging/en_GB/default.html#p=1407012&r=2d-canvas&ddp=1407934&state[aspect][Material][option]=SV


Availability

  • State URLs are a part of the core software and can therefore be used in any v3 app that has been updated to the latest version.