Hi there , im using Opencart 2.3.0.2 and for Theme Journal 2 .
I want in Quick check out page to hide one of the Shiping Methods . Reason i preper my shop for using in Skroutz ( its like ebay in Greece ) and they asked for some specific thinks for the eshop to have . Problem is that im using a shiping extension that works fine , and i just put 0 the price in flat rate so it does not affect the prices in Total . For some reason they want the Shipping method to have the same price with shipping cost , but if i put the price the total is changing and this is something totally wrong . So im thinking is there a way to "hide" it and working in the background , just dont show it in the quick ckeck out . Or another solution maybe .
If someone wants to contact for more information please do : sales@medusashop.gr
This extension may provide what you need: https://www.opencart.com/index.php?rout ... on_id=1614
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I don't think Restrict Shipping Methods will work for you on this, because that's for enabling/disabling a shipping method under certain circumstances. If you just want to hide the "Shipping" line item, you can turn it off in Extensions > Order Totals.
However, that won't add the shipping cost into the order, but it also won't show the "Shipping" line item at all. If you don't want to completely disable it, and you still want it to show, then if the "Shipping" line item has a cost on the order, it will affect the "Total" line item on the order. That's just how OpenCart works.
If you just want an informational line that shows a cost but doesn't actually affect the total, then you'd want to make an edit to zero out the shipping cost on the front-end. You'd do that like this:
However, that won't add the shipping cost into the order, but it also won't show the "Shipping" line item at all. If you don't want to completely disable it, and you still want it to show, then if the "Shipping" line item has a cost on the order, it will affect the "Total" line item on the order. That's just how OpenCart works.
If you just want an informational line that shows a cost but doesn't actually affect the total, then you'd want to make an edit to zero out the shipping cost on the front-end. You'd do that like this:
Code: Select all
IN:
/catalog/model/total/shipping.php
or
/catalog/model/extension/total/shipping.php
REPLACE:
$total['total'] += $this->session->data['shipping_method']['cost'];
WITH:
//$total['total'] += $this->session->data['shipping_method']['cost'];
Who is online
Users browsing this forum: No registered users and 2 guests