Hey folks ...
Has anyone come across either a module, or did some changes to be able to have this as a shipping option.
Shipping & Handling: 10% of the subtotal or $10.00 (whichever is greater)?
Many thanks
Hey folks ...
Has anyone come across either a module, or did some changes to be able to have this as a shipping option.
Shipping & Handling: 10% of the subtotal or $10.00 (whichever is greater)?
Many thanks
You can customize the Table Rate to have 10% and add in a test to make it a minimum of $10.00 ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hey Ajeh,
Thanks for the reply, but I am not sure what you are meaning. I know how to set within the table rate ... eg: 10:5.00,5%
how would I do what you are suggesting?
Cheers :)
In the Table Rate table shipping module, the final cost is built in:
What you want to do is test if the cost is <= 10 then you need to adjust the cost to be at least 10.00 ...Code:$this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_TABLE_TEXT_WAY, 'cost' => $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING) ) ));
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hey there .. sorry if I am being difficult, but I have no idea what you are asking. I checked my table.php file in modules>shipping and it has the same code that you pasted ...
As for the <= 10 ... not sure ...
Do you know what formula is needed in the admin section under the Shipping Rate?
This is what I have tried: 1:10.00,2:10% (1=number of products : costing 10.00, or 2=number of products : 10% off)
Any ideas?
You can customize the shipping charge in the Table Rate table shipping module by editing the file:
/includes/modules/shipping/table.php
and changing the code from:
to read:Code:$this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_TABLE_TEXT_WAY, 'cost' => $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING) ) ));
Code:// bof: charge minimum of $10.00 shipping $chk_shipping_cost = $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING); if ($chk_shipping_cost < 10.00) { $chk_shipping_cost = 10.00; } $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_TABLE_TEXT_WAY, 'cost' => $chk_shipping_cost) )); // eof: charge minimum of $10.00 shipping
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Ahhh excellent, that worked perfect!!!
Thanks very much again for all your work, I really appreciate it.
Cheers :)
Sure thing ... remember the Zen Cart Team when you are rich and famous!
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I sure will ... I think they have done a fabulous job!!! :)
Actually, one last question if I could. Is there a way to use this function, but to have it work for all of Canada and the US, but for Alaska and Hawaii be $12.00 or 12% or subtotal?
Cheers
Bookmarks