Post by leoneshop » Sun May 17, 2020 7:04 am

Hi Guys,
I have a issue with the cart title, i use OpenCart 3.0.2.0 with Journal 3.0.46
when i put an item in the cart it show this title "Submit a review" also if i use the standard OC theme.
If i cancel the product from the cart it show the right one.
Have you any idea to help me to understand this issue? Thanks

Attachments

Immagine.jpg

Immagine.jpg (204.11 KiB) Viewed 656 times


User avatar
New member

Posts

Joined
Thu Aug 16, 2018 2:59 pm

Post by thekrotek » Sun May 17, 2020 1:22 pm

straightlight wrote:
Sun May 17, 2020 9:55 am
This topic has now been moved to the OpenCart 3.0 Support > General Support section of the forum.
You really should stop bloating forum topics with such replies.
leoneshop wrote:
Sun May 17, 2020 7:04 am
when i put an item in the cart it show this title "Submit a review" also if i use the standard OC theme.
Looks like some of the modifications is messing around.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by leoneshop » Sun May 17, 2020 4:05 pm

Hi,
Thanks for the reply, yes i try to disable all the modification but the error is the same.
i don t know why.... if any one have an idea pls help me!
I have another site with the same modifications but only with one leanguage and no issue...
all the files of two sites are the same, also modification and module...

User avatar
New member

Posts

Joined
Thu Aug 16, 2018 2:59 pm

Post by JNeuhoff » Sun May 17, 2020 4:58 pm

A known OpenCart 3.0.2.0 bug, where the heading_title gets wrongly overwritten by one of the event handlers, or somewhere else.

I use this OCmod XML bugfix on our sites for this:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<modification>
	<name>Bugfix for checkout/cart 1.0</name>
	<code>Bugfix for checkout/cart 1.0</code>
	<version>1.0</version>
	<author>mhccorp.com</author>
	<link>https://www.mhccorp.com</link>

	<file path="catalog/controller/checkout/cart.php">
		<operation>
			<search><![CDATA[$this->document->setTitle($this->language->get('heading_title'));]]></search>
			<add position="after"><![CDATA[
		$data['heading_title'] = $this->language->get('heading_title');
			]]></add>
		</operation>
	</file>

</modification>

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


Post by leoneshop » Sun May 17, 2020 5:40 pm

JNeuhoff wrote:
Sun May 17, 2020 4:58 pm
A known OpenCart 3.0.2.0 bug, where the heading_title gets wrongly overwritten by one of the event handlers, or somewhere else.

I use this OCmod XML bugfix on our sites for this:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<modification>
	<name>Bugfix for checkout/cart 1.0</name>
	<code>Bugfix for checkout/cart 1.0</code>
	<version>1.0</version>
	<author>mhccorp.com</author>
	<link>https://www.mhccorp.com</link>

	<file path="catalog/controller/checkout/cart.php">
		<operation>
			<search><![CDATA[$this->document->setTitle($this->language->get('heading_title'));]]></search>
			<add position="after"><![CDATA[
		$data['heading_title'] = $this->language->get('heading_title');
			]]></add>
		</operation>
	</file>

</modification>
Hi JNeuhoff,
You are welcome! It work perfect also with quick-checkout of Journal 3!
The error was made by the Journal 3 quick-checkout.
Thanks a lot for your help!

Regards and Have a Nice Day!
Leandro

User avatar
New member

Posts

Joined
Thu Aug 16, 2018 2:59 pm
Who is online

Users browsing this forum: No registered users and 11 guests