|
How do I protect my email address from spammers?
The following code will look
like a normal link to customers, but will protect your email
address:
<script type=text/javascript>
var _u = "sales";
var _d = "domain.co.uk";
var _l = _u + "@" + _d;
var _m = "click to email us";
document.write("<a href='mailto:"+_l+"'>"+_m+"</a>");
</script>
Change the 'sales' and 'domain.co.uk' to your own email address.
|
|
I want my customers to be able to link directly from one section
to the section next to it (and back again). How do I do this?
You can set
links to the next and previous sections on your page by inserting
the 'PrevNextSectionLink' layout selector into your layout twice.
For one of them use the fixed layout of 'Link to Previous Section'
and the other should use the 'Link to Next Section' fixed layout.
To do this just start typing the name of the layout selector
and a quick menu will appear with the variable listed. Press
the 'tab' key to insert it. Then right click on the selector
and choose 'Edit Appearance'. Set the 'Use fixed layout' option
to the required layout.
If you want to change the link text to 'Next' and 'Previous'
instead of the section name then click on the link in the preview
page (Design tab) to display the code and change the 'SectionNamePrev'
variable to the appropriate text (depending on which one you
clicked on). |
|
How do I change the section list in the Smart/Best Seller theme
to only show top-level sections?
On the 'Design' tab, click on the 'Design
Tree' and highlight the 'Best Seller Brochure Sidebar' layout.
In the code view search for the 'SiteMapSectionList' variable
and replace it with the ''
variable. |
|
How
could I add a warning to my site that tells people whether their
order will be sent the same day?
Simply place the following code into
your Product Layout where you want the message to appear:
<script language=JavaScript>
now = new Date();
if ( now.getHours() >= 16 ) document.write('<font color=red>Warning
text here</font>');
</script>
In the above example, the cut-off time is 4pm - 16.00. If you
want a different time, change the '16' to another number on
the 24 hour clock.
You can also put this code into the Overall Page Layout for
the store.
|
|
How
can I show the 'Last Updated Date' on the product pages?
You can show this
date by placing some Java Script into the layout of where you
want it to appear
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!-Begin
var dateObj = new Date(document.lastModified)
document.write("Last Updated: " + dateObj.toLocaleString());
// End -->
</SCRIPT>
The above will print the date and time adjusted to the viewers
local time. To show the time in UTC format, replace the toLocale
with toUTC.
|
|
How
do I disable / edit the "Unregistered customers may shop here"
text and hyperlink on the login page within Business?
Select Design | Text and
use the 'Go to' button to locate Phase -1, ID 206. You can edit
the text as required, the %s is a place holder for the pge link
for unregistered customer. To disable the link completeley,
select Settings | Business Settings | Ordering and untick 'Allow
Orders from Unregistered Customers'. Alternativeley you can
modify the link so that potential customers can send an email
to request an account. Replace the %s in the prompt with 'mailto:xxxxx',
where xxxxx is your email address. |
|
How
do I remove the image to the side of the navigation bar in the
'Retail' theme?
Click on the 'Design' tab and then on the 'Design Tree' tab
at the bottom of the screen. Select the layout at the top of
the tree (it is 'Works best with Retail' by default). In the
code window search for:
<td valign="top">
<img src="theme_left_bar.gif" alt="Left bar graphic" />
</td>
Comment this out so it looks like:
<!-- <td valign="top">
<img src="theme_left_bar.gif" alt="Left bar graphic" />
</td> --> |
|
How
do I go about removing the navigation from the bottom of each
page?
In the 'Design' tab select the 'Design tree' and highlight the
'Basic Footer Area' layout. In the code window locate the 'NavigationBar'
variable and comment it out so it looks like |
|
How
do I remove the text from the navigation items?
Go to 'Settings | Site Options
| Layouts' tab and change the 'Navigation Bar Layout' to the
appropriate one. |
|
Can
I create links for customers to save or retireve their shopping
carts/lists?
Place the following code in your overall layout where you want
the links to appear:
<A HREF="<actinic:variable name="SaveCartUrl" />"><FONT
FACE=ARIAL SIZE=-1><I><B>Save Shopping List</B></I></FONT></A>
<A HREF="<actinic:variable name="RestoreCartUrl" />"><FONT
FACE=ARIAL SIZE=-1><I><B>Load Shopping List</B></I></FONT></A>
|
|
I
want my section images to rollover (change) when my customers
move their mouse over them.
To do this you will have to create a new user-definable variable
called 'AltCartButtonImage' and a new layout for 'add to cart
button', which includes the rollover code.
1. Go to 'Design | Library | Variables' and right-click on the
'Product' group. Select 'New Variable'.
2. Give the variable a name of 'AltCartButtonImage' and enter
a prompt of 'Alternative Cart Button Image'. Set 'Place of Setting'
as 'Site' and set the 'Tab Name' as 'General'.
De-select the 'Allow <Use Parent> as an Option' checkbox
and under 'Type' select 'Filename'. Select the 'Allow Empty
Values' checkbox.
3. Click 'OK' and switch to the 'Layouts' tab of the library.
4. Locate the 'Add to Cart Button' group at the top of the library.
5. Right-click on 'Add To Cart Button Image' and select 'New
Layout'.
6. Call it 'Rollover Add To Cart Button' and click 'OK'.
7. Now edit the code of the layout, and change it to look like
the following:
Here's some code to copy and paste:
<input type="image"
src="<actinic:variable name="CartButtonImage" />"
name="_<actinic:variable name="ProductReference" />"
alt="Add to Cart"
onMouseOver="src='<actinic:variable name="AltCartButtonImage"
/>' "
onMouseOut="src='<actinic:variable name="CartButtonImage"
/>' "
/>
8. Click 'OK' and then close the library.
You can now go to 'Settings | Site Options | General' and enter
a filename for 'Alternative Cart Button Image'. Then all you
need to do is change the 'Add To Cart Button Layout' to 'Rollover
Add To Cart Button' and you will have a working cart button
with rollovers. |
|
How
do I disable scroll bars appearing in my popup windows?
The popup window
is displayed by the Java Script function ShowPopUp in actiniccore.js.
The default settings for the popup window are scrollbars=yes
and resizable=yes. This instructes the browser to show scroll
bars if required. NS7 will not show the scrollbars if they are
not required however IE6 will always show the scrollbars albeit
disabled.
Disable the scrollbars completely by changing scrollbars to
scrollbars=no in the ShowPopUp function in actiniccore.js and
updating the site. |
|
How
do I put html into my product description? (for extra images
etc)?
It is possible insert raw HTML code into the product full description
field by embedding the HTML code within special escape characters
which are !!< and >!! |
|
The
mini-cart displays totals that are inclusive of the default
shipping and handling charges although the customer has not
selected his preferred shipping method. How can I change the
way the mini-cart displays the cart total?
To be able to change the mini-cart
'total' display you will have to edit ActinicOrder.pm
Search for 'sub GenerateCartCookie'
Scroll down untill you see...
my $nTotal = $Response[6];
$Response is an array which contains the following values
2 - sub total
3 - shipping
4 - tax 1
5 - tax 2
6 - total
7 - tax 1 on shipping
8 - tax 2 on shipping
9 - handling
10 - tax 1 on handling
11 - tax 2 on handling
Normal reported value is total(6).
For example, you may want the mini-cart to display the cart
total including tax but excluding shipping and handling charges.
To do this excluding shipping(3) and handling(9) alone may not
be enough, it may also be necessary to exclude the tax on shipping(7,
8) and handling(10, 11) in which case...
Change the line...
my $nTotal = $Response[6];
to read..
my $nTotal = $Response[2] + $Response[4] + $Response[5] - $Response[7]
- $Response[8] - $Response[10] - $Response[11];
( this all needs to be on one line )
Save and exit, update the site.
This will now display the cart sub total plus tax in the mini
cart display, without bringing in shipping and handling. With
the above example shipping and handling will never display in
the mini-cart, this will however not effect the normal checkout
process where the cart will calculate and display the correct
values.
Actinic is not able to provide any detailed support for script
changes made. If you find that there is a problem, an original
copy of the script can be found within the 'Original' folder
in your installation directory. Copy this into your site folder.
|
|
How
can I include thumbnail product images into the shopping cart?
t is possible
to include the Actinic 'thumbnail images' ('Thumbnail Image'
field in the 'General tab of your products) within the shopping
cart next to the product name.
To do this, include the following code into the 'Cart Product
Details' layout, which is in the 'Shopping Cart Product Details'
group in 'Design | Library'. Make sure it goes between <Actinic:XMLTEMPLATE
NAME="ProductLine"> and its equivalent closing XML tag: </Actinic:XMLTEMPLATE>:
Here is some code to copy and paste:
<Actinic:REMOVE TAG="ImageLine">
<img src="<actinic:variable name="Thumbnail" />" <actinic:variable
name="ThumbnailSize" /> />
</Actinic:REMOVE> |
|
How
do I change the form background colour?
Select Design | Themes | Advanced
Theme Configuration | Color Scheme, set the required Form Background
colour and click Select. |
|
How
do I change the font on the bounce page between the confirm
and checkout page?
On the Design Tab use the 'Select Page Type' drop-down to display
the 'Bounce Page', highlight the text and using the Font color
dropdown in the menu bar above it select colour of choice |
|