Adding custom text to uStore pages.

551 views
Skip to first unread message

vitik

unread,
Jul 22, 2010, 5:32:29 PM7/22/10
to XMPie Interest Group, klif...@ricg.com
Hi group!

For one particular client i need to add custom text to the page where
you finalize your order (the one with a proof and add to cart
buttons). I can't customize this page through the uStore admin nor
through custom skin. If anyone have done anything on this matter or
have ideas on how it could be done without affecting other stores i
would appreciate any input.

Thanks!

Bill

unread,
Jul 23, 2010, 1:31:34 AM7/23/10
to XMPie Interest Group
I don't think that uStore 4 allows the administrator add some text in
the OrderFinalStep page (while it does in the CheckOut,
CheckOutComplete and OrderDetails pages). You could ask your XMPie or
Xerox representative to raise a Feature Request.

As you want your new text to appear only in a single (or some)
store(s), I think the only way is to assign a separate skin to your
store, then edit its CSS (but as you will notice, text addition
through CSS will not be compliant with store localization).

I would use a ":before" or an ":after" pseudo-element, applyed on a
page element, whose ID is only used in the relevant page.

Example:
#ctl00_cphMainContent_mProductPropertiesWrapper_mProductPropertiesWrapperVoidProductCalculationUI_LblNocopiesRecip:before
{
content: "vitik text";
color: #F00;
display:block;

John Barnhart

unread,
Jul 23, 2010, 10:21:02 AM7/23/10
to xmpie...@googlegroups.com
I've done this by adding a product property of type html generic. Then you can put anything you want in the html.

This does show up in the order details product property list, though.

> --
> You received this message because you are subscribed to the Google Groups "XMPie Interest Group" group.
> To post to this group, send email to xmpie...@googlegroups.com.
> To unsubscribe from this group, send email to xmpie-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/xmpie-users?hl=en.
>

Igor Vorobeychik

unread,
Jul 23, 2010, 11:16:40 AM7/23/10
to XMPie Interest Group
Where exactly do you need this text to be on this page.
If it is ok to to be part of the product properties than using generic
HTML control is a way to dod it,if thiis is per user base than generic
HTML will not work as property since it doesn't get userID as
parameter other controls you can get buy (or custom property ) and
using values from the database you can give different message to the
user.
If you need it in the top you can use uStore custom header, and write
control , since control will know what page is it on as well store id
as well userid ..
I worst case you can add placeholder/ control to this page (or to the
master page) and via custom header add text to it, but I need to
double check that.
Igor.

On Jul 23, 10:21 am, John Barnhart <igot...@gmail.com> wrote:
> I've done this by adding a product property of type html generic. Then you can put anything you want in the html.
>
> This does show up in the order details product property list, though.
>
> On Jul 23, 2010, at 1:31 AM, Bill wrote:
>
>
>
> > I don't think that uStore 4 allows the administrator add some text in
> > the OrderFinalStep page (while it does in the CheckOut,
> > CheckOutComplete and OrderDetails pages). You could ask your XMPie or
> > Xerox representative to raise a Feature Request.
>
> > As you want your new text to appear only in a single (or some)
> > store(s), I think the only way is to assign a separate skin to your
> > store, then edit its CSS (but as you will notice, text addition
> > through CSS will not be compliant with store localization).
>
> > I would use a ":before" or an ":after" pseudo-element, applyed on a
> > page element, whose ID is only used in the relevant page.
>
> > Example:
> > #ctl00_cphMainContent_mProductPropertiesWrapper_mProductPropertiesWrapperVo­idProductCalculationUI_LblNocopiesRecip:before
> > {
> >    content: "vitik text";
> >    color: #F00;
> >    display:block;
> > }
>
> > On Jul 22, 11:32 pm, vitik <vmikitc...@ricg.com> wrote:
> >> Hi group!
>
> >> For one particular client i need to add custom text to the page where
> >> you finalize your order (the one with a proof and  add to cart
> >> buttons).  I can't customize this page through the uStore admin nor
> >> through custom skin.  If anyone have done anything on this matter or
> >> have ideas on how it could be done without affecting other stores i
> >> would appreciate any input.
>
> >> Thanks!
>
> > --
> > You received this message because you are subscribed to the Google Groups "XMPie Interest Group" group.
> > To post to this group, send email to xmpie...@googlegroups.com.
> > To unsubscribe from this group, send email to xmpie-users...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/xmpie-users?hl=en.- Hide quoted text -
>
> - Show quoted text -

vitik

unread,
Jul 23, 2010, 11:02:34 AM7/23/10
to XMPie Interest Group
Thanks John!

Your solution worked very well! The text at the top of the page and
i'll see about the order details later. At least i have 2 options to
present.

Best regards,
vt.

On Jul 23, 10:21 am, John Barnhart <igot...@gmail.com> wrote:

vitik

unread,
Jul 23, 2010, 10:48:33 AM7/23/10
to XMPie Interest Group
Thanks Bill!

IMHO that worked out pretty good. Hope client will approve. I
couldn't find a tag to place text on top of the page, but spreading
out text over multiple tags did the trick.

Best regards,
vt.

vitik

unread,
Jul 23, 2010, 2:12:43 PM7/23/10
to XMPie Interest Group
Igor,

I need this text in the same matter you put Step Description in
Customization Wizard. Approaching this by adding generic HTML Product
Property did the trick.

Best regards,
vt.
> > > For more options, visit this group athttp://groups.google.com/group/xmpie-users?hl=en.-Hide quoted text -

Kiks

unread,
Aug 29, 2011, 1:16:22 PM8/29/11
to xmpie...@googlegroups.com
Hi Vitik, I read that you manage in customizing the Ustore Order finalize form.
I've got a customers of mine that asked me something similar: he would like to add other parameters in price calculation.
This is the first time I approach to Ustore, so I understand that I need to add a generic HTML Property to the Products involved.
I do this, but now, where do I have to put my new asp.net form and where is the interface with UStore?

Thanks to everybody,
Kiks

aku...@apps.cierant.com

unread,
Oct 5, 2015, 5:02:02 PM10/5/15
to XMPie Interest Group, klif...@ricg.com
you can do it using your skin and jquery


if (window.location.href.indexOf("CheckOutComplete.aspx") > -1) {

$("#ctl00_cphMainContent_LblMessage").text(function () {
    return $(this).text().replace("We will notify you when your order is ready.", "whatever you would like"); 
});
Reply all
Reply to author
Forward
0 new messages