"Checkout Related" - Plugin Broken

  • Posts: 303
  • Thank you received: 18
  • Hikashop Business
1 year 6 months ago #346712

Hey Jerome,

I have the carousel view loaded finally. How would i override some of the carousel options, similar to how the hikashop modules set options for the carousel view? I tried:

Attachments:

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

  • Posts: 26043
  • Thank you received: 4007
  • MODERATOR
1 year 6 months ago #346783

Hello,

You should analyse the content of the "carousel" view and add the missing parameters, such as "columns", "border_visible", "margin", "display_button", etc.

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: 303
  • Thank you received: 18
  • Hikashop Business
1 year 6 months ago #347186

Thanks Jerome! I have some options set now, but still having issues overriding some of the options. Am I still missing something?

	'columns' => 4,
	'border_visible' => false,
	'enable_carousel' => true,
	'autoplay' => true,
	'autoplayTimeout' => 3000,
	'autoSlideDuration' => 3000,
	'autoplayHoverPause'=> true,
	'carouselEffect'=> 'slide',
	'slideBy' => 1,
	'loop' => true,
	'margin' => 10,
	'slideDirection' => 'Horizontal',

Last edit: 1 year 6 months ago by mojooutdoors-holden.

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

  • Posts: 26043
  • Thank you received: 4007
  • MODERATOR
1 year 6 months ago #347285

Hello,

What is your current result and what do you want to have at the end ?

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: 303
  • Thank you received: 18
  • Hikashop Business
1 year 6 months ago #347289

Figured out my issue. I was trying to edit the view file for checkout related:



After directly editing the plugin view file (plugins/hikashop/checkout_related/views/checkoutrelated/tmpl/show.php), i can get mostly what i want.

However, I still cannot figure out how to enable "height consistency" or force the carousel to loop after reaching the end?



I tried the following with no change in behavior:
'consistencyheight'=> 1

Attachments:
Last edit: 1 year 6 months ago by mojooutdoors-holden.

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

  • Posts: 26043
  • Thank you received: 4007
  • MODERATOR
1 year 6 months ago #347322

Hello,

The Height consistency is enabled by default in the listing div view.
A JavaScript function is called in order to set-up the consistency on the tiles ; since your carousel is displayed, that function should be called too.

Regarding the loop, it's also enabled by default in the carousel view ; there is no setting to change that.

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.111 seconds
Powered by Kunena Forum