WooCommerce

wordpress.org

This plug-in is written for WooCommerce 3.8 and higher.  Download our WooCommerce plug-in for the Wordpress plug-in repository.

Configuration Instructions

1
Sign into your Rejoiner Account and click Implementation. Copy your Rejoiner Site ID.

2
Upload, and activate the WooCommerce Rejoiner plug-in to your WooCommerce instance.
3
Visit WooCommerce Settings and look for the Integration tab, click on the Rejoiner link.
4
Enter your Rejoiner Site ID, Domain, API Key & API Secret. Save your settings.
Testing Instructions
1
Walk through the testing guidelines outlined here.
If you offer PayPal as a payment option, please verify that Auto Return is activated by  following these instructions.

Cart Image Size

The standard image size (width and length) you are passing us will vary according to your Wordpress theme. However, sometimes you will want to pass us larger image sizes in order to avoid pixelated images showing in your creative–this also helps with rendering images for retina display devices.

Please follow the instructions below to modify the image size you are passing us.

1
Go into your theme's functions.php file.
2
Next, add the following code into your file.
// Use this filter to specify the image size to be passed to rejoiner. 
add_filter( 'wc_rejoiner_thumb_size', 'my_wcrj_thumb_size' );
function my_wcrj_thumb_size( $size ) {
    return array( IMAGE WIDTH HERE, IMAGE HEIGHT HERE );
}
	
3
Next, substitute the text IMAGE WIDTH HERE and IMAGE HEIGHT HERE with the correct width and height you want to use.
Note: You can return a  named image size, eg: 'medium' or an array of dimensions, eg: array ( 800, 600 )

An example of the code snippet using width and height:

// Use this filter to specify the image size to be passed to rejoiner. 
add_filter( 'wc_rejoiner_thumb_size', 'my_wcrj_thumb_size' );
function my_wcrj_thumb_size( $size ) {
    return array( 800, 600 );
}
	

An example of the code snippet using  named image size: (You must add single quotes to the named image size)

// Use this filter to specify the image size to be passed to rejoiner. 
add_filter( 'wc_rejoiner_thumb_size', 'my_wcrj_thumb_size' );
function my_wcrj_thumb_size( $size ) {
    return array( 'medium' );
}
	
4
Next, save your theme's functions.php file.
5
To confirm that the change has taken place follow  these instructions and verify the image size using the set_cart_item call, which looks like so in your Chrome Dev Tools.
6
Next, copy the image_url address in a new browser tab
7
Lastly, right click the image and select "inspect" to see the actual image dimensions.

Still need help? Contact Us Contact Us