Osclass Support Forums

Osclass theme support => Sigma Osclass Theme => Topic started by: mheston on June 19, 2021, 04:16:06 AM

Title: Sigma theme, changing related listings images from 3 to 2
Post by: mheston on June 19, 2021, 04:16:06 AM
Sigma theme, How do you change the related listings images on the item page from 3 to 2
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on June 21, 2021, 09:27:13 AM
@mheston
Do you mean to have 2 related listings instead of 3 ?
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: mheston on June 21, 2021, 01:09:50 PM
Yes have 2 related listing

Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on June 22, 2021, 07:58:22 AM
@mheston
In functions.php of theme find:
Code: [Select]
$mSearch->limit('0', '3');

Replace with:
Code: [Select]
$mSearch->limit('0', '2');
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: Sanjay Srivastava on September 11, 2021, 07:32:44 AM
Hello there,

I am sigma osclass theme for my website ownpetz
Can anyone please tell me how to change product image gallery settings. Because there in no cross ❌ button after clicking on products images.
And there is no navigation arrow button. Please tell me how to change. I didnt find anywhere.

Thanks Somit
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on September 11, 2021, 01:11:07 PM
@Sanjay
Theme only open image as link. No cross there.
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: Sanjay Srivastava on September 12, 2021, 05:36:26 AM
@Sanjay
Theme only open image as link. No cross there.

Is there any option to add some code so that i can show ❌ option on products image gallery
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on September 12, 2021, 07:36:38 AM
Easiest solution is to disable click action on image that will be done soon.
Alternative is to add some kind of library for picture preview.
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: Sanjay Srivastava on September 12, 2021, 10:32:02 AM
Easiest solution is to disable click action on image that will be done soon.
Alternative is to add some kind of library for picture preview.

Thanks for reply. Could you please tell me how to disable click action. And if i disable click action visitors can see all product photos??
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on September 12, 2021, 12:38:50 PM
I have checked osclass 4.5 that is in development and it works so basically the issue is if you use jQuery 1.x.x in Settings > General.
When changed to 3.x.x, fancybox library will load and it should work OK.
https://demo.osclasspoint.com/for-sale/electronics/samsung-led-32inch_i16
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: Sanjay Srivastava on September 12, 2021, 07:28:38 PM
I have checked osclass 4.5 that is in development and it works so basically the issue is if you use jQuery 1.x.x in Settings > General.
When changed to 3.x.x, fancybox library will load and it should work OK.
https://demo.osclasspoint.com/for-sale/electronics/samsung-led-32inch_i16

Thanks for reply. But same issue in demo. Check screenshot i have attached.
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on September 13, 2021, 04:19:43 PM
@Sanjay Srivastava
Well you do not listen.

Quote
...issue is if you use jQuery 1.x.x in Settings > General.
When changed to 3.x.x, fancybox library will load and it should work OK.

Then you go to demo, without checking what jQuery version (and was using jQuery 1.x.x) is there and post it is not working.
Does not make sense :)
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: Sanjay Srivastava on September 14, 2021, 08:09:15 AM
@Sanjay Srivastava
Well you do not listen.

Quote
...issue is if you use jQuery 1.x.x in Settings > General.
When changed to 3.x.x, fancybox library will load and it should work OK.

Then you go to demo, without checking what jQuery version (and was using jQuery 1.x.x) is there and post it is not working.
Does not make sense :)



Hi thanks and sorry for that.

Now its working also in live desktop site. But om mobile site .. see some error in screenshot. Please help once more. As i dont know about coding. not being set on mobile theme. Is this problem in header??
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on September 14, 2021, 09:16:48 AM
It works ok for me on mobile, those can be fancybox library restrictions or limitations.
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on September 14, 2021, 12:49:23 PM
Share url pattern can be fiund on google docs page or ie stack overflow.

https://stackoverflow.com/questions/9120539/facebook-share-link-without-javascript
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: Sanjay Srivastava on September 14, 2021, 08:45:47 PM
It works ok for me on mobile, those can be fancybox library restrictions or limitations.

Hey Thanks, for your help .. now my website is working fine on desktop and mobile.. thanku very much for helping me. 😊😊🙏🙏
Title: Re: Sigma theme, changing related listings images from 3 to 2
Post by: MB Themes on September 14, 2021, 09:44:56 PM
Cool  ;)