![]() |
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? |
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". |
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 :)
|
Re: make ~ free shipping and tax exempt "yes" by default?
anyone ???? please :]
|
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):wink: Thanks! |
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. |
Re: make ~ free shipping and tax exempt "yes" by default?
It works, thx!
|
Re: make ~ free shipping and tax exempt "yes" by default?
Not at all, glad to help you!
|
Re: make ~ free shipping and tax exempt "yes" by default?
Quote:
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 |
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. |
Re: make ~ free shipping and tax exempt "yes" by default?
Thanks for answering so quick. I have read it many times as I have done several template changes already but I just took another look at it anyway. I probably wasn't to clear about my question. What does it mean to "change" the line and then "replace" the line. It seems to me replacing the line will just undo the change
|
Re: make ~ free shipping and tax exempt "yes" by default?
Ooops, I'm very sorry, I've really didnot understand you. I have made mistake in my that post ( copypasting is the evil!!!), so please excuse me. I've corrected mistake so please refer to my post http://forum.x-cart.com/showpost.php?p=247082&postcount=6
|
Re: make ~ free shipping and tax exempt "yes" by default?
Thanks for your patience, worked like a charm.
|
Re: make ~ free shipping and tax exempt "yes" by default?
Quote:
Thanks Holub for your fine modification of codes.But does this modification effects on already uploaded product on item card or necessary to save it again for individual product? Please help me. Thanks to all again. |
Re: make ~ free shipping and tax exempt "yes" by default?
You should execute this QL query via "Patch/Upgrade" admin interface:
Code:
update xcart_products set free_shipping='Y', free_tax='Y'; This query set free shipping and tax exempt for all products. |
Re: make ~ free shipping and tax exempt "yes" by default?
Quote:
Thanks Holub for your response. Can you explain me the procedure of updating this (from admin panel or from phpmyadmin)? If from phpmyadmin in which table? If from admin panel then exactly what to do? Please help me. Thanks to all again. |
Re: make ~ free shipping and tax exempt "yes" by default?
If you use PHPMyAdmin, then you should open SQL tab at right panel, insert this query in field and press go. Table name is already in query, so you shouldn't worry about anything.
Via admin panel, open section "Patch/Upgrade", find dialog "Apply SQL patch" and past the query in the field "SQL query(ies):", and press "Apply" |
Re: make ~ free shipping and tax exempt "yes" by default?
Thanks Holub for your response.One question again.
If I want to activate free shipping ="yes"by modifying the codes and applying the patches from the admin panel for a certain period( four or five days) for all uploaded products,can I able to return from present states to original states that is free shipping="no" after this period by modifying codes and patches again to "no"? Can you help me? Thanks to all again. |
Re: make ~ free shipping and tax exempt "yes" by default?
I didn't have some of that stuff to change and have changed lots of stuff in x-cart so ended up letting it be for now :(
|
Re: make ~ free shipping and tax exempt "yes" by default?
Quote:
Thanks Holub for your response.After modification from admin panel can I able to return from previous states that is free shipping="no" for all products by applying update xcart_products set free_shipping='N'; Patch/Upgrade & and also modifying /skin1/main/product_details.tpl file? Waiting for your response. Thanks to all again. |
Re: make ~ free shipping and tax exempt "yes" by default?
Quote:
As I understood, you want to make free shipping for defined period. Actually, yes. You can use this query, but with 'N' instead of 'Y'. |
Re: make ~ free shipping and tax exempt "yes" by default?
Thanks Holub for your response.
Thanks to all again. |
Re: make ~ free shipping and tax exempt "yes" by default?
Hi,
Thanks Holub for your response. I have two shipping methods one is national(Own country) and another International(rest of other). Each shipping methods and destination Zones defined from each provider area. Now my question is Can I able to block this free shipping methods from those other countries?That is I want to activate free shipping for my country only. Is it possible? If possible how? Thanks to all again. |
All times are GMT -8. The time now is 05:33 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.