kenil802
Forum Replies Created
-
Forum: Plugins
In reply to: [Product Input Fields for WooCommerce] Add to Cart via linkHi @gpcrawford
Could you please explain to us what exactly are your needs with the plugin as we are a bit unclear with your query?
So, it would be great if you can explain to us with an example so that we can assist you in a better way.
Regards,
Kenil ShahForum: Plugins
In reply to: [Product Input Fields for WooCommerce] Input field into next rowHi @traedas,
Regarding the query, we have the HTML field, so to add into the next row add <br> tag as shown in the screenshot:- https://prnt.sc/vdbbfm.
Regarding two input options, it is not possible to add a second input field without the Pro version.
Please let us know if you have any further queries.
Regards,
Kenil ShahForum: Plugins
In reply to: [Product Input Fields for WooCommerce] Fiel for 1 productI am glad to hear that you fixed the first question.
Regarding the second done, do you mean that you want the condition to be applied on the min and max values like when a particular option is selected this many letters should be allowed and if the second option is selected, this many letters should allow? If so, then I am afraid that currently, it is not possible from our plugin.
Do let us know if we have misunderstood your query.
Regards,
Kenil ShahHi @muslimovtv,
I am glad that you found the fix for the issue.
Please let us know if you have any further queries.
Regards,
Kenil ShahForum: Plugins
In reply to: [Product Input Fields for WooCommerce] Fiel for 1 product1) To put only one input field for the product, it is necessary for you to enable the Per Product setting as shown in the screenshot: https://prnt.sc/vcftnj.
2) Yes, it is possible to set the minimum and maximum of letters by going to the Edit Product page, there is an option to set the min and max value to be set as shown here: https://prnt.sc/vcfv8s.
Please let us know if you have any further queries.
Regards,
Kenil ShahHi @anteroriihimaki,
Apologies for the delay in response.
Could you please add the below code for adding the field under the product names and check whether it is working or not?
Code:
add_filter( ‘wcdn_order_item_fields’, ‘wcdn_product_field’, 10, 4 );
function wcdn_product_field( $array, $product, $order, $item ) {
$new_fields = array();
$new_fields[‘your_field_name’] = array(
‘label’ => ‘Field label’,
‘value’ => Your Product Value which you will get through the $product,
);
return $new_fields;
}Please do let us know how it goes.
Regards,
Kenil Shah- This reply was modified 5 years, 6 months ago by kenil802.
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Get Attribute in PDFHi @kajahal,
I see that we are already having our conversation on the ticket. So, we will continue there.
Regards,
Kenil ShahHi @juliasavory,
Could you please try adding the below code and check whether it is working fine or not.
Code:
/**
* Add this code snippet in functions.php file of your currently active theme.
* An example that adds a ‘VAT’ and ‘Customer Number’ field to the end of the list.
*/
function example_custom_order_fields( $fields, $order ) {
$new_fields = array();if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
$new_fields[‘your_meta_field_name’] = array(
‘label’ => ‘VAT’,
‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
);
}if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
$new_fields[‘your_meta_field_name’] = array(
‘label’ => ‘Customer Number’,
‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
);
}return array_merge( $fields, $new_fields );
}
add_filter( ‘wcdn_order_info_fields’, ‘example_custom_order_fields’, 10, 2 );Also, please replace the meta key with the custom one which you want to add.
Do let us know how it goes.
Regards,
Kenil ShahHi @km00,
I have asked the developer regarding this and they informed us that, yes, it is possible to show the print button on my account page when the order status is completed. For this, you have to replace the below file in our plugin folder.
File name:- class-wcdn-theme.php
File Path :- wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-theme.php
Dropbox Link:- https://www.dropbox.com/s/f8u89yrogb5b60e/class-wcdn-theme.php?dl=0Please do let us know how it goes.
Regards,
Kenil ShahHi @homelux,
Could you please add the below code in the functions.php file of your currently active theme and also replace the field name & value with the product field which you want to add and check whether it is working or not.
Code:
add_filter( ‘wcdn_order_item_fields’, ‘wcdn_product_field’, 10, 4 );
function wcdn_product_field( $array, $product, $order, $item ) {
$new_fields = array();
$new_fields[‘your_field_name’] = array(
‘label’ => ‘Field label’,
‘value’ => Your Product Value which you will get through the $product,
);
return $new_fields;
}Please do let us know how it goes.
Regards,
Kenil ShahHi @robbie-the-mole,
We have replicated the issue on our staging site where the product image does not appear when we click on the print invoice from the Orders list.
However, I have added the issue on our Github repository and soon we will work on this and get back to you with an update.
Regards,
Kenil ShahForum: Plugins
In reply to: [Arconix FAQ] Bold QuestionsHi @ntrescue,
Sorry for the delay in response.
Could you please try the below CSS code in the style.css file of your currently active theme and check whether the title of the FAQ’s is getting bold or not.
CSS code:
.arconix-faq-title {
font-weight: bold;
}Please do let us know how it goes.
Regards,
Kenil ShahForum: Plugins
In reply to: [Product Input Fields for WooCommerce] EXPORT FIELD INSIDE CSV FILESHi @artprofile,
Could you please let us know whether you have enabled the All Products option and whether you have added the input field for Field #2?
Also, it would be great if you can share the screenshot of the plugin settings which you have kept and also of the issue which you are facing so that we can check once.
Please do share the same.
Regards,
Kenil ShahHi @puntorosso,
Apologies for the delay in response.
We have replicated the issue on our staging site where we are getting error in the debug log file.
However, we have added the issue on our Github repository and soon we will work on this and get back to you with an update.
Regards,
Kenil ShahHi @km00,
Apologies for the delay in response.
I will ask the developer regarding your query whether it is possible to show the Print button only when the status is completed or not and get back to you with an update.
Regards,
Kenil Shah