Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 05-01-2009 16:39:18

dollyseller
Member
From: Dover, Kent, UK
Registered: 03-05-2006
Posts: 106
Website

Possible to have "make me an offer" feature?

Hi
Two questions:

I'd love to implement a feature on my site whereby customers could make me an offer for certain specified items - I feel that this would be a welcomed feature in the middle of a worldwide credit crunch, and might even mean a few more sales (which is what it's all about, after all!). I think it would work really well with my particular customer base.
Is this too complex - or even possible - to set up within CCP? Or would the only way be to put an email link button in manually against the specified items where I wanted this feature, so that they email me their offer, I review it, email them back, remove the item from sale, send a manual invoice, etc? That would probably be far too time consuming, plus I might get 20 similar offers, and I haven't the time or desire to reply to them all individually! Automatic uptake of the offer, given set price parameters, would be preferable!

Also, is there a way that I can amend my custom script (or write a new one) to offer only one postage method for items above a certain value? At the moment, I have 1st Class Recorded Delivery or Special Delivery as options for every (UK bought) item, but an order that totals over £39.00 should be sent via Special Delivery only, as Royal Mail only cover me for up to £39 via Recorded Delivery if the item is damaged or lost. E.g. if a customer buys x item at £42.00, I want it to *only* give the option for Special Delivery - I need CCP to recognise that, as the value is over £39.00, it shouldn't give the Recorded Delivery option.
I don't expect I've explained that very clearly, but I hope you get the gist of what I'm after!

Any comments would be appreciated.


Life's too short...so get over it!

Offline

 

#2 05-03-2009 21:54:23

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Possible to have "make me an offer" feature?

Hi Dolly,

#1 - No, not easily... that sounds like a pretty involved custom mod.  Contact Stephen at CartMod.com for custom work if the time and money are justified for your business.

#2 - Yes, that should be pretty straightforward.  Please post your shipping script here and I'll have a look.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#3 05-10-2009 05:45:40

dollyseller
Member
From: Dover, Kent, UK
Registered: 03-05-2006
Posts: 106
Website

Re: Possible to have "make me an offer" feature?

Hi Rachael
Yeh, that's what I thought - #1 will have to wait until I win the lottery! Lol

Here is my custom shipping script below - just to reiterate, I need any *UK* order totalling over £39.00 to show only the "Special Next Day Delivery" option. (Reason for my request is that, with the UK Royal Mail, if my customers opt for *recorded* delivery, and their goods are over £39, it is ME that  would have to foot the bill for anything over and above £39 if their item goes lost or gets damaged in the post).

Code:

my $ship_meth_uk_recorded = "UK Recorded Delivery";
my $ship_total_uk_recorded = "0.00";
my $ship_meth_uk_special = "UK Special Delivery";
my $ship_total_uk_special = "0.00";
my $ship_meth_eu = "Airmail Europe";
my $ship_total_eu = "0.00";
my $ship_meth_rw = "Airmail International";
my $ship_total_rw = "0.00";
my $ship_display = "";
my $region = "";
my $country = "";

my @uk_countries = ("United Kingdom Main Land","Highlands \& Islands Scotland","Isles Of Scilly","Isle of Man","Channel Islands","Northern Ireland");
my @eu_countries = ("Austria","Balearic Islands", "Belgium","Bulgaria","Canary Islands","Croatia","Cyprus","Czech Republic","Denmark","Estonia","Finland","France","Germany","Gibraltar","Greece",
"Hungary","Iceland","Ireland","Italy","Malta","Netherlands","Norway","Poland","Portugal","Spain","Sweden", "Switzerland","Turkey");  # Add all appropriate European countries

foreach $country (@uk_countries) {
if ($country eq $fd_trackitem_shipcountry) {
$region = "uk";
}
}

