Forum Replies Created

Viewing 4 replies - 31 through 34 (of 34 total)
  • Thread Starter Tessa Watkins

    (@tessachu)

    So I’m a front-end developer, but I know just enough PHP to make me dangerous.

    I compared the /lib/WFG_Frontend.class.php file from the free version 1.2.3 with my PRO version 1.2.9. I moved some important looking functions and stuff from the free version to the PRO version and it appears to be working correctly now on my dev environment.

    While it still shows the pop-up on the checkout page if the user selected “No Thanks” on the cart page, it at least prevents the infinite loop. The client and I can live with that for now.

    @ankitpokhrel I can happily give you my copy of this file for you to review and optimize (considering I just kind of mashed the files together) so that it can be made into a proper update because I don’t like having to edit other developer’s plugins.

    Cheers!

    I’m still seeing this issue. I copied/pasted the file from the fix commit and the plugin just stopped working entirely (no errors on the front-end, the pop-up just didn’t appear at all when my cart met the criteria), so I reverted it back and it went back to doing this.

    Finally, I downloaded the entire repo and compared its files using BeyondCompare to the one I have installed and it appears that the version of the one in repo is 1.2.0 and I have 1.2.9. So what the heck?

    WordPress version: 4.8
    WooCommerce version: 3.0.9
    Multiple Free Gift PRO version: 1.2.9

    Hi! I was just curious if this version was going to be released soon? I’m really looking forward to this feature. I’d love to be able to delete all logs that redirect to default within a specified timespan. Thanks!

    I had actually created a custom visual composer module for this plugin, so when using visual composer, I can drag my module onto the page, type in a slug or ID and the type of content, and it’ll automatically write in the shortcode.

    VC shortcode:

    $insert_page = new FCMModule( "insert_page" , "Insert Page" , 'Embed any WordPress content on your page' , array(
    	new TextField('Page','p','General','Page Slug or ID', true),
    	new TextField('Type','type','General','title|link|excerpt|excerpt-only|content|all|{custom-template.php}'),
    	new TextField('Additional Classes','classes')
    ));
    $mapper->map( $insert_page );

    View file:

        $content = "[insert page='".$p."' display='".(empty($type) ? 'content' : $type)."' class='inserted-page".(empty($classes) ? '' : ' '.$classes)."']";
        echo '<!-- Insert Page Shortcode: '.$content.' -->';
        echo do_shortcode($content);

    Aside from that, I’d recommend giving your rows classes and then using your stylesheet to apply background colors since the “design” tab on some elements in VC generate a page-specific stylesheet that does not get inserted with this plugin.

Viewing 4 replies - 31 through 34 (of 34 total)