Jump to content
fatchamp

Jigoshop Shortcode Pagination and Woocommerce

Recommended Posts

fatchamp    0
fatchamp

Hello, recently had this problem with Jigoshop's shortcode pagination, only happens when the frontpage is set as a static page and the products are placed on this frontpage with Jigoshop's shortcode like this:

[recent_products per_page="12" columns="4" pagination="yes"]

 

What happens is, the products appear just fine, but when you click the pagination to go to the next page, it stays on the same page with the url changing to ...page/2/.

Not sure if anyone faced this problem as well.

I've already posted this on Jigoshop but looks like the only ones who had this problem is due to Jigoshop's conflict with the theme.

 

The strange thing is if I use the shortcode similarly on another page (not the homepage) say ..../anotherpage/, the pagination works just fine.

 

Decided to post here to see if there is anyone facing such situation too.

 

Meanwhile, I've also tried the Woocommerce integration done by Mike Jolley, it is really quite well done, not sure if Pagelines has any plan to swipe that in as well and improve on it.

Cos, it's basically ok, but I'm not able to use that as well since the shortcodes don't work too good too.

 

So I'm forced to switch my theme to one from Woothemes instead.

 

Hope to hear anyone's suggestions soon! Thanks!

Share this post


Link to post
Share on other sites
fatchamp    0
fatchamp

By the way, I understand Woothemes and Jigoshop are actually from the same source, but maybe a bit of a tweak on jigoshop's features will be great. That can help with using Pagelines as a theme. :)

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

So we can try to recreate this issue, can you provide screenshots of your pages and paste the code you're using to our pastie service and add the link here.

 

http://paste.pagelines.com/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fatchamp    0
fatchamp

Hi Danny,

 

But I did not use any additional coding and there is nothing I can show with any screenshot.

It's just the pagination (next ->) did not bring anyone to the next page of products, but remained on the same page.

The html a href link is correct, but strangely does not lead anyone to the correct page.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

I have just create three products, then created a new page and added the shortcode you pasted above and it works fine for me.

 

http://screencast.com/t/FKGOXoUEHRX


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fatchamp    0
fatchamp

That's strange. It works fine if I use the shortcode on any page except for the index page.

Did you use it on the index page?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

No I didn't try on the homepage (index) page but I see what you mean, it goes to the URL but the products remain the same. However, I switched theme to two Twenty Twelve and the same thing happens, so this is not related to PageLines but JigoShop.

I recommend you report this to their support team.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fatchamp    0
fatchamp

I have already posted this on Jigoshop's forum, they couldn't help too.

Thanks for your time anyway.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

They couldn't help you ?

It is clearly an issue with JigoShop and the shortcode not functioning as intended when used on a static page.

 