if ($region eq "") {
foreach $country (@eu_countries) {
if ($country eq $fd_trackitem_shipcountry) {
  $region = "eu";
}
}
}
if ($item_total_weight >= 0.00 && $item_total_weight <=60) {
$ship_total_uk_recorded = 2.15; 
$ship_total_uk_special = 5.95;
$ship_total_eu = 2.25;
$ship_total_rw = 2.55;
}elsif ($item_total_weight >61 && $item_total_weight <=99) {
$ship_total_uk_recorded = 2.95; 
$ship_total_uk_special = 5.95;
$ship_total_eu = 2.25;
$ship_total_rw = 2.55;
}elsif ($item_total_weight >100 && $item_total_weight <= 249) {
$ship_total_uk_recorded = 3.85; 
$ship_total_uk_special = 5.95;
$ship_total_eu = 2.65;
$ship_total_rw = 4.25;
}elsif ($item_total_weight >250 && $item_total_weight <= 499) {
$ship_total_uk_recorded = 4.25; 
$ship_total_uk_special = 6.65;
$ship_total_eu = 4.50;
$ship_total_rw = 7.50;
} elsif ($item_total_weight > 500 && $item_total_weight <= 749) {
$ship_total_uk_recorded = 4.75; 
$ship_total_uk_special = 7.25;
$ship_total_eu = 6.50;
$ship_total_rw = 10.25;
} elsif ($item_total_weight > 750 && $item_total_weight <= 999) {
$ship_total_uk_recorded = 4.85; 
$ship_total_uk_special = 7.25;
$ship_total_eu = 6.95;
$ship_total_rw = 12.95;
} elsif ($item_total_weight > 1000 && $item_total_weight <= 1249) {
$ship_total_uk_recorded = 5.50; 
$ship_total_uk_special = 7.25;
$ship_total_eu = 10.25;
$ship_total_rw = 12.95;
} elsif ($item_total_weight > 1250 && $item_total_weight <= 1999) {
$ship_total_uk_recorded = 7.50; 
$ship_total_uk_special = 7.25;
$ship_total_eu = 12.95;
$ship_total_rw = 14.75;
} else {
$ship_total_uk_recorded = 9.00; 
$ship_total_uk_special = 12.75;
$ship_total_eu = 12.95;
$ship_total_rw = 14.75;
}

if ($region eq "uk") {  ### Display shipping options for UK

$ship_total_uk_recorded = sprintf("%.2f", $ship_total_uk_recorded);
$ship_total_uk_special = sprintf("%.2f", $ship_total_uk_special);

$custom_code_result .= "<INPUT TYPE=\"RADIO\"CHECKED NAME=\"shipinfo-$shipid\" VALUE=\"$ship_meth_uk_recorded:$ship_total_uk_recorded\"><FONT FACE=\"$html_base_font_face\" SIZE=\"$html_base_font_size\" COLOR=\"$html_base_font_color\"> $ship_meth_uk_recorded \- $currency_symbol$ship_total_uk_recorded<BR></FONT>\n";
$custom_code_result .= "<INPUT TYPE=\"RADIO\"CHECKED NAME=\"shipinfo-$shipid\" VALUE=\"$ship_meth_uk_special:$ship_total_uk_special\"> <FONT FACE=\"$html_base_font_face\" SIZE=\"$html_base_font_size\" COLOR=\"$html_base_font_color\"> $ship_meth_uk_special \- $currency_symbol$ship_total_uk_special<BR></FONT>";

} elsif ($region eq "eu") {  ### Display shipping options for EU

$ship_total_eu = sprintf("%.2f", $ship_total_eu);
$ship_display = "$ship_meth_eu \- $currency_symbol$ship_total_eu";

$custom_code_result = "<INPUT TYPE=\"RADIO\"CHECKED NAME=\"shipinfo-$shipid\" VALUE=\"$ship_meth_eu:$ship_total_eu\"> <FONT FACE=\"$html_base_font_face\" SIZE=\"$html_base_font_size\" COLOR=\"$html_base_font_color\"> $ship_display<BR></FONT>";

} else {  # Display shipping options for Rest of World

$ship_total_rw = sprintf("%.2f", $ship_total_rw);
$ship_display = "$ship_meth_rw \- $currency_symbol$ship_total_rw";

$custom_code_result = "<INPUT TYPE=\"RADIO\"CHECKED NAME=\"shipinfo-$shipid\" VALUE=\"$ship_meth_rw:$ship_total_rw\"><FONT FACE=\"$html_base_font_face\" SIZE=\"$html_base_font_size\" COLOR=\"$html_base_font_color\"> $ship_display<BR></FONT>";

}

