19.09.2022 15:55
|
|
pimpin007
Name: pimpin
06.10.2011
Posts: 8
|
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.
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
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25969
|
Aw: Do not show delivery time
Joomshopping template original ?
or changed?
|
|
19.09.2022 19:04
|
|
pimpin007
Name: pimpin
06.10.2011
Posts: 8
|
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
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25969
|
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
|
|
pimpin007
Name: pimpin
06.10.2011
Posts: 8
|
Aw: Do not show delivery time
Yes, I know there are two options and I have them both ticked
|
|
19.09.2022 21:48
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25969
|
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
|
|
pimpin007
Name: pimpin
06.10.2011
Posts: 8
|
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
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25969
|
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
|
|
pimpin007
Name: pimpin
06.10.2011
Posts: 8
|
Aw: Do not show delivery time
Yes, the code is there, I'm sending both files.
joomshopping3.zip
product.zip
Letzte Änderung: 20.09.2022 07:56
|
|
20.09.2022 08:24
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25969
|
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
|
|
pimpin007
Name: pimpin
06.10.2011
Posts: 8
|
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.
|
|