Unable to edit variants from front end

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
8 years 11 months ago #200154

-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.2
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.29
-- Error-message(debug-mod must be tuned on) -- : No errors

Hi

On the product variants tab the edit and published buttons are not working. (The default button does work)

I have checked the permissions and tried different browsers without success. I have also tried replacing the Akeeba Admin Tools htacess file with the default Joomla version in case something was being blocked.

Any thoughts?

Thanks
Trevor

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200155

Hi,

Does your template override the "yes/no" buttons ?
I'm currently making the integration of the product edition from HikaMarket into the HikaShop backend and I realized that the "yes/no" button from the isis template and not working while creating them dynamically.

In the view "productmarket | variant", you can replace

<dd class="hikamarket_product_published"><?php echo JHTML::_('hikaselect.booleanlist', "data[variant][product_published]" , '', @$this->product->product_published); ?></dd>
By
<dd class="hikamarket_product_published"><?php echo JHTML::_('select.booleanlist', "data[variant][product_published]" , '', @$this->product->product_published); ?></dd>
in order to use the default Joomla "yes/no" button and not use the bootstrap styled "yes/no".
Logically these button should work without any activation, just with their "onclick" events, but it is possible that something from your template is affecting the "yes/no" and require a special js activation.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
8 years 11 months ago #200161

Hi Jerome

I tried the change to productmarket|variant as suggested without success. I also tested it with the standard Joomla templates but no change.

Trevor

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200163

Hi,

So please explain the issue with more details.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
8 years 11 months ago #200169

I am using the front end edit with Hikamarket and want to change the variants. In the Variants tab, clicking on the edit icon or the publish icon has no effect.

regards
Trevor

Attachments:

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200174

Hi,

Okay ; I though it was the "yes/no" button when you edit a variant (once you have click on the "edit" button).

If you click on the table row ; does it have an effect ?
Which browser are you using ? If you change the browser, do you have the same issue ?

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
8 years 11 months ago #200175

Clicking on the row has no effect but clicking on the Default button does work.

I have tested with IE, Chrome and Firefox and all behave the same.

Regards
Trevor

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200180

Hi,

The "publish" icon in the variant listing is not "clickable", if you want to publish or unpublish a variant, you have to edit it.
I don't think you have a javascript error otherwise the "default" button won't work either but it's strange that the "edit" button does not work.

The best for me will be to see directly the issue in your website.
Would it be possible to have a front-end access (for HikaMarket) in your website ?
You can send us such private information using the "contact us" form (with a link to that thread).

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
8 years 11 months ago #200187

Hi Jerome

I have sent details using the Contact Us form

Trevor

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200221

Hi,

Like I wrote you by email, thanks for the access.
I was able to see your problem directly and made some few fixes.

In order to talk about your specific issue ; when you click on an "edit" button, it really do something but the edition of the variant was displayed below the listing of the variants.
And because you have products with a lot of variants, you didn't see that something was show up (or show "down").

For the moment I place you a little patch in order to display variants in a scroll block so when you want to edit an item, you see directly the edition block.
I see that I need to make some improvements in order to display more efficiency the current variant in edition.
More than that, I don't know if I will keep the current patch I made you or if I will do something else.

We could scroll down to the edition of the variant when clicking on the "edit" button.
We could also display the edition of the variant in a third tab (and switch to that tab when clicking on the "edit" button).

I have to admit that I didn't think about products with a lot of variants and it gave me new elements to think about.
And it's a pretty good thing because regarding the implementation I'm currently doing for HikaShop.

Do not hesitate to share your ideas and feeling about the edition of the variants.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
8 years 11 months ago #200260

Thanks Jerome

The patch seems to work well.

I am not sure if it is related but if I create a new product from the front-end and add a characteristic, click to save the characteristic and click to save the product the characteristic is not displayed with the product. If I go back in to edit the product it shows that it is still there. The only way to get it to display is to go into the back-end, remove the characteristic and add it again.

Best regards
Trevor

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
8 years 11 months ago #200265

Hi,

In the backend, HikaShop have an option to generate automatically the variants when you add a characteristic.
HikaMarket does not ; it has a different approach.

When you edit a product, in the variant tab, you have a "add variant" button which allow you to generate several variants in the same time ; you just have to select the combinations you want.
(And if a combination already exist, HikaMarket won't create it).

You can also select one or several variants and use the button "duplicate" to copy the selected variants by changing one single characteristic value.

We introduce that different way to manage variants because the auto-generation can create too much elements when you have a lot of values for a characteristic (and it can grow very fast with combinations).
It allows you to have a better control on the variants you want to really create.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.077 seconds
Powered by Kunena Forum