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

make ~ free shipping and tax exempt "yes" by default?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-20-2008, 02:19 AM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default make ~ free shipping and tax exempt "yes" by default?

We have a downloadable product store and these should be marked free shipping and tax exempt 99.9% of the time and what we run into is the designers forget to change this setting; so what we'd like to do is set them as yes by default so if they forget its already done for them.

Otherwise what happens is the cart tries to charge someone for shipping of a downloadable product when the manuf./designer forgets to change this = loss of sales for them and us.


How would I make these set to yes instead of no by default in the admin/provider areas?
__________________
X-Cart Pro 4.0.19; Unix

Other:
XAOM
XOffers
XGift Reg

Other Mods:
Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice
Reply With Quote
  #2  
Old 09-20-2008, 07:19 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

For free shipping...
Choose "search for products" and search for all products (main cat, sub cats, additional cats) and "check all" (or uncheck those that don't get free shipping).
choose "modify selected"...
Check the box next to "free shipping" and change to "yes".. click update.

I think your taxes are still applicable for downloaded products, and local customers should still be paying them. If you don't want to apply taxes to anyone, then simply change the taxes the same way you changed the free shipping by changing the "tax exempt" to "yes".
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 09-20-2008, 01:38 PM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

actually what we want is to have them as the default option when they create a new product in the store - not after they have already added it
__________________
X-Cart Pro 4.0.19; Unix

Other:
XAOM
XOffers
XGift Reg

Other Mods:
Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice
Reply With Quote
  #4  
Old 11-12-2008, 12:17 PM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

anyone ???? please :]
__________________
X-Cart Pro 4.0.19; Unix

Other:
XAOM
XOffers
XGift Reg

Other Mods:
Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice
Reply With Quote
  #5  
Old 02-10-2009, 06:21 PM
 
pfarcus pfarcus is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 179
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

Yes, I'm having this question too.

Have it default to yes in the box instead of no.

pls.pls.

(Amy if you figured it out pls tell me all about it)

Thanks!
__________________
CDSEO PRO
4.1.11 PRO
Dynamic images by xcartmod.com
X-Cart CSSTemplate/Skin for v4.1.11 PRO
Reply With Quote
  #6  
Old 02-11-2009, 04:32 AM
  Holub's Avatar 
Holub Holub is offline
 

X-Adept
  
Join Date: Jan 2008
Posts: 432
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

You should modify /skin1/main/product_details.tpl

Find in this template (line about 281):

Code:
<option value='Y'{if $product.free_tax eq 'Y'} selected="selected"{/if}>{$lng.lbl_yes}</option>

and change it to

Code:
<option value='Y'{if $product.free_tax eq 'Y' || $product.productid eq ""} selected="selected"{/if}>{$lng.lbl_yes}</option>

This allow to assign free tax if new product being added.

Also with shipping, find line ( about 308 ):

Code:
<option value='Y'{if $product.free_shipping eq 'Y'} selected="selected"{/if}>{$lng.lbl_yes}</option>

and change it to

Code:
<option value='Y'{if $product.free_shipping eq 'Y' || $product.productid eq ""} selected="selected"{/if}>{$lng.lbl_yes}</option>

This allow to assign free shipping by default.
__________________
Regards,
Anthony Holub

X-Cart Skins Store
- twenty two different skins available;
- both 4.1.x and 4.2.x versions compatible;
- refresh you store now!

Smart menu X-Cart add-on
Featured Products Slide Show X-Cart add-on
"What's New?" FREE X-Cart add-on
Reply With Quote
  #7  
Old 02-11-2009, 11:16 AM
 
pfarcus pfarcus is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 179
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

It works, thx!
__________________
CDSEO PRO
4.1.11 PRO
Dynamic images by xcartmod.com
X-Cart CSSTemplate/Skin for v4.1.11 PRO
Reply With Quote
  #8  
Old 02-12-2009, 12:36 AM
  Holub's Avatar 
Holub Holub is offline
 

X-Adept
  
Join Date: Jan 2008
Posts: 432
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

Not at all, glad to help you!
__________________
Regards,
Anthony Holub

X-Cart Skins Store
- twenty two different skins available;
- both 4.1.x and 4.2.x versions compatible;
- refresh you store now!

Smart menu X-Cart add-on
Featured Products Slide Show X-Cart add-on
"What's New?" FREE X-Cart add-on
Reply With Quote
  #9  
Old 02-20-2009, 01:03 AM
 
shimmy shimmy is offline
 

Advanced Member
  
Join Date: Jun 2008
Posts: 41
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

Quote:
Originally Posted by Holub

Also with shipping, find line (about 30:

Code:
<option value='Y'{if $product.free_tax eq 'Y'} selected="selected"{/if}>{$lng.lbl_yes}</option>

and change it to

Code:
<option value='Y'{if $product.free_shipping eq 'Y'} selected="selected"{/if}>{$lng.lbl_yes}</option>

and replace it to

Code:
<option value='Y'{if $product.free_shipping eq 'Y' || $product.productid eq ""} selected="selected"{/if}>{$lng.lbl_yes}</option>

This allow to assign free shipping by default.

Hi holub, thanks I would also like to apply this modification but I'm a bit new to this and a little confused. For the shipping you said to find line X change it to y and replace it to Z. Can you clarify for me what you mean by change it and then replace it?
Thanks in advance
__________________
Shimmy

www.hatsandheadscarves.com
Feedback welcome
shimmy@hatsandheadscarves.com
x-cart version 4.3
one page checkout & buy together mods

Reply With Quote
  #10  
Old 02-20-2009, 01:13 AM
  Holub's Avatar 
Holub Holub is offline
 

X-Adept
  
Join Date: Jan 2008
Posts: 432
 

Default Re: make ~ free shipping and tax exempt "yes" by default?

First of all, have you read post with guide about template edition? Here it is: http://forum.x-cart.com/showthread.php?t=21529

As I said, all changes should be made in file /skin1/main/product_details.tpl. Please read about template edition at link above.
__________________
Regards,
Anthony Holub

X-Cart Skins Store
- twenty two different skins available;
- both 4.1.x and 4.2.x versions compatible;
- refresh you store now!

Smart menu X-Cart add-on
Featured Products Slide Show X-Cart add-on
"What's New?" FREE X-Cart add-on
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 03:25 AM.

   

 
X-Cart forums © 2001-2020