Forum Replies Created
- AuthorPosts
- October 10, 2018 at 12:34 pm in reply to: New product type saving issue on manage product section. #33713info31Participant
Hello,
Can you please guide me for, How can I override “if( ( $wcfm_products_manage_form_data[‘product_type’] != ‘variable’ ) && ( $wcfm_products_manage_form_data[‘product_type’] != ‘variable-subscription’ ) ) $is_variation = 0;” code into the function.php? because of this condition my variations are not saving into the database for custom product type.
I have tested my code by added into the plugin file and from plugin, my code has worked for variation. But when I tried to add that code into the function file it was not working. I have checked my function file code on “after_wcfm_product_variation_meta_save” and “after_wcfm_products_manage_meta_save” action. Please correct me if I am wrong. It is very urgent for me.
I am waiting for your response.
Thanks in advance.
October 10, 2018 at 6:49 am in reply to: New product type saving issue on manage product section. #33673info31ParticipantHello,
Sorry but if my code is wrong then why it is saved into the database from admin panel? Even after saved the product, when I checked into the product edit screen. “Tickets” product type is displaying as selected product type into the admin panel.
Thanks in advance.
October 8, 2018 at 4:12 am in reply to: New product type saving issue on manage product section. #33520info31ParticipantHi,
Any updates?
Thank you
October 5, 2018 at 4:46 am in reply to: New product type saving issue on manage product section. #33323info31ParticipantHello,
We you please check my issue.
Thanks in advance.
October 3, 2018 at 8:36 am in reply to: New product type saving issue on manage product section. #33150info31ParticipantHello,
“What we need to do for store “Use as Variation” value into the database?”
– it is working in admin panel.October 1, 2018 at 8:39 am in reply to: New product type saving issue on manage product section. #32959info31ParticipantHello,
Yes, product is saving as “tickets” product type. What we need to do for store “Use as Variation” value into the database?
Thanks in advance.
September 28, 2018 at 10:53 am in reply to: New product type saving issue on manage product section. #32765info31ParticipantHello,
I have did changes as you said but still my “Use as Variation” value not saved into the database. Will you please check.
Thanks in advance.
September 26, 2018 at 4:15 am in reply to: New product type saving issue on manage product section. #32556info31ParticipantHello,
Any updates?
Thanks in advance.
September 25, 2018 at 5:17 am in reply to: New product type saving issue on manage product section. #32478info31ParticipantThis reply has been marked as private.September 24, 2018 at 11:33 am in reply to: New product type saving issue on manage product section. #32364info31ParticipantHello,
I have checked controller code in the “wcfm-controller-products-manage.php” file and I found that functionality added for particular product types. In plugin, is_variation value set 1 if product_type is variable or variable-subscription. I want to store my variations for custom product type “Ticket” but I am getting any function for do this thing. Will you please guide me that how can I add code for custom product type “Ticket”?
Thanks in advance!!!
September 24, 2018 at 4:38 am in reply to: New product type saving issue on manage product section. #32354info31ParticipantHello,
Yes, I am able to create ticket product from wp-admin area.
I am using below code for new product type “Ticket” and this product type is variable product. Please check and let me asap:
add_filter( ‘wcfm_capability_settings_fields_product_types’, function( $product_types, $handler = ‘wcfm_capability_options’, $wcfm_capability_options = array() ) {
global $WCFM;$tickets = ( isset( $wcfm_capability_options[‘Tickets’] ) ) ? $wcfm_capability_options[‘Tickets’] : ‘no’;
$product_types[“Tickets”] = array(‘label’ => __(‘Tickets’, ‘wc-frontend-manager’) , ‘name’ => $handler . ‘[Tickets]’,’type’ => ‘checkboxoffon’, ‘class’ => ‘wcfm-checkbox wcfm_ele’, ‘value’ => ‘yes’, ‘label_class’ => ‘wcfm_title checkbox_title’, ‘dfvalue’ => $tickets );
return $product_types;
}, 60, 3 );function wcfmcap_is_allow_custom_product_types( $product_types ) {
$wcfm_capability_options = apply_filters( ‘wcfm_capability_options_rules’, get_option( ‘wcfm_capability_options’, array() ) );
$ickets = ( isset( $wcfm_capability_options[‘Tickets’] ) ) ? $wcfm_capability_options[‘Tickets’] : ‘no’;
if( $tickets == ‘yes’ ) unset( $product_types[ ‘Tickets’ ] );
return $product_types;
}
add_filter( ‘wcfm_product_types’, ‘wcfmcap_is_allow_custom_product_types’, 700 );This is urgent for me please check and let me asap.
Thanks in advance!!!
info31ParticipantThank you for all the help.
I might need some assistance. We’ve used the code provided, but can’t seem to get it to work.
Even when we disable SIMPLE PRODUCTS, all new product added shows up as a Simple Product and not a Custom Product (Tickets).
Would you have an idea why? (We’ve cleared the cache as well).Racking our brains and we can’t figure this out. It’s been a few weeks.
info31ParticipantHello,
When I am trying to registration from “wcfm_vendor_membership” shortcode page. After registration successfully, I am getting this “https://imgur.com/a/xOFdDW8” issue and user role set “None”. This not working properly. Can you please give instruction to set role for this page.
When I am trying to registration from “wcfm_vendor_registration” shortcode page. After registration successfully, I am getting this “https://imgur.com/a/xOFdDW8” issue and user role set “Store Vendor”. This is working fine.
Thanks in advance!
info31ParticipantHello
No , I am not using any plugin which is related to role. I have not deleted any user role.
I have only “WooCommerce Multivendor Marketplace” and “WooCommerce Multivendor Membership” plugins which may related to role.
Thank you
info31ParticipantThank you for your response, I have done this code from my side.
Thanks for support 🙂
info31ParticipantThanks for response.
Now “Became a Vendors” button link is working now but my user role set “None” after did registration successfully on my website. Do I need to do anything other settings for set vendor role into the registration form?
Thanks is advance!!!
info31ParticipantHello,
Are you check my problem? I am waiting for your response. I need to do this asap. Please give me guidance for override template.
Thanks in advance!!!
info31ParticipantWCFM Pages is NOT showing up in my Admin. Screenshot shown above.
Would you know why it disappeared?
Membership has been installed.
info31ParticipantThis reply has been marked as private.info31ParticipantHi,
So, for solve this issue do I need to revert latest version of plugin to lower version?
Thanks in advance..
info31ParticipantThis reply has been marked as private.info31ParticipantHi,
Will you please give any reply for this issue.
Thanks.
info31ParticipantHi,
I am using “Endurance Browser Cache” plugin, which is “Must Use” plugin. This plugin is installed by bluehost panel. I have already stop caching of this plugin. Please check attachment for caching level.
Thank you.
Attachments:
You must be logged in to view attached files.info31ParticipantHi,
Yes, I have checked browser console but I am not getting any javascript error. When I was clicked on “Create New Product” button, only # was append into the url. Please check “http://nimb.ws/95s0Sh” link for check browser console or please check the attachment for it. This issue is very urgent me. Please check and let me know.
Attachments:
You must be logged in to view attached files.info31ParticipantThank you.
I’ve gone through those help and info, but it doesn’t show why my SUPPORT button doesn’t seem to work when a user clicks it.
https://cl.ly/tPPY/Screen%252520Recording%2525202018-08-02%252520at%25252001.42%252520PM.gifWould you be able shed some insights please?
- AuthorPosts