- Posts: 135
- Thank you received: 0
i change the price and ...
15 years 7 months ago #6717
by chaka
i change the price and ... was created by chaka
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6720
by nicolas
Replied by nicolas on topic Re: i change the price and ...
You can change the line:
if($this->config->get('thumbnail') && count($variant->images)>1){
to:
if($this->config->get('thumbnail') && count(@$variant->images)>1){
in that file to remove the notice.
Please note that you should not run your website with the display_error setting on as may reveal security information to end users, such as file paths on your Web server, your database schema or other information.
On our end, we'll change the code there to avoid that notice.
if($this->config->get('thumbnail') && count($variant->images)>1){
to:
if($this->config->get('thumbnail') && count(@$variant->images)>1){
in that file to remove the notice.
Please note that you should not run your website with the display_error setting on as may reveal security information to end users, such as file paths on your Web server, your database schema or other information.
On our end, we'll change the code there to avoid that notice.
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6746
by chaka
Replied by chaka on topic Re: i change the price and ...
thanks nicolas
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6769
by chaka
Replied by chaka on topic Re: i change the price and ...
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6786
by nicolas
Replied by nicolas on topic Re: i change the price and ...
Could you check that you have the line:
if(!empty($new) || (empty($results)&&!empty($main_ids))){
On line 427 of the same file ?
if(!empty($new) || (empty($results)&&!empty($main_ids))){
On line 427 of the same file ?
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6829
by chaka
Replied by chaka on topic Re: i change the price and ...
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6831
by nicolas
Replied by nicolas on topic Re: i change the price and ...
Are you sure that you're text editor displays the lines correctly?
On line 436, you should have that code:
foreach($element->characteristics as $characteristic){
and few lines before, you should have either :
if(!empty($new) || (empty($results)&&!empty($main_ids))){
or:
if(!empty($new) || empty($results)){
If that's the second case, you should change it to the first case to solve the problem.
On line 436, you should have that code:
foreach($element->characteristics as $characteristic){
and few lines before, you should have either :
if(!empty($new) || (empty($results)&&!empty($main_ids))){
or:
if(!empty($new) || empty($results)){
If that's the second case, you should change it to the first case to solve the problem.
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6839
by chaka
Replied by chaka on topic Re: i change the price and ...
sorry
nicolas i dont see this code in my file in : /administrator/components/com_hikashop/classes/product.php
this is my file : uploading.com/files/d29fa6mc/product.php/
sorry i dont but i dont see the code in this file
this is my file : uploading.com/files/d29fa6mc/product.php/
sorry i dont but i dont see the code in this file
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6841
by nicolas
Replied by nicolas on topic Re: i change the price and ...
You indeed have the old code on the line 427. You could redownload hikashop and install it over your previous version. That should fix the problem.
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6842
by chaka
Replied by chaka on topic Re: i change the price and ...
aaassshhh well :dry: . i do it later
thanks
thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.296 seconds