Do not show delivery time

19.09.2022 15:55
#1
pimpin007
Joomshopping forum user no avatar
Name: pimpin
06.10.2011
Posts: 8
Quote
Do not show delivery time

Hi, I have the delivery dates set. I have also checked the option to show these dates, but they are not showing up in the frontend. Please help.
Do not show delivery time
deliv2.png


Joomla: 4.2.2
JoomShopping: 5.1.0
PHP: 7.4.30
MySQL: 10.6.7-MariaDB-2ubuntu1.1
Website Url: p77.cz
 
19.09.2022 16:31
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Do not show delivery time

Joomshopping template original ?
or changed?

 
19.09.2022 19:04
#3
pimpin007
Joomshopping forum user no avatar
Name: pimpin
06.10.2011
Posts: 8
Quote
Aw: Do not show delivery time

It doesn't work even in the original template. The original template is modified, but only in terms of bootstrap.

 
19.09.2022 20:46
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Do not show delivery time

Works for default template .


Configuration / Product

There are 2 settings:

List products / Product / Show "Delivery time"

Product / Show "Delivery time"

 
19.09.2022 21:26
#5
pimpin007
Joomshopping forum user no avatar
Name: pimpin
06.10.2011
Posts: 8
Quote
Aw: Do not show delivery time

Yes, I know there are two options and I have them both ticked

 
19.09.2022 21:48
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Do not show delivery time

Problem in your template.
See original template copy code for delivery.
https://www.joomshopping.com/forum/posts/7/3567.html

 
20.09.2022 07:07
#7
pimpin007
Joomshopping forum user no avatar
Name: pimpin
06.10.2011
Posts: 8
Quote
Aw: Do not show delivery time

Yes I know, I made a copy of the default template. Could the problem be in the Addons? I have: Addon characteristics images 2.1.3, ExtPrice - netto / brutto. I have now modified the template and removed the condition to display delivery. The template reveals me the text, but without the information from the database, where the information from the delivery times table should be stored for the product.


Joomla: 4.2.2
JoomShopping: 5.1.0
PHP: 7.4.30
MySQL: 10.6.7-MariaDB-2ubuntu1.1
Website Url: p77.cz
 
20.09.2022 07:23
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Do not show delivery time

components\com_jshopping\templates\default\product\product_default.php

<?php if ($this->product->delivery_time != ''){?>
<div class="deliverytime" <?php if ($product->hide_delivery_time){?>style="display:none"<?php }?>><?php print JText::_('JSHOP_DELIVERY_TIME')?>: <?php print $this->product->delivery_time?></div>
<?php }?>

 
20.09.2022 07:38
#9
pimpin007
Joomshopping forum user no avatar
Name: pimpin
06.10.2011
Posts: 8
Quote
Aw: Do not show delivery time

Yes, the code is there, I'm sending both files.
joomshopping3.zip
product.zip
Aw: Do not show delivery time
Aw: Do not show delivery time


Last change: 20.09.2022 07:56
 
20.09.2022 08:24
#10
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25965
Quote
Aw: Do not show delivery time

Config changed?

components\com_jshopping\config\default_config.php

(default value)
$config->hide_delivery_time_out_of_stock = 0;

-----

Send me ftp(forum privat msg.)

 
20.09.2022 08:54
#11
pimpin007
Joomshopping forum user no avatar
Name: pimpin
06.10.2011
Posts: 8
Quote
Aw: Do not show delivery time

Yes, that was the problem.
I had the value set to
$config->hide_delivery_time_out_of_stock = 1;
I set the default value to "0" and it's already showing.

I'm so sorry.

 


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.