Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Custom Notification at Check out based on custom field value

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-28-2009, 10:34 AM
 
matallen matallen is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 78
 

Default Custom Notification at Check out based on custom field value

Okay so I have a store where I have perishable goods that require additional shipping/box charges. These charges are only applied on the first item of this type order (ie: if you order 5 different perishable goods you only get charged the one box fee). I'd like an automated way to do this but I have yet to figure out how with the current cart.

I've settled on the fact that I could just have a message pop up at checkout saying that they need to purchase this special shipping etc when they have one of these items. I figured I could just create a custom field with a boolean value 'T' or 'F' that would designate whether that message was displayed or not. Does this make sense?

How do I go about doing this? Any examples anywhere of something similar?

Thanks in advance!
__________________
Matt Allen
Xcart Gold v4.2.2
LINUX - Apache
PHP 5.2.9 / MySQL 5.0.81-community
Reply With Quote
  #2  
Old 08-31-2009, 05:41 AM
 
matallen matallen is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 78
 

Default Re: Custom Notification at Check out based on custom field value

Nobody?
__________________
Matt Allen
Xcart Gold v4.2.2
LINUX - Apache
PHP 5.2.9 / MySQL 5.0.81-community
Reply With Quote
  #3  
Old 08-31-2009, 05:56 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Custom Notification at Check out based on custom field value

Admin -> Inventory category/box -> Shipping markups.
Alternatively, you can make new shipping methods and apply it to only those.
__________________
- Shane Munroe
Reply With Quote
  #4  
Old 08-31-2009, 07:02 AM
 
matallen matallen is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 78
 

Default Re: Custom Notification at Check out based on custom field value

These will affect the whole order whether they order a perishable item or not - right? I need a way to add a flat fee if they select 1 or more perishable items - any perishable item of any quantity will add the same flat rate to the entire order.

ex: the flat rate is $40.
item(a) - perishable
item(b) - perishable
item(c) - not perishable


If they order item(a)x3 and item(b)x1 and item(c)x1 the shipping for the entire order would be the FedEx actual shipping cost for item(c) + $40.

If they order item(c) x 2 it would only be the actual shipping cost of item(c).

If they order item(a) x 20 and item(b) x 5 the shipping cost would be $40.

Does that make sense?
__________________
Matt Allen
Xcart Gold v4.2.2
LINUX - Apache
PHP 5.2.9 / MySQL 5.0.81-community
Reply With Quote
  #5  
Old 08-31-2009, 08:40 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Custom Notification at Check out based on custom field value

If you setup a new shipping method and add a fee to it, it should work the way you want.
Ex:

USPS Express - $30 (standard shipping method in xcart, cost is made up)
USPS Express with Perishable - $70 (your custom method which would be the standard cost of $30 + the $40)

Not quite sure how to force a certain shipping method though. This would also effect the entire order, so the customer would need to know its a perishable and select the perishable shipping method. If the order has non-perishable, it would still tack on the price as long as they select the method.
__________________
- Shane Munroe
Reply With Quote
  #6  
Old 09-02-2009, 06:41 AM
 
matallen matallen is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 78
 

Default Re: Custom Notification at Check out based on custom field value

Thanks! I don't think this really helps much as I'd have to have two "versions" of each shipping type and it would still require the user to "select" that shipping type. Any coding ideas??
__________________
Matt Allen
Xcart Gold v4.2.2
LINUX - Apache
PHP 5.2.9 / MySQL 5.0.81-community
Reply With Quote
  #7  
Old 09-02-2009, 06:47 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Custom Notification at Check out based on custom field value

don't know if this helps, if you've got the altered cart on sale module, you might be able do it with that, I know it sounds weird, but you can create a new product called 'Perishable shipping' and a $40 cost, then set a sale that auto adds it to the cart when certain products are ordered. It would be a lot easier if all the perishables are in certain categories, and maybe depends on how many products you've got,
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #8  
Old 09-02-2009, 06:58 AM
 
matallen matallen is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 78
 

Default Re: Custom Notification at Check out based on custom field value

Quote:
Originally Posted by amy2203
don't know if this helps, if you've got the altered cart on sale module, you might be able do it with that, I know it sounds weird, but you can create a new product called 'Perishable shipping' and a $40 cost, then set a sale that auto adds it to the cart when certain products are ordered. It would be a lot easier if all the perishables are in certain categories, and maybe depends on how many products you've got,

Okay I'm intrigued! Here's exactly what I'm doing.

I sell live poison dart frogs and supplies. If someone buys one ore more frogs I charge a flat $40 shipping fee to anywhere in the country. The frogs could easily be placed in the same category if that is required. I only have maybe 100 total items in my shop. So does this add the "Perishable Shipping" only once per order no matter how many frogs and types of frogs are added? Where can I read more about this? Thanks so much for replying everyone!
__________________
Matt Allen
Xcart Gold v4.2.2
LINUX - Apache
PHP 5.2.9 / MySQL 5.0.81-community
Reply With Quote
  #9  
Old 09-02-2009, 08:22 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Custom Notification at Check out based on custom field value

in the AC onsale module, you can set up sales that are dependant on products purchased, so you could say that if they order something from the 'perishable' category, the perishable shipping products gets added to the cart (I think). It would be added as a product not a shipping method, so then your standard shipping charges/methods would apply.

It might take a bit of modifying, speak to Bill at Altered Cart.

As a bonus you'd also have a great sales/offer system!
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:00 AM.

   

 
X-Cart forums © 2001-2020