Support » Plugin: WP eCommerce » How to display the product page in 2 different ways

Viewing 3 replies - 1 through 3 (of 3 total)
  • optimized-marketing

    (@optimized-marketingcom)

    I have been trying to figure out something similar but for any page not just the product page. My best guess is we will need to create a new template page with the edits and updates based off of the current template pages (ex. wpsc-single_product.php or wpsc-shopping_cart_page.php). Then create a new shortcode and call it similar to how WP E-Commerce does it. (ex. [shoppingcart2] or [productspage2])

    To do it for product page it might be slightly easier because it looks like they already split the product page templates in to grid and list template pages. so you would just need to call those templates using shortcode.

    I am currently trying to figure out what code they use to create their page shortcodes.

    Plugin Author Justin Sainton

    (@justinsainton)

    Hi all,

    There’s not currently a way, from the short code in the core plugin, to utilize grid view on one page and list view on another.

    Part of the reasoning here is that list and grid view are currently premium plugins.

    That said, we don’t even have the filters in place to make this happen if they weren’t premium plugins. Probably worth opening a ticket on our GitHub issue tracker?

    optimized-marketing

    (@optimized-marketingcom)

    That is correct there is no way to do this through the current built-in functionality of the plugin, but there are ways to get it done using the functions built into the plugin. I just completed a proof of concept based on my post above.

    I was able to create my own checkout shortcode that calls my custom checkout page (wpsc-shopping_cart_page2.php). The shortcode basically just uses the functions specific to checkout which I was able to find in /wpsc-components/theme-engine-v1/helpers/page.php.

    I added the Shortcode to a page and the page loads correctly and used my new Checkout Template Page.

    If you don’t feel like waiting around for this to be added you can always try this work around.

    It would be awesome if this plugin had this feature built-in so it would be easier to run multiple layouts at the same time. Also if it had the ability to build custom layouts that could be assigned at a product or category level instead of a blanket layout for all products and categories. These are the only thing preventing this plugin from being the the best and go to e-commerce plugin for all my sites.

    Could you send me a link for your GitHub issues tracker so a ticket can be created?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to display the product page in 2 different ways’ is closed to new replies.