Tags Archives: shortcode

fatal error when viewing Affiliate profile.

Posted in

Hi, We are seeing a fatal error when viewing affiliate profile page I have put together for our affiliates. This is just an inquiry , seeking an explanation or pointer to what could be a reason. Here is the message: Fatal error: Uncaught Exception: Invalid order. in /homepages/34/d682709062/htdocs/snac/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:86 Stack trace: #0 /homepages/34/d682709062/htdocs/snac/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): Abstract_WC_Order_Data_Store_CPT->read(Object(WC_Order)) #1 /homepages/34/d682709062/htdocs/snac/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(109): […]

Continue Reading

if Affiliate Partner is logged in

Posted in

Hey! I want to show an affilitate link in sidebar if affiliate partner is logged in. This is my code: if( is_user_logged_in() && (current_user_can(‘customer’)){ echo do_shortcode( ” ); } I can’t find in the documentation if the affiliate has a userrole or how to check if an affiliate partner ist logged in. Has anybody a […]

Continue Reading

Showing affiliates profile shortcode is not working as documented.

Posted in

Hi, I am using shortcodes: It can only show paypal_email attribute. Others it cannot show, both coupon and referral rate is set. It broken even when edit_attribute parameter is used in the shortcode for these other attributes. Please advise how to fix this. The document indicates that coupons, referral_rate, referral_amount should show if it is […]

Continue Reading

Differentiate different “Sale” referrals

Hi guys, We’re improving the Affiliate Stats shortcode and we would like to differentiate different type of “sale” referrals. To be more precise, we’d like to add something in the [data] key of the variable $IXAP15 (in “class-affiliates-affiliate-stats-renderer-wordpress.php”) when the referral was made through a permanent association. Currently, there are no information I can use […]

Continue Reading

Changing “Post” and “Detail” information

Hi guys, We’d like to alter the information displayed by the “Detailed Referral Overview” shortcode However, we’re not too sure how to do that. For example, the “post” column is populated by links with wrong URLs so they forward the user to nothing : Protected: Order – January 7, 2016 @ 02:55 PM —-> http://nationhats.staging.wpengine.com/?post_type=shop_order&p=12020 […]

Continue Reading

jQuery Error

Hi there, We recently have a jQuery error that crashes the entire “My-Account” page, the problem goes away when we deactivate Affiliate Enterprise. We have not altered any core files. I was editing the page with Visual Composer when I noticed a few things were wrong with the page. It seems to be related to […]

Continue Reading

Problem when I activated Affiliates Permanent

Hello, I’ve been using the below shortcode for the week but it particialy stopped working after I installed affiliates permanent. My website has affiliate links to other products, I’ve been using the above shortcode to credit the referring affiliate with any sales made using these affiliate links. Example: http://clickbank.com/product/affid= This worked fine before I installed […]

Continue Reading