Post by skip » Fri Jul 31, 2020 1:58 pm

Hi, im trying remove tax from price and total in cart table on journal2 quick checkout view
Image
Which controller file is for /catalog/view/theme/journal2/template/journal2/checkout ?
I wass try remove $product['tax_class_id'], from several controller files without result
for example

Code: Select all

<file path="catalog/controller/checkout/confirm.php">
		<operation>
			<search><![CDATA[
				'price'      => $this->currency->format($this->tax->calculate($product['price'], $product['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency']),
			]]></search>
			<add position="replace"><![CDATA[
			    'price'      => $this->currency->format($this->tax->calculate($product['price'], $this->config->get('config_tax')), $this->session->data['currency']),
				]]></add>
		</operation>
		<operation>
			<search><![CDATA[
				'total'      => $this->currency->format($this->tax->calculate($product['price'], $product['tax_class_id'], $this->config->get('config_tax')) * $product['quantity'], $this->session->data['currency']),
			]]></search>
			<add position="replace"><![CDATA[
			    'total'      => $this->currency->format($this->tax->calculate($product['price'], $this->config->get('config_tax')) * $product['quantity'], $this->session->data['currency']),
				]]></add>
		</operation>
	</file>			

Active Member

Posts

Joined
Mon May 09, 2011 9:57 pm

Post by JNeuhoff » Fri Jul 31, 2020 4:04 pm

You are asking a Journal-related question on the OpenCart forum. Journal2 is an old software, and, like its successor Journal3, is not a proper standard-compliant OpenCart extension and/or theme. Have you checked for the existence of a controller file at 'catalog/controller/journal2/checkout.php'?

If you can't solve it, you have the following options:
1) Ask Journal author for support
2) Post it on the commercial support section of this forum
3) Use a standard-compliant web theme and a separate one-step checkout extension

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 5 guests