Updated by
Deleted
Adding a Collection List to the WooCommerce My Account Menu- Ignore whitespace
- // This will be the part of the URL, where the client will be able to see a list of his/her collections eg. /my-account/my-collections
- // By default the following menu items exist: dashboard, orders, downloads, edit-address, edit-account, customer-logout
- $items = array_slice( $items, 0, $position, true ) + array( $endpoint_name => $menu_item_label ) + array_slice( $items, $position, count( $items ) - 1, true ) ;
- <?php echo do_shortcode( '[picu_list_collections current_user status="sent"]<p>No collections to approve.</p>[/picu_list_collections]' ); ?>
- <?php echo do_shortcode( '[picu_list_collections current_user status="approved"]<p>You do not have any approved collections.</p>[/picu_list_collections]' ); ?>
- <?php echo do_shortcode( '[picu_list_collections current_user status="delivered"]<p>Currenlty there are no downloads available.</p>[/picu_list_collections]' ); ?>
Added
Adding a Collection List to the WooCommerce My Account Menu.php- Ignore whitespace
+ // This will be the part of the URL, where the client will be able to see a list of his/her collections eg. /my-account/my-collections
+ // By default the following menu items exist: dashboard, orders, downloads, edit-address, edit-account, customer-logout
+ $items = array_slice( $items, 0, $position, true ) + array( $endpoint_name => $menu_item_label ) + array_slice( $items, $position, count( $items ) - 1, true ) ;
+ <?php echo do_shortcode( '[picu_list_collections current_user status="sent"]<p>No collections to approve.</p>[/picu_list_collections]' ); ?>
+ <?php echo do_shortcode( '[picu_list_collections current_user status="approved"]<p>You do not have any approved collections.</p>[/picu_list_collections]' ); ?>
+ <?php echo do_shortcode( '[picu_list_collections current_user status="delivered"]<p>Currenlty there are no downloads available.</p>[/picu_list_collections]' ); ?>