Fake custom fields appeared

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245196

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Mozilla

If I have custom field with dropdown values, this custom field appears on every item in the category "product category" listing.
If I go to the subcategory - this custom field disappeared (works ok) and appeared only for items that have it.

I have restrictions for that custom field - it must appears only in certain categories...



And here is the same item in subcategory:


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Attachments:
Last edit: 8 years 4 months ago by progreccor.

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
8 years 4 months ago #245199

hello,

Can you provide your screenshot back-end custom field configuration ?

Awaiting news from you

Regards

Last edit: 8 years 4 months ago by Philip.

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245263

here is it






Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Attachments:
Last edit: 8 years 4 months ago by progreccor.

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
8 years 4 months ago #245310

Hello,

Unfortunately your custom field configuration screenshot don't show all parameters, I need to see everything and especially this part in red.



But I can already ask you one thing, does your products are really in another category than this one ?
Check in your product configuration page the category of your products with this front end issue please.

Regards

Attachments:
Last edit: 8 years 4 months ago by Philip.

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245323




this is product





and this is the field in the category with this product:



Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Attachments:
Last edit: 8 years 4 months ago by progreccor.

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245324

I can give you access to the site if it help it fix the bug


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
8 years 4 months ago #245531

Hello,

It's not a bug, can you try to rebuild your categories structure by doing this :
- Go to Components => HikaShop => Categories
- Use the HikaShop Rebuild categories function.



Can you check if the issue remains after this, please ?
I have good hope that will solve your issue.

If not, send us via our Contact us form some back-end references in order to process some tests by ourself.
Add an Url link to this topic in your message, and tell us if your website is in production phase.

Awaiting news from you.

Regards.

Attachments:
Last edit: 8 years 4 months ago by Philip.

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245587

I have rebuild categories but this is not help.
I have write you in contact us.


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 4 months ago #245602

Hi,

We got your backend access but when we try to access it we got redirected to google.
Could you do something about that or provide the correct link ?

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245611

oh sorry - that is defence by IP. Just removed it
please try again


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245612

also have backuped this site.


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Last edit: 8 years 4 months ago by progreccor.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 4 months ago #245627

Hi,

Please download again the install package of HikaShop on our website under the menu My account>My subscriptions and install it on your website and that should add a patch for that.

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245631

I have updated hika to the latest version

But there is no luck. Fake custom field still here:


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Attachments:
Last edit: 8 years 4 months ago by progreccor.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 4 months ago #245638

Hi,

Then could you also provide a FTP access so that we could have a deeper look into it as we're not able to reproduce the problem ?

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245647

please send your IP to my email so I can add it to the firewall of server.
All credentials I'll send by contact form


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 4 months ago #245671

Hi,

Our IP address is
Part of the message is hidden for the guests. Please log in or register to see it.

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245685

I have added your ip subnet to the firewall so you can connect to the server


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 4 months ago #245716

Hi,

I had a first look and it's really strange. In the view file listing_img_title, if I do a vardump of $this->row I see something in the variable $this->row->objem for all the products on that listing, but that variable should be empty. When I do a mass action to see if the products have something in that objem column in the database, it is empty. So it's as if something was filling in that variable after the loading of the products on your website.
Do you have some custom plugin which could do that ? Or some modification of the core files which could result in that ?

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

  • Posts: 2293
  • Thank you received: 315
8 years 4 months ago #245760

This is was clear installation of HikaShop. I don't have any plugins or something else. I don't touch any core files.

I believe that there is a bug in hika

Moreover I have tried to reinstall hika and nothing changed


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Last edit: 8 years 4 months ago by progreccor.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 4 months ago #245874

Hi,

After further debugging, I've found the problem and fixed it. It was coming from a combination of changes between the new custom field display options and an improper code modification.
Replacing the line:
if(!empty($d->$namekey) || !empty($data->$id))
with:
if(!empty($d->$namekey) || !empty($d->$id))
in the file administrator/components/com_hikashop/classes/field.php fixed the problem.

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

Time to create page: 0.150 seconds
Powered by Kunena Forum