Forums / Built-in Shipping and Payment Modules / Disable Price at Shipping Method

Disable Price at Shipping Method

Locked

Started by chariotz on 13 Apr 2009, 4:28 PM · Views: 2,745

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
13 Apr 2009, 4:28 PM
#1
chariotz avatar

chariotz

New Zenner

Join Date:
Apr 2009
Posts:
23
Plugin Contributions:
0

Disable Price at Shipping Method

Hi Guys,

For free shipping i would like to disable the Price instead of €0,00 at this method.

Anyone know how to do this? I've looked through the code from the free shipping method and couldn't find anywhere else where i can disable the €0,00.

Regards,

C

13 Apr 2009, 5:06 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Disable Price at Shipping Method

Ch,
Need a link to the page to view this please

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

13 Apr 2009, 7:04 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Disable Price at Shipping Method

Ch,
Just a little two small for my eyes to view.. Sorry

Just pm me the link to the page please

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2009, 1:38 PM
#5
ccppll avatar

ccppll

New Zenner

Join Date:
Mar 2009
Posts:
19
Plugin Contributions:
0

Re: Disable Price at Shipping Method

What about clicking on the image? It has a link to the full size image.

14 Apr 2009, 2:09 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Disable Price at Shipping Method

ccppll:

What about clicking on the image? It has a link to the full size image.

@ccppll
Here is the link!

http://img187.imageshack.us/img187/2...gmethod.th.gif

way too small for me to even get a grasp of what page she is on..

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2009, 2:22 PM
#7
chariotz avatar

chariotz

New Zenner

Join Date:
Apr 2009
Posts:
23
Plugin Contributions:
0

Re: Disable Price at Shipping Method

Oh sorry about that haredo!

Will pm you :)

14 Apr 2009, 3:15 PM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Disable Price at Shipping Method

Ch,
Thanks got the pm..
Nice site wished I had a baby so I could buy from you. :)

I believe since you are using the store pickup and you changed the name and edited the includes/ language/ english/ modules/ shipping/ storepickup.php

Find this:
includes/ language/ english/ modules/ shipping/ storepickup.php

  1. I notice you are using the classic still
  2. After this, search for override system
    Find this:
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Shipping Cost', 'MODULE_SHIPPING_STOREPICKUP_COST', '0.00', 'The shipping cost for all orders using this shipping method.', '6', '0', now())"); 

Change to this please:

$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Shipping Cost', 'MODULE_SHIPPING_STOREPICKUP_COST', '', 'The shipping cost for all orders using this shipping method.', '6', '0', now())"); 

Before you do this make a copy of the storepickup.php file so if this is not the fix you can overwrite the file with the orginial.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2009, 3:40 PM
#9
chariotz avatar

chariotz

New Zenner

Join Date:
Apr 2009
Posts:
23
Plugin Contributions:
0

Re: Disable Price at Shipping Method

Thanks haredo!

I've changed it but i still get to see the €0,00

The directory you gave me was incorrect i think.

Cause at mines it's includes/models/shipping/storepickup.php

At english i just get the defines :)

14 Apr 2009, 4:25 PM
#10
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Disable Price at Shipping Method

Ch,
you are correct:
includes/ modules/ shipping/ storepickup.php

I will look a little deeper in the code.
Give me time

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2009, 5:05 PM
#11
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Disable Price at Shipping Method

Ch,
You will have to wait for a fellow Zenner to read this thread for help. I am stumped on this.. Sorry

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

14 Apr 2009, 5:18 PM
#12
chariotz avatar

chariotz

New Zenner

Join Date:
Apr 2009
Posts:
23
Plugin Contributions:
0

Re: Disable Price at Shipping Method

No Problem Haredo

Thanks for your help though really apreciated! :clap:

22 Aug 2009, 12:03 PM
#13
sonarscope avatar

sonarscope

New Zenner

Join Date:
Nov 2004
Location:
Varazdin Croatia
Posts:
74
Plugin Contributions:
0

Re: Disable Price at Shipping Method

hi do You find the way how to disable shipping price 0 (zero) ?

regards

emil

14 Nov 2010, 11:59 PM
#14
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: Disable Price at Shipping Method

Hi
go to :

your template>templates>tpl_checkout_shipping_default.php
and delete following:```php
?>

<?php if ( ($n > 1) || ($n2 > 1) ) { ?> <div class="important forward"><?php echo $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></div> <?php } else { ?> <div class="important forward"><?php echo $currencies->format(zen_add_tax($quotes[$i]['methods'][$j]['cost'], $quotes[$i]['tax'])) . zen_draw_hidden_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id']); ?></div> <?php } ```

Glad if I helped.

My most recent work: magprom.net