WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce Related Products
[resolved] Display on function? (20 posts)

  1. Adam Sargant
    Member
    Posted 2 years ago #

    Nice little plug in, thanks... I am just noticing one little oddity

    If I set "Display on" to "All", the related products appear on the single product page, but if I set "Display on" to "Single Product", the related products don't seem to display anywhere (if it helps, I have "Placement products" set to "wpsc_product_addon_after_desc"

    http://wordpress.org/extend/plugins/wpec-related-products/

  2. Onnay Okheng
    Member
    Plugin Author

    Posted 2 years ago #

    Hola Adam,
    Thanks for using my plugin. I will check that and fix soon :)

    Best regard,
    Onnay Okheng

  3. Versipellis
    Member
    Posted 2 years ago #

    Hi,

    I'm using the same plugin and have altered it slightly to use wpsc_theme_footer as a placement but I'm also unable to show it solely on the single product page. Any update?

    Thanks,

    Versipellis.

  4. stickFinger
    Member
    Posted 2 years ago #

    Hi

    Any update on that issue? I´m getting the same as Adam.

    I wanna add that the only way it works for me is setting "display" to All.
    But in my case with a wierd side efect: the related products show in the middle of the short description of my category view, both in grid view and list view.

    I really appreciate a fix for that :-)

    Thanks

  5. Onnay Okheng
    Member
    Plugin Author

    Posted 2 years ago #

    Hola All,
    So sorry, I have a busy days a few ago. Doing my another plugin WP Deals. Maybe I can update in next week. Please wait :)

    Best regard,
    Onnay Okheng

  6. stickFinger
    Member
    Posted 2 years ago #

    Hi Onnay

    i guess we ae glad to hear from you.
    I´ll wait for the update, i think that plugin is a must on a wp-e-commerce based site.

    Please keep us informed :-)

  7. Onnay Okheng
    Member
    Plugin Author

    Posted 2 years ago #

    Yeah sure, next I will create a plugin for integration between WP Deals and WPEC haha.. :D

  8. lbyleveld
    Member
    Posted 2 years ago #

    Hi - I have two questions - I am trying to use the related by product-tag option and it only displays the category... and how can I make it display below the full product section - at the moment it comes up before the product variations when I use the "wpsc_product_addon_after_desc" - thanks!

  9. Versipellis
    Member
    Posted 2 years ago #

    Open up the plugin file, and find this line:

    $place_array = array('wpsc_product_before_description', 'wpsc_product_addons', 'wpsc_product_addon_after_descr');

    change it to this:

    $place_array = array('wpsc_product_before_description', 'wpsc_product_addons', 'wpsc_product_addon_after_descr', 'wpsc_theme_footer');

    Save the file.

    Go into the plugin options, and select wpsc_theme_footer in the options where you have the other three.

    This will place the related items at the very bottom of your wpsc theme.

  10. Adam Sargant
    Member
    Posted 2 years ago #

    lbyleveld... I did this (in answer to your second question) by modifying the wpsc template in my theme. in wpsc-single_product.php find the line

    <?php do_action( 'wpsc_product_addon_after_descr', wpsc_the_product_id() ); ?>

    and place it where you want

  11. ryscript
    Member
    Posted 2 years ago #

    is there any function or shortcode I can use to display related products in any area I want? also it seems the page display in single page not working? so we need to set to display to all to work.

  12. Versipellis
    Member
    Posted 2 years ago #

    Adam, does that make an actual selectable option in the back end? The code I gave allows you to use both wpsc_product_addon_after_descr OR wpsc_theme_footer, so you can still use wpsc_product_addon_after_descr as an actual option. Which means you're not hard coding a change but simply adding another option.

  13. Adam Sargant
    Member
    Posted 2 years ago #

    Versipellis... for some reason I can't see your response... but I've just picked it up as email... nice solution... I tend to prefer not to modify plugins as then I have to remember the mod when I upgrade but in your case the plugin author should include that in the next upgrade ;-)

  14. Versipellis
    Member
    Posted 2 years ago #

    Hah no worries about missing it, agreed it would be nice if that option can be put in as a perminant option since its clear people want it :)

  15. lbyleveld
    Member
    Posted 2 years ago #

    thanks for the fix worked a treat - is there any solution to the display on single page problem - it only works for me is I choose display on all...

  16. Onnay Okheng
    Member
    Plugin Author

    Posted 2 years ago #

    Hi All,
    I have update and fix some issues hehe..
    thx to all and sorry I've made ​​you wait long.

    enjoy this. ^_^

  17. lbyleveld
    Member
    Posted 2 years ago #

    sorry Onnay but I have updated the plugin and it still doesn't show if you choose display on single page?

  18. Onnay Okheng
    Member
    Plugin Author

    Posted 2 years ago #

    all was normal on my website.
    Can you give me your site link also WP Account?
    send to my email onnay.okheng[at]gmail[dot]com
    I will try to fix that :)

    Best regard,
    Onnay Okheng

  19. blieben
    Member
    Posted 2 years ago #

    Any solution to this? Still displays on all pages and not just the single product when using footer option.

  20. Onnay Okheng
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry for late fixing the bugs.
    I have update this, enjoy the show \m/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic