Skip to main content

"Checkout Related" - Plugin Broken

More
3 years 10 months ago #346712 by mojooutdoors-holden
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:

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

More
3 years 10 months ago #346783 by Jerome
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.

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

More
3 years 10 months ago - 3 years 10 months ago #347186 by mojooutdoors-holden
Thanks Jerome! I have some options set now, but still having issues overriding some of the options. Am I still missing something?
Code:
'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: 3 years 10 months ago by mojooutdoors-holden.

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

More
3 years 10 months ago #347285 by Jerome
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.

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

More
3 years 10 months ago - 3 years 10 months ago #347289 by mojooutdoors-holden
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:
Code:
'consistencyheight'=> 1
Last edit: 3 years 10 months ago by mojooutdoors-holden.

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

More
3 years 10 months ago #347322 by Jerome
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.

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

Time to create page: 0.186 seconds
Powered by Kunena Forum