• Resolved andrew55

    (@andrew55)


    Since last update, product images are broken and wrong products are showing. I’m assuming I need to set up new Layouts feature correctly.

    Per your instructions in my WP admin, I successfully imported the new default layouts.

    But I’m not sure what to do next. Do you have any detailed documentation on how to get the slider functioning properly after the new update?

    Thanks for any suggestions.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your post,

    If you run data migration correctly layouts should automatically generate for each WCPS based on your old layout settings and assign them to wcps layout settings. please see the screenshot,
    You can customize these layout by clicking on edit button

    View post on imgur.com

    Please watch this video to learn customizing layouts

    Not sure what’s happening on your side, please share any screenshot about your issue.
    Regards

    • This reply was modified 6 years, 2 months ago by PickPlugins.
    Thread Starter andrew55

    (@andrew55)

    Thank you. I’m understanding layouts better now. Video was helpful. I had set to featured products, so I have all correct products showing now.

    Instead of “add to cart” button, I need a “more info” button below each product. I had it set this way before the update. The “more info” Button/Link takes visitor to product page so they can read about product before buying.

    Any suggestions on how to replace “add to cart” button with a “more info” button?

    Thank you for any help.

    Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your reply,

    I understand your last issue, You can add custom HTML under any element via action hook, please follow, see the last code sample, display custom link under post title.

    https://www.pickplugins.com/documentation/woocommerce-products-slider/action-hooks/wcps_layout_element_id/

    Please let me know the result.

    Regards

    Thread Starter andrew55

    (@andrew55)

    Thank you. I’m thinking the action “wcps_slider_after_items” should do it.

    Last question. What would “more info” link be in the custom HTML? Of course, I need each link to go to it’s prospective product page.

    Plugin Author PickPlugins

    (@pickplugins)

    Please let me know where(after which element) you want to display “more info” link?

    I will share the code.

    Regards

    Thread Starter andrew55

    (@andrew55)

    I need to place the “more info” link after the Product Title.

    If I have the link, I can style it as a button.

    Thank you.

    Plugin Author PickPlugins

    (@pickplugins)

    ok, just copy the following code and paste on your theme functions.php file

    before adding the code please make sure you didn’t add it before, the same function name “wcps_layout_element_post_title_20200331” otherwise it will cause an error.

    
    add_action('wcps_layout_element_post_title','wcps_layout_element_post_title_20200331', 90);
    
    function wcps_layout_element_post_title_20200331($args){
    
        $product_id = isset($args['product_id']) ? $args['product_id'] : '';
        $elementData = isset($args['elementData']) ? $args['elementData'] : array();
        $element_index = isset($args['element_index']) ? $args['element_index'] : '';
    
        ?>
        <a class="button" href="<?php echo get_permalink($product_id); ?>">More info</a>
        <?php
    
    }
    

    Let me know the result.
    Regards

    Thread Starter andrew55

    (@andrew55)

    Works great. Thank you very much!

    Thread Starter andrew55

    (@andrew55)

    I’d leave a great review for your great support, but I already did a while back.

    Plugin Author PickPlugins

    (@pickplugins)

    Glad to know that its working,

    Regards

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘issues after last update’ is closed to new replies.