Legacy settings

  • Posts: 250
  • Thank you received: 7
7 years 9 months ago #263246

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.4
-- PHP version -- : 7.0.13

I've recently upgraded to Hikashop 3.0.0 and was wondering why I wasn't seeing much difference, it would be really handy to have a note about legacy setting on the post installation screen as I've only discovered these by accident.

Also reading the documentation there is a reference to the auto publish variants legacy setting

Variants published by default
You can set here the publish state of variants generated by HikaShop when you add characteristics to your products.
This option should normally always be turned on. And might be dropped in the future.


PLEASE DO NOT DROP THIS SETTING in future versions. I use variants in a different way to how you envisage - it's perfectly legitimate and works perfectly, but I do not want variants automatically generated or published.

Thanks,

Ian

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 9 months ago #263247

Hi,

Variants are not generated automatically.

What that setting does is that it allows you to choose if you want them to be published or not when you manually generate them.
And usually, when you generate them, it's because you want to use them and thus it's easier if they are already published when you manually generate them.
That's why there is no real reason in keeping that setting since even if we remove it, variants still won't be generated automatically.

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

  • Posts: 250
  • Thank you received: 7
7 years 9 months ago #263271

Hi Nicolas,

Thanks, that's reassuring.

When I first started using Hikashop variants were generated automatically, Hikashop generated a variant for every permutation of product characteristics and I had to delete them all, so I was confusing that setting with that behaviour.

I would say though that even when setting up variants manually I would want to be able to decide whether they were published immediately or not. Usually not as I might initially set them up with incomplete data.

Regards,

Ian

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 9 months ago #263277

Hi,

Even if we removed that setting from the interface (so that it would be one less setting in the HikaShop configuration), you would still be able to change that behaviour by changing the value of that setting in the table hikashop_config table in the database. A bit like the hidden options of browsers.

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

  • Posts: 250
  • Thank you received: 7
7 years 9 months ago #263341

Hi Nicolas,

That's ok if you know it's there.

I can understand you wanting to remove settings to simplify things, but I'm concerned you seem to be removing features that I use! The "convert to wishlist" option in the cart is another one, it's actually a feature my client asked for as he wanted customers to be able to easily re-order

Regards,

Ian

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #263348

Hi,

There is still the code in the controller and the class to convert a cart into a wishlist and a wishlist into a cart.
But, with the new cart interface in the front-end, I though it was really easy to move a lot of products from a cart to a wishlist.
That is why I didn't add a button in the toolbar to perform the conversion.

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: 250
  • Thank you received: 7
7 years 9 months ago #263375

Hi Jerome,

It's easier with the button, please put it back!

Thanks,

Ian

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #263381

Hi,

I will add the "check all" box, re-enable the convert function, but I won't add the "convert button" into HikaShop interface.

But, you can override the cart view if you want to add elements in the toolbar.
With something link :

	<td>
		<a href="#" onclick="return window.hikashop.submitform('convert','hikashop_show_cart_form');">
			<span class="icon-32-convert" title="<?php echo JText::_('HIKA_CONVERT'); ?>"></span> <?php echo JText::_('HIKA_CONVERT'); ?>
		</a>
	</td>

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.

Time to create page: 0.058 seconds
Powered by Kunena Forum