Support » Plugin: WP e-Commerce Related Products » [Plugin: WP e-Commerce Related Products] Display on function?

  • Resolved Adam Sargant

    (@adamsargant)


    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/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Onnay Okheng

    (@onnayokheng)

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

    Best regard,
    Onnay Okheng

    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.

    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

    Plugin Author Onnay Okheng

    (@onnayokheng)

    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

    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 🙂

    Plugin Author Onnay Okheng

    (@onnayokheng)

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

    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!

    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.

    Thread Starter Adam Sargant

    (@adamsargant)

    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

    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.

    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.

    Thread Starter Adam Sargant

    (@adamsargant)

    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 😉

    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 🙂

    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…

    Plugin Author Onnay Okheng

    (@onnayokheng)

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

    enjoy this. ^_^

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: WP e-Commerce Related Products] Display on function?’ is closed to new replies.