Adding products to admin and affiliate dashboard
-
Hello,
Both in the admin and affiliates dashboard , the product section is empty. How can I show the products in that area?
Org?nal Code:$products = rtrim( $products, ", " ); $data[] = array( 'visit' => $referral->visit, 'type' => $referral->type, 'products' => $products, 'order_total' => $referral->order_total, 'commission' => $referral->commission, 'payment_status' => $referral->payment_status, 'time' => wp_date( $format, $referral->time ), );
Updated Code:
$products = rtrim( $products, ", " ); $data[] = array( 'visit' => $referral->visit, 'type' => $referral->type, 'products' => $referral->products, 'order_total' => $referral->order_total, 'commission' => $referral->commission, 'payment_status' => $referral->payment_status, 'time' => wp_date( $format, $referral->time ),
I wrote “products” against the product from the referrals.php file, but this time the product name appeared in different characters.
Products name : “a:2:{i:22473;s:35:”Skudo 5 Tekerleksiz Ta??ma Kafesi”;i:22468;s:35:”Skudo 7 Tekerleksiz Ta??ma Kafesi”;}”
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.