Thanks for taking the time to have a look,
dollyseller


Life's too short...so get over it!

Offline

 

#4 05-10-2009 08:20:50

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Possible to have "make me an offer" feature?

Hi!

That should be a pretty easy change.  I didn't actually test this, but I'm pretty sure it's right.  Give this a try:

Code:

my $ship_meth_uk_recorded = "UK Recorded Delivery";
my $ship_total_uk_recorded = "0.00";
my $ship_meth_uk_special = "UK Special Delivery";
my $ship_total_uk_special = "0.00";
my $ship_meth_eu = "Airmail Europe";
my $ship_total_eu = "0.00";
my $ship_meth_rw = "Airmail International";
my $ship_total_rw = "0.00";
my $ship_display = "";
my $region = "";
my $country = "";

my @uk_countries = ("United Kingdom Main Land","Highlands \& Islands Scotland","Isles Of Scilly","Isle of Man","Channel Islands","Northern Ireland");
my @eu_countries = ("Austria","Balearic Islands", "Belgium","Bulgaria","Canary Islands","Croatia","Cyprus","Czech Republic","Denmark","Estonia","Finland","France","Germany","Gibraltar","Greece",
"Hungary","Iceland","Ireland","Italy","Malta","Netherlands","Norway","Poland","Portugal","Spain","Sweden", "Switzerland","Turkey");  # Add all appropriate European countries

foreach $country (@uk_countries) {
if ($country eq $fd_trackitem_shipcountry) {
$region = "uk";
}
}

if ($region eq "") {
foreach $country (@eu_countries) {
if ($country eq $fd_trackitem_shipcountry) {
  $region = "eu";
}
}
}
if ($item_total_weight >= 0.00 && $item_total_weight <=60) {
$ship_total_uk_recorded = 2.15; 
$ship_total_uk_special = 5.95;
$ship_total_eu = 2.25;
$ship_total_rw = 2.55;
}elsif ($item_total_weight >61 && $item_total_weight <=99) {
$ship_total_uk_recorded = 2.95; 
$ship_total_uk_special = 5.95;
$ship_total_eu = 2.25;
$ship_total_rw = 2.55;
}elsif ($item_total_weight >100 && $item_total_weight <= 249) {
$ship_total_uk_recorded = 3.85; 
$ship_total_uk_special = 5.95;
$ship_total_eu = 2.65;
$ship_total_rw = 4.25;
}elsif ($item_total_weight >250 && $item_total_weight <= 499) {
$ship_total_uk_recorded = 4.25; 
$ship_total_uk_special = 6.65;
$ship_total_eu = 4.50;
$ship_total_rw = 7.50;
} elsif ($item_total_weight > 500 && $item_total_weight <= 749) {
$ship_total_uk_recorded = 4.75; 
$ship_total_uk_special = 7.25;
$ship_total_eu = 6.50;
$ship_total_rw = 10.25;
} elsif ($item_total_weight > 750 && $item_total_weight <= 999) {
$ship_total_uk_recorded = 4.85; 
$ship_total_uk_special = 7.25;
$ship_total_eu = 6.95;
$ship_total_rw = 12.95;
} elsif ($item_total_weight > 1000 && $item_total_weight <= 1249) {
$ship_total_uk_recorded = 5.50; 
$ship_total_uk_special = 7.25;
$ship_total_eu = 10.25;
$ship_total_rw = 12.95;
} elsif ($item_total_weight > 1250 && $item_total_weight <= 1999) {
$ship_total_uk_recorded = 7.50; 
$ship_total_uk_special = 7.25;
$ship_total_eu = 12.95;
$ship_total_rw = 14.75;
} else {
$ship_total_uk_recorded = 9.00; 
$ship_total_uk_special = 12.75;
$ship_total_eu = 12.95;
$ship_total_rw = 14.75;
}

