PDA

View Full Version : Upsell during checkout??


theglowcompany
28-Apr-2003, 08:01 PM
Hi,

Can anybody tell me if it is possible within standard v6 to ask a customer if they would like to buy another item during checkout. This may be simply text with a tick box.

My idea is, well its an old idea, that once someone has decided to buy something to offer another product - probably discounted, but during the checkout process.

I use world pay to process online orders

Any feedback greatly appreciated - thanks for reading:)

Regards,

James Cameron
The Glow Company UK
http://www.theglowcompany.co.uk

lee.harris
29-Apr-2003, 06:33 AM
In fact, how about upsell/crossell in the catalogue?

We'd love to see this in a future release (soon). It would stop us from moving to something more datadriven like OSC on our next store rewrite.

cdicken
29-Apr-2003, 07:29 AM
We are exploring a new feature for the next release whereby if you buy a certain amount of a certain type of product, you can qualify for receiving another product free. It will basically be an extension of the discounting introduced in 6.1.

With regards to the initial question, take a look at this thread (http://community.actinic.com/showthread.php?s=&threadid=1060) and see if it gives you any ideas.

theglowcompany
29-Apr-2003, 07:53 PM
Thanks Chris, but the link wouldnt let me view it - said I didnt have authority etc. (not an error). Please klet me know how to view it or what it is

As far as qualifying for a free gift - thats ok, but the real goal of Actinic customers is to sell - & an upsell ismore desirable

In the meantime if anybody else has any ideas with regrad to offering a product midway through the order process or any upsell ideas I'd really appreciate them.

garyhay
29-Apr-2003, 08:44 PM
I am sure you could use the prompt on the confirm page to produce a link that says something like "This product may also interest you".

Too busy to try it out but it may work

cdicken
01-May-2003, 07:44 AM
Sorry about that - the thread was in Actinic Developers.

Here is the text.....


The only thing I can think of is having a JavaScript expression that acts on the 'Items' value in the shopping cart summary and displays a message accordingly.

This would act on all products though rather than a distinct sub-set.

I have knocked up a very quick and dirty sample code (based on the stock level example in the AUG) which does this:

Put this into the <HEAD> section of your Act_Primary.html template below any other JavaScript you have in there...

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function FreeGift(pItem)
<!--
{
var strIDs = ''
{
if (pItem >= 20)
{
strIDs = 'You have qualified for a free gift!'
}
else
{
strIDs = ''
}
}
return strIDs
}
//-->
</script>

Insert this code where you want the message to appear....

<script language="Javascript">
document.write(FreeGift(getCartItem(3)))
</script>

theglowcompany
01-May-2003, 09:13 PM
thanks Chris - a bit beyond my skills & not quite what I'm after - but thanks all the same

Let me know if anything along these lines pops up

Or do you have any ideas of how to increase sales using the software?

thanks

BSO
23-Aug-2003, 10:52 PM
Hi there,
I'm just trying out this bit of script, just wondered if and how you would modify it to look at the cart value rather than number of items added to cart.

Any help appreciated.

Simon

cdicken
26-Aug-2003, 01:06 PM
I'm afraid not.

If you use getCartItem(1) instead of getCartItem(3) then you will include an HTML-encoded price into the page - but I do not have the javascript expertise to de-code this into something that could be acted on with a JavaScript formula.

Perhaps someone else will be able to comment.

Pneumatus
26-Aug-2003, 02:14 PM
<-- Raises hand

We have the technology, we can re-encode it :D

Ok, Here is a modified version of the code from Chris to check for a certain order value...

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function FreeGift(num)
<!--
{

var priceLevel = '50.99' // This is the price to qualify
var strIDs = ''

// Process the recieved number into a true number

num = num.toString().replace(/\£|\,/g,'');
num = num.replace("&amp;#163;",""); // Strip £ sign
num = num.replace("&amp;#44;",""); // Strip commas
num = num.replace("&amp;#46;","."); // Replaces html periods with true periods


{
if (num >= 20)
{
strIDs = 'You have qualified for a free gift!'
}
else
{
strIDs = ''
}
}
return strIDs
}
//-->
</script>

To use this you can include

<script language="Javascript">
document.write(FreeGift(getCartItem(1)))
</script>

Wherever you want the message to be displayed.

I haven't had a chance to test it so let me know if it doesn't work...

cdicken
26-Aug-2003, 02:43 PM
Pretty good.

But shouldn't

if (num >= 20)

read

if (num >= priceLevel)

or something?

Pneumatus
26-Aug-2003, 02:59 PM
Chris, that's exactly right - I guess thats' what happens when you re-use code and forget you've added variables! I can't edit the post anymore so if you want to change it i'd appreciate it :D

BSO
26-Aug-2003, 05:17 PM
Hi Guys,
Have given the revised code a try and unfortunately it comes up with an error.

Placed the scripts in place of the originals (made the correction as above also).

Just thought I should let you know

All the best

Simon

Pneumatus
26-Aug-2003, 06:26 PM
I have just tested it myself and it was ok. Can you ensure that you have included actinicextras.js and the script from above with the function defined in within your <head> tags.

BSO
26-Aug-2003, 09:00 PM
Hi there,
I have done the rest but please could you explain what you mean by "Can you ensure that you have included actinicextras.js"

That file is in use but I havent done anything to it, should I?

Thanks

Simon

Pneumatus
26-Aug-2003, 10:05 PM
No, as long as it is included in the head tags i.e.:

<SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js"></SCRIPT>

Then it should be ok. Have you got a page with the error on that I can look at?

BSO
27-Aug-2003, 03:50 AM
Sorry to waste your time,
You are right it does work and it works well.
I have just re-checked all items in my Act_primary and the problem was that I had somehow lost a ---> from one of my comments.

Going to play around with the positioning of the message when I get a chance but works without a problem.

Thanks for your help

Simon

Pneumatus
27-Aug-2003, 11:02 AM
Glad you got it working :D