Is there a way to make it so Store Pick-Up does not have Insurance added?
Sub-Total: $41.90
$3.25 CA Tax Rate:
$0.00 Store Pickup (Walk In):
$1.35 Mandatory Shipping Insurance:
$46.50 Total:
Is there a way to make it so Store Pick-Up does not have Insurance added?
Sub-Total: $41.90
$3.25 CA Tax Rate:
$0.00 Store Pickup (Walk In):
$1.35 Mandatory Shipping Insurance:
$46.50 Total:
you will need an if switch put in the module
if $this->order['shipping'] == walk-in {
INS CODE HERE
}
Zen cart PCI compliant Hosting
As a non-programmer, but willing to try... do me a favour please - can you re-write that line so that it works? I know enough to know that it should have brackets in the IF statement, but that's about it!![]()
I follow the logic, but am not very good with the code. Where/how do I find the correct identification of a shipping module? (Basically, I need to turn off insurance when either Store Walk In or Free Shipping are in force)
If anyone can/is willing to help, then the file I'm trying to edit is attached and I'm starting at line 64!
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !
The answer (thankyou kuroi) is to insert the following at around line 65 of includes/modules/ot_total/ot_insurance.php (Code:if ($pass && $_SESSION['shipping']['id'] == 'storepickup_storepickup') { $pass=false; }
This refers to JadeTrue's Optional Shipping Insurance mod
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !