• Resolved wph4

    (@wph4)


    Hi,

    Is there anyone here having Marketpress (ecommerce from wpmu) working with Customizr theme.

    I am trying to figure it out but no succes yet.

    Also talking to the Marketpress plugin people….

    Thanks!!!

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter wph4

    (@wph4)

    anyone?

    Thread Starter wph4

    (@wph4)

    Thanks @d4z_c0nf

    Yeap! I have the pro version, but it is this one.

    I have tried it with another theme and it works, but I would like to have only 1 theme for my whole site.

    https://scrapplezier.nl/shop/nl/shop/

    When I use another theme the products page shows a grid with products, but not with Customizr.

    Thanks!

    ok @wph4,
    will look into it asap
    Thanks for reporting this ??

    Thread Starter wph4

    (@wph4)

    I will be waiting…..

    Thanks for taking the time to check it out!

    Thread Starter wph4

    (@wph4)

    Good morning @d4z_c0nf

    I have received this message from wpmu:

    It’s your theme which is blocking the MarketPress elements from showing. I used Live Preview mode to view your site with the SimpleMarket theme, and the product and shopping cart pages rendered just fine.
    I took a look to see if it was a simple issue, like a script conflict, but it looks like your theme isn’t built to display custom post types correctly, which is what MarketPress products are. I believe you’d have the same issues with any plugin that creates custom post types, including other ecommerce tools.
    My best advise would be to find an alternative theme, or to contact the theme developers to have them address custom post type compatibility.

    I do hope you guys can help me!

    Thanks!

    Ok, thanks.
    Will look at it in the next hours.
    Btw, woocommerce too uses custom post types and it works fine ??
    If is something I can “debug” with the free version, fine, otherwise I don’t know how to help you … As you know no private contacts can be shared on wp.org forum (:))

    Thread Starter wph4

    (@wph4)

    ok! Thanks! (:))

    Hello @wph4,
    made some tests here and looks like it works fine with the following added to the child-theme functions.php:

    add_action('template_redirect', 'handle_marketpress_contents', 100);
    function handle_marketpress_contents(){
      //do nothing if isn't mp shop page
      if ( ! ( function_exists('mp_is_shop_page') && mp_is_shop_page() ) )
          return;
    
      //display the page content if not displayed by customizr itself
      if ( 'page' != tc__f('__post_type') && is_page() ){
        add_filter('__post_type', '__return_page');
    
        // don't display post and attachment content
        remove_action('__loop', array( TC_post::$instance, 'tc_post_content'));
        remove_action('__loop', array( TC_attachment::$instance, 'tc_attachment_content'));
      }
    
      remove_action ( '__before_loop' , array( TC_headings::$instance , 'tc_render_headings_view' ) );
    
      function __return_page(){
        return 'page';
      }
    }

    I also suggest you to add this css:

    article.product {
        border-top: 0;
        margin-top: 0;
        padding: 0;
    }

    Hope it works also with your premium extension and with multisite, which I couldn’t test.

    Bests

    Thread Starter wph4

    (@wph4)

    Thanks again @d4z_c0nf

    I will try it and will come back!!

    Cheers!

    and,
    before (or after):
    remove_action ( '__before_loop' , array( TC_headings::$instance , 'tc_render_headings_view' ) );
    add this:

    add_filter('tc_set_grid_hooks', '__return_false');

    Thread Starter wph4

    (@wph4)

    ok

    I see you have the products one below another..
    Doesn’t happen to me, ’cause I use “Icons” as store style.
    Products -> Store Settings
    but oh well, this isn’t about this theme ??

    Thread Starter wph4

    (@wph4)

    ??

    Recently switched to Customizr for all my sites including a new ecommerce site I’m building with Marketpress. Here’s the problem:

    All the pages seem to work fine except the wp signup page. When that page loads with Customizr all the formatting is lost because the head section is missing. All other themes load wp signup just fine. Have tried all the usual suspects including disabling all other plugins except Marketpress. Have researched the problem for hours but so far no joy. I’m new to this forum though I’ve benefitted form content in the past. I’m hoping for any help that points to getting the wp signup page to load correctly in Customizr.
    Site is running locally on MAMP so I did not include link to site.

    Thanks in advance!

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Marketpress (wpmu) and Customizr…’ is closed to new replies.