Post by mrblond » Tue Oct 24, 2017 6:57 pm

I'd like to remove the "Use Gift Certificate" from my Shopping cart.
So, in
Extensions > Order Totals
I turn the Gift Voucher on Disabled and I save it but it doesn't accept my edit and it is still Enabled.
I did this with the Coupon and it was immediately disabled and removed from my shopping cart.

How to disable this Gift Certificate?

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by kestas » Tue Oct 24, 2017 7:44 pm

Hi,
if for enough just remove the link from the footer you can make it simply:
find line 26 in catalog/view/theme/default/template/common/footer.twig

Code: Select all

<li><a href="{{ voucher }}">{{ text_voucher }}</a></li>
replace to:

Code: Select all

<!--<li><a href="{{ voucher }}">{{ text_voucher }}</a></li>-->
Clear your site cash in admin panel (right upper corner small gear...)
this will remove only "Gift certificate" link from the footer not disable the extension.

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by mrblond » Tue Oct 24, 2017 11:49 pm

Okay, it was removed from the footer but most important is how to remove it from the shopping cart?

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by cyclops12 » Wed Oct 25, 2017 3:40 am

After disabling in extensions/order totals
Make sure you clear all the caches
extensions/modification and click refresh, admin dashboard click blue cog on right and refresh both theme and sass cache

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by mrblond » Wed Oct 25, 2017 3:50 am

Yes, I clear all the caches.
But the question was that in OpenCart 3.0, the Disabling option for Gift Voucher doesn't work.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by cyclops12 » Wed Oct 25, 2017 4:16 am

Well it worked for me on 3.0.2.0 default clean install hosted locally but all caches must be cleared to see results

Edit: see here... https://www.screencast.com/t/blSqwZraTaf

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by mrblond » Wed Oct 25, 2017 5:54 am

I'm doing exactly the same things and the gift certificate is still there.
But I see another problem. In your video, when you open your shopping cart, before the procedure - the Title is "Shopping Cart (0.00kg)".
In my shopping cart, the Title is "Use Gift Certificate (3.00g)".

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by straightlight » Wed Oct 25, 2017 6:29 am

When the Gift Voucher total extension was disabled from the admin but the setting was not saved, what does the admin error log indicate for that event? Do you see recent error messages that applies from the Gift Voucher total module?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mrblond » Wed Oct 25, 2017 1:36 pm

Home > Error Log > Errors List
Visibly, there are no warnings related to the Gift Voucher.
From yesterday, when I started this procedure, there are only three error warnings all related to sending automatic mail because of my try to complete the Checkout form.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by mrblond » Wed Oct 25, 2017 2:04 pm

I upload image of my current shopping cart outlook.
http://i71.photobucket.com/albums/i147/ ... vapuhy.jpg
Last edited by mrblond on Thu Oct 26, 2017 2:02 pm, edited 1 time in total.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by straightlight » Wed Oct 25, 2017 8:45 pm

In your PHPMyAdmin, see in your extension table if you see the voucher extension. In your setting table, use the search tab and in key textbox row, type: payment_ and see if you notice the voucher on the list.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mrblond » Thu Oct 26, 2017 12:05 am

I couldn't follow the search instructions but I give you a print screen of the second page of oc_extension table and in the last line of the list I see voucher. Is this what we are looking for?
http://i71.photobucket.com/albums/i147/ ... qzjimp.jpg
Last edited by mrblond on Thu Oct 26, 2017 2:04 pm, edited 2 times in total.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by straightlight » Thu Oct 26, 2017 12:12 am

In your setting table, you will in PHPMyAdmin on the top middle-right-frame the 'search' tab. Click on it and on the key row, you will have a textbox on the right. Type in: payment_ and see if you notice the voucher one on the list.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mrblond » Thu Oct 26, 2017 1:35 am

Is this the settings table? I don't see the search tab.
Last edited by mrblond on Thu Oct 26, 2017 2:04 pm, edited 2 times in total.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by straightlight » Thu Oct 26, 2017 3:00 am

Your screenshot cannot be seen.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Thu Oct 26, 2017 3:13 am


The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mrblond » Thu Oct 26, 2017 6:08 am

I got it. The search results of "payment_" in oc_setting:
http://i71.photobucket.com/albums/i147/ ... li1rm3.jpg

I hope all images are visible now.
Last edited by mrblond on Thu Oct 26, 2017 1:59 pm, edited 3 times in total.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by straightlight » Thu Oct 26, 2017 6:14 am

No, they are not visible. Although, I meant: total_voucher, not payment_ . Do you see two fields of those in the oc_setting table?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mrblond » Thu Oct 26, 2017 2:08 pm

Sorry, I desperately turn my images above into links. Probably this will work.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by mrblond » Thu Oct 26, 2017 2:19 pm

Search results for "total_voucher" 4 matches in oc_setting:
http://i71.photobucket.com/albums/i147/ ... 04izcq.jpg

There are two fields with code "total_voucher" and
two fields with code "voucher".

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm
Who is online

Users browsing this forum: Baidu [Spider] and 13 guests