if ($region eq "uk") {  ### Display shipping options for UK

$ship_total_uk_recorded = sprintf("%.2f", $ship_total_uk_recorded);
$ship_total_uk_special = sprintf("%.2f", $ship_total_uk_special);

if ($item_subtotal < 39.00) {

$custom_code_result .= "<INPUT TYPE=\"RADIO\"CHECKED NAME=\"shipinfo-$shipid\" VALUE=\"$ship_meth_uk_recorded:$ship_total_uk_recorded\"><FONT FACE=\"$html_base_font_face\" SIZE=\"$html_base_font_size\" COLOR=\"$html_base_font_color\"> $ship_meth_uk_recorded \- $currency_symbol$ship_total_uk_recorded<BR></FONT>\n";

} ##endif

$custom_code_result .= "<INPUT TYPE=\"RADIO\"CHECKED NAME=\"shipinfo-$shipid\" VALUE=\"$ship_meth_uk_special:$ship_total_uk_special\"> <FONT FACE=\"$html_base_font_face\" SIZE=\"$html_base_font_size\" COLOR=\"$html_base_font_color\"> $ship_meth_uk_special \- $currency_symbol$ship_total_uk_special<BR></FONT>";

} elsif ($region eq "eu") {  ### Display shipping options for EU

$ship_total_eu = sprintf("%.2f", $ship_total_eu);
$ship_display = "$ship_meth_eu \- $currency_symbol$ship_total_eu";

$custom_code_result = "<INPUT TYPE=\"RADIO\"CHECKED NAME=\"shipinfo-$shipid\" VALUE=\"$ship_meth_eu:$ship_total_eu\"> <FONT FACE=\"$html_base_font_face\" SIZE=\"$html_base_font_size\" COLOR=\"$html_base_font_color\"> $ship_display<BR></FONT>";

} else {  # Display shipping options for Rest of World

$ship_total_rw = sprintf("%.2f", $ship_total_rw);
$ship_display = "$ship_meth_rw \- $currency_symbol$ship_total_rw";

$custom_code_result = "<INPUT TYPE=\"RADIO\"CHECKED NAME=\"shipinfo-$shipid\" VALUE=\"$ship_meth_rw:$ship_total_rw\"><FONT FACE=\"$html_base_font_face\" SIZE=\"$html_base_font_size\" COLOR=\"$html_base_font_color\"> $ship_display<BR></FONT>";

}

Let me know if you have any problems and I'll give it another look.  All I did was add an if statement so that it only shows the UK Recorded option when the item subtotal is less than 39.  Good luck!


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#5 05-10-2009 16:01:08

dollyseller
Member
From: Dover, Kent, UK
Registered: 03-05-2006
Posts: 106
Website

Re: Possible to have "make me an offer" feature?

Hi Rachael
It's easy when you know how!
Thanks yet again, I will try this out now, but I'm sure it will be spot-on.
Your help, as always, is much appreciated.
Until next time!


Life's too short...so get over it!

Offline

 

#6 06-06-2009 18:44:53

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: Possible to have "make me an offer" feature?

Dollyseller,

We already have a mod that allows you to display a "make us an offer" field on product detail pages where you can pre-set a threshold price and if the offer is above the threshold price then it adds the item to their cart at the offer price and if the offer was too low then it tells them it was too low and to try again.
We have not made this mod available to the public but we have tested it in a live environment and it DOES get used by the customers. We can work up a price for this mod and make it available to the public if you are interested.

-Stephen


Latest CCP 7 XMods Available:


Offline

 

Board footer