Only 2 Related Products
Q: In every product page related products shows are only 2. Can I manage show more related products?
A: Drop the code below into your functions.php file
of your Theme:
@@@
/**
* Jigoshop Related Products
**/
if (!function_exists('jigoshop_output_related_products')) {
function jigoshop_output_related_products() {
$jigoshop_options = Jigoshop_Base::get_options();
if ($jigoshop_options->get_option ('jigoshop_enable_related_products') != 'no')
// 2 Related Products in 2 columns
jigoshop_related_products( 2, 2 );
}
}
@@@
Change the jigoshop_related_products( 2, 2 ); to
whatever you want up to 5 products. So for example, just change it
to jigoshop_related_products( 5, 5 );
-
Getting Started
-
Jigoshop Settings
-
Creating Products
-
Using Jigoshop
-
Customize Jigoshop
-
Testings – in case of problems on Jigoshop web site
-
FAQ – Jigoshop plugin user questions
- Add a new tab to a product page / Custom tabs on product pages?
- Adding a Continue Shopping button to the single product page
- Adding Product Category Terms in a dropdown box for Custom Post Meta
- Add Alternate text on product picture and title
- Adding buttons / info to the end of each product
- View all (171 more)
-
FAQ – Jigoshop extensions user questions
-
API
-
Screencasts