Skip to main content

Bug removing photos of the product

More
9 years 5 months ago - 9 years 5 months ago #267590 by neo191987
-- HikaShop version -- : 3.0.1

Hi in the latest version of today I noticed the following problem. This prevents the removal of the photos of the product.
Last edit: 9 years 5 months ago by neo191987.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #267605 by Jerome
Hello,

The fact that you can see the HTML uploader means that you have a JavaScript error in your web page.
Please open your Browser console in order to get more details about the JS error which stop the page processing and does not allow the HikaShop javascript to be executed correctly.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #267624 by neo191987
Hi does not go any error. This problem occurs in the archives this week. In the archives of the previous week no problem. Testing clean install and there is the same problem.
Last edit: 9 years 5 months ago by neo191987. Reason: Testing clean install and there is the same problem.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #267630 by Jerome
Hello,

As I wrote :

The fact that you can see the HTML uploader means that you have a JavaScript error in your web page.
Please open your Browser console in order to get more details about the JS error which stop the page processing and does not allow the HikaShop javascript to be executed correctly.

Unless you have completely deactivate the javascript in your browser ; that is not possible for you to see that upload field and not have any JS error.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #267683 by neo191987
I have found the problem file and it is located administrator/components/com_hikashop/views/product/tmpl/form_imag.php
New changes cause problems for me.

Old
Code:
if(empty($this->editing_variant)) echo $this->uploaderType->displayImageMultiple('hikashop_product_image', $content, $options); else echo $this->uploaderType->displayImageMultiple('hikashop_product_variant_image', $content, $options);

New
Code:
echo $this->uploaderType->displayImageMultiple($uploader_id, $content, $options);
Last edit: 9 years 5 months ago by neo191987.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #267686 by Jerome
Hi,

I don't understand why you have that patch without the other line of the patch:
Code:
$uploader_id = empty($this->editing_variant) ? 'hikashop_product_image' : 'hikashop_product_variant_image';
I'll talk with Nicolas in order to understand why the half of the patch has been added into the release without proper tests.

Thanks for the report.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #267711 by neo191987
I just downloaded the last archive and it's all right. Thank you.
Last edit: 9 years 5 months ago by neo191987.

Please Log in or Create an account to join the conversation.

Time to create page: 0.172 seconds
Powered by Kunena Forum