Saravana Kumar K
Forum Replies Created
-
Hi, because of the JSON encoding it’s happening, I will put a proper escaping for single & double quotes on my next release.
Forum: Plugins
In reply to: [WC Fields Factory] Fields do not show up in cross sell productsHi thanks for the heads up, I will test and let you know the fix.
Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] 404 error when add to cartHi,
can you disable all your plugins except Woocommerce & WC Fields Factory and try again.
if the problem still exist, just switch your theme to wordpress default one ( twenty fifteen or … ) and then try again.
Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Plugin not working when Product is embedded by shortcodeHi @frenzyrid,
Which shortcode you used.?
[product id=””]
[products ids=””]
[product_page id=””]Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Hide meta from order and emailsGreat, Ok let me close this as resolved. also I would really appreciate your rating and review, if this plugin is useful. that would be great.
Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Cloned Fields Not RecordingOh man that needs some quite modification ( not a complicated one though )
Target file is
WC Fields Factory/classes/product_form.phpLN : 449
Comment it out that lline and add this instead
$pcount = intval( $_REQUEST["attribute_pa_quantity"] );LN : 584
Comment it out that lline and add this instead
$pcount = intval( $cart_item["attribute_pa_quantity"] );LN : 716
Comment it out that lline and add this instead
$pcount = intval( $cart_item["attribute_pa_quantity"] );LN : 857
Comment it out that lline and add this instead
$pcount = intval( $values["attribute_pa_quantity"] );I actually it would be a good idea to trigger a filter for this cloning quantity I think. I will try to include it in my upcoming release.
Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Plugin not working when Product is embedded by shortcodeHi, I haven’t really tested this scenario, thanks for the heads up, I will test it and release the fix ASAP.
Forum: Plugins
In reply to: [WC Fields Factory] Hide meta from order and emailsThat’s kind of specific requirement, but right now there is no option to do it from WC Fields Factory, but you can via by handling
woocommerce_order_items_meta_displayhook.Here is an idea.
function hide_wcff_meta( $output, $order ) { $html = ''; $formatted_meta = $order->get_formatted( '_' ); if ( ! empty( $formatted_meta ) ) { $meta_list = array(); foreach ( $formatted_meta as $meta ) { /* Here you can add as many as condition you want, depends on how many fields you wanted to hide */ if( $meta['label'] != "Your Fields Label" ) { $meta_list[] = ' <dt class="variation-' . sanitize_html_class( sanitize_text_field( $meta['key'] ) ) . '">' . wp_kses_post( $meta['label'] ) . ':</dt> <dd class="variation-' . sanitize_html_class( sanitize_text_field( $meta['key'] ) ) . '">' . wp_kses_post( wpautop( make_clickable( $meta['value'] ) ) ) . '</dd> '; } } if ( ! empty( $meta_list ) ) { $html .= '<dl class="variation">' . implode( '', $meta_list ) . '</dl>'; } } return $html; } add_filter( 'woocommerce_order_items_meta_display', 'hide_wcff_meta', 99, 2 );Forum: Plugins
In reply to: [WC Fields Factory] Suggestion to filter plugin optionsHi @jonathandejong, cool thanks man, currently we are working on premium version, which involves more solid features as well as major code structure changes, we will definitely use your suggestion.
Note :
I am not aware ofgithubrepository for WP plugin or how it works, I will have a look at it.Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Cloned Fields Not RecordingHi, have you done any customization ( JS level ), because the Cloning option works based on
quanityfield value change, but it seems some how you have managed to trigger that for one of your variable attributepa_quantityselect box. but in the back end, the cloning fields are parsed based on thequantityfield value ( which is still 1 in this case ) thats why it’s not working for you.Forum: Plugins
In reply to: [WC Fields Factory] Using With Quote Request PluginThank you @philippze
Forum: Plugins
In reply to: [WC Fields Factory] Add fields in accordion or set them side by sideHi, the tab option seems to be useful, I will try include that as an option, on my up coming release.
Forum: Plugins
In reply to: [WC Fields Factory] Field Validation fails after upgradeHi the API has been changed for loading all fields, use the following instead
$all_fields = apply_filters( 'wcff/load/all_fields', $product_id );Forum: Plugins
In reply to: [WC Fields Factory] Overriding PriceHi carver1g, thanks for posting this, that client side validation issue for Radio & Check field, actually that was an open bug.
Anyway I got the issues, will release the fix for this as well as for some other issues that raised by you earlier ASAP.
Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Overriding PriceThe code you are using is outdated, here you can find the updated one.