Re: UnitShopCost

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69126
interpreted = N
texte = I already have this statement in place, but because there's an item in the cart with a UnitShipCost set - it obviously just adds this value to the zero shipcost that I have set in the formulas.db. I guess I can add a minus shipcost to bring the total back to zero - although not tried this yet. Either this, or I need to look at a different way of applying individual shipcost surcharges Mark. On 27 Jun 2007, at 16:34, Donovan Brooke wrote: > Mark Derrick wrote: >> I there way to override the shipping total if an item in the cart >> has a UnitShipCost? >> I use UnitShipCost to add delivery surcharges to certain items in >> our store (larger, heavier items) - but I also need to be able to >> force through a zero shipping charge (when customers want to >> collect) - with items which don't have a unitShipCost value I can >> do this in the formulas.db "shipCost" field (If "ShipVia = >> Collect" then 0.00)- but this doesn't work when an item has a >> unitShipCost. >> Any ideas? >> Thanks. >> Mark. > > UnitShipCost can't be overridden.. but the ShippingTotal can. So, > just use your if statement to set shippingtotal. > > http://webdna.smithmicro.com/ref/pages.html? > context=PurchaseCommand.html > > (the spam filled interactive docs!) > > Donovan > > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE EUCA Design Center > <- Web Development (specializing in eCommerce),-> > <- Desktop Publishing, Print Consulting, Labels -> > <-Glass Products, off-hand Classes/studio rental-> > PH:>(608) 835-2476 > TALK:>http://artglass-forum.com > WEB:> http://www.euca.us & http://www.egg.bz > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: UnitShopCost ( Mark Derrick 2007)
  2. Re: UnitShopCost ( Donovan Brooke 2007)
  3. Re: UnitShopCost ( "Dan Strong" 2007)
  4. Re: UnitShopCost ( Mark Derrick 2007)
  5. Re: UnitShopCost ( Donovan Brooke 2007)
  6. Re: UnitShopCost ( Mark Derrick 2007)
  7. Re: UnitShopCost ( Donovan Brooke 2007)
  8. Re: UnitShopCost ( Mark Derrick 2007)
  9. Re: UnitShopCost ( Donovan Brooke 2007)
  10. UnitShopCost ( Mark Derrick 2007)
I already have this statement in place, but because there's an item in the cart with a UnitShipCost set - it obviously just adds this value to the zero shipcost that I have set in the formulas.db. I guess I can add a minus shipcost to bring the total back to zero - although not tried this yet. Either this, or I need to look at a different way of applying individual shipcost surcharges Mark. On 27 Jun 2007, at 16:34, Donovan Brooke wrote: > Mark Derrick wrote: >> I there way to override the shipping total if an item in the cart >> has a UnitShipCost? >> I use UnitShipCost to add delivery surcharges to certain items in >> our store (larger, heavier items) - but I also need to be able to >> force through a zero shipping charge (when customers want to >> collect) - with items which don't have a unitShipCost value I can >> do this in the formulas.db "shipCost" field (If "ShipVia = >> Collect" then 0.00)- but this doesn't work when an item has a >> unitShipCost. >> Any ideas? >> Thanks. >> Mark. > > UnitShipCost can't be overridden.. but the ShippingTotal can. So, > just use your if statement to set shippingtotal. > > http://webdna.smithmicro.com/ref/pages.html? > context=PurchaseCommand.html > > (the spam filled interactive docs!) > > Donovan > > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE EUCA Design Center > <- Web Development (specializing in eCommerce),-> > <- Desktop Publishing, Print Consulting, Labels -> > <-Glass Products, off-hand Classes/studio rental-> > PH:>(608) 835-2476 > TALK:>http://artglass-forum.com > WEB:> http://www.euca.us & http://www.egg.bz > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Mark Derrick

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Word wrapping (1997) Webcatalog server support (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) The Classifieds template set (2003) Validation (2000) webmerch and serials - almost there (1997) The IBC root beer has arrived! (1997) [WebDNA] Searching within a search on the same database (2013) ReturnRaw and redirect one last question (1997) textarea to page display (1998) Quit revisited (1997) (2000) apostrophe in search item (1997) Need relative path explanation (1997) Nested tags count question (1997) Do not truncate a whole word (2004) Pass Thru Page? (1998) RE: WebCat: Access denied, but why? - The solution. (1997) [WebDNA] version 7.1 on ubuntu apache2 virtual host config (2014) Speed/performance issues using .hdr (1997)