Is there a token similar to %basketprice_nochange% for the tax and shipping prices. Looking to have the boxes not be editable unless under a specific login.
There isn't. However, you can accmplish the same thing by adding a conditional to the POM template to display the editable field only if a certain login is used, otherwise, just display the amount. The editable box is displayed with the token:
%shippingbox%
and the shipping amount by itself with:
%shippingamount% (or %shippingamountF% formatted)
The user name (i.e. the user login) can be displayed with
%username%
So, you could make the display of the shipping amount conditional on a particular admin, say "bob" with:
%begin_if|'%username%' EQ 'Bob'|%
%shippingbox%
%else%
%shipppingamountF%
%end_if%
The hidden field is necessary to carry the shipping amount forward with the form.
you could do this same thing for several different users by adding to the conditional:
%begin_if|('%username%' EQ 'Bob') OR ('%username%' EQ 'Bill')|%
%shippingbox%
%else%
%shipppingamountF%
%end_if%
Last update: 2007-11-20 14:37
Author: Thor
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
- Is there any way to look up a customer's ... (2008-08-06 18:04)
- I am looking for a module that will allow ... (2008-08-06 18:00)
Top 10 
- 2843 views:
Adding Tokens to Evaluate Expressions - 2779 views:
Is there a way to "Limit" the number of ... - 2723 views:
Why won't you call me for technical support? I ... - 2615 views:
Are license keys valid for more than one store? ... - 2509 views:
I'm trying to enter a license key and get ... - 2495 views:
How do I install a module? - 2346 views:
How do I check for a module upgrade? - 2312 views:
How can display and change the parameters of an ... - 2160 views:
The total on my checkout pages are not correct. ... - 1973 views:
I have select and radio type attributes in my ...
















