Copied from <https://ses-imagotag.ideas.aha.io/ideas/STD-I-130>
You can use Ctrl+E to review the XML code. You can also save out the XML to a file then cut/paste the particular component into a new tag then resize if needed. It would be nice to have a USER section in the left margin components menu. If one could create a field then set all the parameters style, javascript, display conditions and then drag that field into the USER components and save it. I think of price first for consistency across tags. Other uses is multi field in one element, Pack/Size. Once you get a component library you can create tags quickly and have consistency across tags.
Hi Alexandre,
This portal is not meant for Studio ideas.
We will not implement new functionality into our current Studio so we will not implement this idea. However, following yesterday's meeting, I have noted your points and I hope that I'll be able to consult you soon again on this topic.
BR,
Emmanuelle
Any update on this?
Hi Emmanuelle,
The need (also asked by 2 other partners) is to be able to save a <container> (not the whole template) to reuse it in the project displays menu. Something similar to the preformatted pricing fields, but with fields created by the user.
Hi Emmanuelle and Team,
let's use an example. In the Studio designer, there is the price fields which is already "designed" (preformated). The request is to save such fields build by the user the reuse it in different template.
We have many customers that use a specific display format in HTML when it comes to the price. We would like to be able to save that <container> as default and reusable field like it is the case in the "price examples" section of the designer.
Here's the kind of logic we have for such customer:
function value(article, label) {
var price = parseFloat(article.price).toFixed(2);
var cents = String.fromCharCode(162);
var priceArr = price.split(".");
var priceInt = priceArr[0];
var priceDec = priceArr[1];
if(price<1 && price>0.01){
return '<font face="arial">'+'.'+priceDec+'</font>';
}else{
return '<font face="arial">'+priceInt+'.'+priceDec+'</font>';
}
}
Hi Alexandre,
We did not understand the use case for this.
Can you please explain to us the customers, needs and the value ?
BR,
Emmanuelle