However, this may not actually be an issue, as the static front page, is a front page and I am not 100% sure it can be used as page2, page 3 etc... as its a front page.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Perry
      By Perry+
      Hi,
      I've added the Post/Page pagination section to the bottom of the blog category page on the dev site here (see screenshot): http://dianef.sandboxes.online/category/intention-and-invention-blog/ but it is giving me the message "Post/Page Pagination is hidden or returned no output", and when viewing the page in another browser, I see nothing.
      Does anyone have an idea why this might be?
       
      Your help is much appreciated in advance.
       
      Thank you,
      Perry

    • John Olsson
      By John Olsson+
      We're often working with ACF (https://www.advancedcustomfields.com/) that's great for user experience in the backend, 'cause we don't want out clients to be in the editor to much.
      So we want to be able to use shortcodes in the editor fields, regardless of section, THIS WOULD BE SO GREAT. Is there a way to fix this, it should open up som much more functionality.
      In ACF, the shortcode is for example: 
      [acf field="field_name"] ...for example, I want to att field_names value to display in a section, i understand I can make it in embed and so, but I want it in titles and options, the whole range.
      I know I can build my own sections, that we've done, but it's not very effective, and thats what PL5 is about.
      Any ideas on this, can Pagelines take this in the core? I guessing there are more than just ACF out there who can use this.

    • jojoking
      By jojoking+
      I have to admit to being baffled.
      I'm trying to embed a video (from my WP media library) within a WP post using the videobox section shortcode.
      The shortcode section popup only allows two items to be configured - the section type, in this case videobox - and a unique id. There's no URL or other parameters such as autoplay or loop which are available within the Pagelines editor.
      Whatever I put in the unique ID makes no difference to what is shown which seems to be a default video with stars or white noise on a black background.
      I assume I need to define this ID somewhere else, or maybe WP has done it for me?
      HELP!
       
      PS This is the page source generated when a shortcode is added within the WP post editor
      <!-- VideoBox | Section --> <section id="videobox_1675853156" class="pl-sn pl-col-sm-12 pl-col-sm-offset-0 pl-sn-videobox" data-object="PL_VideoBox" data-clone="1675853156" data-level="0"><div class="pl-sn-wrap"><div class="pl-sn-pad fix" data-bind="pledit: true" > <div class="video-highlight"><h3 class="video-title" data-bind="pltext: vb_title"></h3></div> <div class="pl-video-box" data-bind="plcallback: { vb_autoplay: vb_autoplay(), vb_loop: vb_loop(), vb_controls: vb_controls(), vb_video: vb_video()}" data-callback="videobox"> <video id="280414138" autoplay loop > <source src="https://www.handinhandmanchester.org.uk/wp-content/plugins/pl-section-videobox/default.mp4?r=280414138" type="video/mp4" /> No browser html5 video. </video> <script> jQuery('#280414138')[0].load(); </script> </div> </div></div></section> </div>  
      If I add a videobox section using the Pagelines page editor the page source generated includes my video:
      <!-- VideoBox | Section --> <section id="videobox_udvu4uz" class="pl-sn pl-col-sm-12 pl-col-sm-offset-0 pl-sn-videobox" data-object="PL_VideoBox" data-clone="udvu4uz" data-level="0"><div class="pl-sn-wrap"><div class="pl-sn-pad fix" data-bind="pledit: true" > <div class="video-highlight"><h3 class="video-title" data-bind="pltext: vb_title"></h3></div> <div class="pl-video-box" data-bind="plcallback: { vb_autoplay: vb_autoplay(), vb_loop: vb_loop(), vb_controls: vb_controls(), vb_video: vb_video()}" data-callback="videobox"> <video id="429558737" autoplay loop > <source src="https://www.handinhandmanchester.org.uk/wp-content/uploads/2017/04/HIHWelcome.mp4?r=429558737" type="video/mp4" /> No browser html5 video. </video> <script> jQuery('#429558737')[0].load(); </script> </div> </div></div></section>  
    • bnapoli
      By bnapoli+
      On my site www.anewbeginning.com the "toggle" function mysteriously stopped working.  I have tried all browsers, tried disabling plugins, removing all the relevant CSS but still cant understand why it isn't working.
      The toggle is placed on this page: http://anewbeginning.com/?page_id=15965 and http://anewbeginning.com/?page_id=10779 but it does not display.
      On my other Platform5 websites, that exact code works fine: see here http://4aa.d11.myftpupload.com/?page_id=123
      Code is the same. Please help, thank you!
    • flourishdesignstudio
      By flourishdesignstudio
      I am using Jigoshop on a website that also uses PL5 and am running into an issue where the store pages do not allow me to use the PL5 editor. Is anyone else having this problem or know if a solution? 
      When I open the Chrome console I see the following error:
      site.js?ver=b199df:5 Uncaught ReferenceError: PLData is not defined
          at Object.setMasterModel (site.js?ver=b199df:5)
          at Object.init (site.js?ver=b199df:5)
          at HTMLDocument.<anonymous> (site.js?ver=b199df:5)
          at i (jquery.js?ver=1.12.4:2)
          at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
          at Function.ready (jquery.js?ver=1.12.4:2)
          at HTMLDocument.K (jquery.js?ver=1.12.4:2)
       
      The problem can be seen here: http://fingerlakesdistilling.com/shop/ where the sidebar, footer, and header do not show up. Any thoughts?
      Thanks so much!
×