You can follow the instructions given below to insert user id as product SKU. 1) Add a hidden field to the product form you created & insert _sku meta key to that field. Refer Screenshot: http://prntscr.com/ef1e0f 2) Now, Add the following code inside the theme’s functions.php file. Note: This is a Developer… Continue reading How to add user id as product SKU with WP User Frontend product form.
The unique SKU of the products is not being set when the products are created. To add unique SKU with products, then follow the instructions given below. 1) Add a custom text field with _sku to the product form. Screenshot: http://prntscr.com/eb2ext 2) Add the following code inside the theme’s functions.php file. Note: This is a… Continue reading How to create unique SKU with WP User Frontend custom field.
If you are having an issue with updating the schedule dates of WooCommerce product using WPUF fields, you can follow the given instructions to solve this issue. 1) Add two date type field to WPUF form that you created to allow users for uploading products. 2) Insert _sale_price_dates_from & _sale_price_dates_to meta keys accordingly for these… Continue reading How to update WooCommerce sale price dates meta using WPUF date fields
Here is the guideline for charging a different amount for different post types. 1) Navigate to wp-admin > User Frontend > Subscription. Click on Add New Subscription button to add new subscription. 2) Now, You can see the fields to enter the number for each post. 3) If you want to allow only one post… Continue reading How to charge different amount for different post type using WP User Frontend subscription pack
To define the seller dashboard page instead of setup wizard after registering as a new seller, you can add the following code to your theme’s functions.php file. Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, contact me for assistance. // define the seller dashboard page instead… Continue reading How can redirect to the “seller dashboard” instead of seller setup wizard
To display quantity input fields for simple products within your shop archive pages, you can add the following code to your theme’s functions.php file. Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, contact me for assistance. <!–?php /** * Code should be placed in your theme… Continue reading How to display quantity input fields next to add to cart buttons.
weDevs use WordPress’ best practices to make it as compatible as possible with all themes and plugins; however, some theme and plugin authors do not adhere to these best practices which can often result in a theme or plugin conflict with our plugins The following section provides instructions for determining if an issue you are… Continue reading How to Identify a Conflicting Theme or Plugin
Given an array of N integers, can you find the sum of its elements? Input Format The first line contains an integer, N denoting the size of the array. The second line contains N space-separated integers representing the array’s elements. Output Format Print the sum of the array’s elements as a single integer. Sample Input… Continue reading Simple Array Sum