Hi.
Love the script, will definately be sticking with it.
I have one thing i'd like to do that I can't see how though - Can I set a maximum a shopper has to pay for postage, I am setting it up as per item shipping.
Any advice would be much appreciated thank you.
You can do it by do the following edits (replace 20 with your maximum cost):
IN:
REPLACE BOTH INSTANCES OF:
WITH:
AND BEFORE:
ADD:
If Daniel or Q reads this, this would be easy to add as an actual setting in the per item module, and would probably be a good idea.
IN:
Code: Select all
/catalog/model/shipping/item.php
Code: Select all
$this->config->get('item_cost') * $this->cart->countProducts()
Code: Select all
$cost
Code: Select all
$quote_data['item'] = array(
Code: Select all
$cost = $this->config->get('item_cost') * $this->cart->countProducts();
if ($cost > 20) $cost = 20;
Who is online
Users browsing this forum: No registered users and 2 guests