Can order without agree TERMS OF SERVICE and RETURN POLICY

06.06.2024 13:00
#1
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Can order without agree TERMS OF SERVICE and RETURN POLICY

It does not matter whether or not agree with the "TERMS OF SERVICE and RETURN POLICY confirm", the order can always be placed.

In the backend Configuration > checkout: Return Policy for product are selected.
All cache are cleared.

Any other configurations that I have to do?

 
07.06.2024 08:56
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 26424
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

Configuration / Checkout
Terms of Service: No

 
07.06.2024 09:32
#3
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

Disabling Terms of Service will remove these from the checkout page. I would like to have that included, but you can order without checking this box. So it doesn’t matter if this box is checked or not. I get no warning if the box is not checked en want to confirm the order.

 
07.06.2024 10:35
#4
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

Did some tests with change the template from my.css to default.css, but this doesn't solve this problem.
The website is still offline but close to go online. I will send a login account to you.

 
07.06.2024 14:08
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 26424
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

components\com_jshopping\templates\default\checkout\previewfinish.php

<input type = "checkbox" name="agb" id="agb" />

change to

<input type = "checkbox" name="agb" id="agb" checked />

 
07.06.2024 14:53
#6
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

This change do an automatically check of the TERMS OF SERVICE and RETURN POLICY.
When I uncheck, it's still possible to confirm the order. So unfortunately is this not the solution.


Letzte Änderung: 07.06.2024 16:28
 
07.06.2024 20:04
#7
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 26424
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

Configuration / Checkout
Terms of Service: No

\components\com_jshopping\templates\default\checkout\previewfinish.php

<?php if ($this->config->display_agb){?>
<div class="row_agb">
<input type = "checkbox" name="agb" id="agb" />
<a class = "policy" href="#" onclick="window.open('<?php print Helper::SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=agb&tmpl=component', 1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print Text::_('JSHOP_AGB')?></a>
<?php print Text::_('JSHOP_AND')?>
<a class = "policy" href="#" onclick="window.open('<?php print Helper::SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=return_policy&tmpl=component&cart=1', 1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print Text::_('JSHOP_RETURN_POLICY')?></a>
<?php print Text::_('JSHOP_CONFIRM')?>
</div>
<?php }?>
change to

<?php if (1){?>
<div class="row_agb">
<input type = "checkbox" name="agb" id="agb" />
<a class = "policy" href="#" onclick="window.open('<?php print Helper::SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=agb&tmpl=component', 1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print Text::_('JSHOP_AGB')?></a>
<?php print Text::_('JSHOP_AND')?>
<a class = "policy" href="#" onclick="window.open('<?php print Helper::SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=return_policy&tmpl=component&cart=1', 1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print Text::_('JSHOP_RETURN_POLICY')?></a>
<?php print Text::_('JSHOP_CONFIRM')?>
</div>
<?php }?>


Letzte Änderung: 07.06.2024 20:05
 
08.06.2024 10:56
#8
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

If I change the code, the ordering process stops at Delivery method.
When click next, nothing happens. The site is not going to the next step, Confirm Order.
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

 
08.06.2024 13:53
#9
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 26424
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

url?

 
08.06.2024 14:06
#10
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

Already send url and login details by private message.

When i check your demo site i see that div fielderror are activated when i do a Confirm order if the checkbox is not checked.

That doesn't happen on my website. The order can then simply be placed on my website.
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

 
13.06.2024 21:41
#11
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

Maybe I'm to impatient, but Is there already a solution for this?

 
14.06.2024 09:19
#12
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 26424
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

1. I can't access your site.
but I can access the admin panel.


2.

bestluwak - 08.06.2024 14:06
Already send url and login details by private message.

When i check your demo site i see that div fielderror are activated when i do a Confirm order if the checkbox is not checked.

That doesn't happen on my website. The order can then simply be placed on my website.
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY


I don't understand your problem anymore.
You have a verification error or you don't need verification.

 
14.06.2024 15:07
#13
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

I'll try to explain. Normally the checkbox must be checked at TERMS OF SERVICE and RETURN POLICY for to place an order, and it’s not possible to place an order when this checkbox is unchecked.

But on my website it’s stil possible to place an order if the checkbox is uncheckt. So it doesn’t matter if this box are checked or not.

The website is now temporary public, so you can go there without login.

 
14.06.2024 21:12
#14
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 26424
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

components\com_jshopping\js\functions.js

~row 424

jQuery('#previewfinish_btn').on('click', function(){
return jshop.checkAGBAndNoReturn(jQuery(this).attr('data-agb'), jQuery(this).attr('data-noreturn'));
});

change to

jQuery(document).on('click', '#previewfinish_btn', function(){
return jshop.checkAGBAndNoReturn(jQuery(this).attr('data-agb'), jQuery(this).attr('data-noreturn'));
});

 
15.06.2024 09:41
#15
bestluwak
Joomshopping forum user no avatar
Name: Peter
26.01.2024
Posts: 37
Quote
Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY

Yes, it works !!!
Thank you so much for your help :-)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.