Forum Replies Created
-
AuthorPosts
-
IGNACIOParticipant
Thanks, it works perfectly on the dashboard. But it does not work on the add product buttons on the products tab. How can I redirect these buttons?
IGNACIOParticipantThanks Ben but I do not clarify.
I have the Hook but how do I change the url of the button “add new product”?
http://docs.wcvendors.com/knowledge-base/wcv-dashboard-nav-class/
Can you guide me? Please. 🙁IGNACIOParticipantThe position of the “sold by” tag on the simple product page I have solved. The code theme needs to be addressed to include custom fields. I have WC Vendors Pro. I previously included this code in functions.php from my theme:
/* WC Vendors Pro – Nombre del Banco */
function store_bank_details( ){
if ( class_exists( ‘WCVendors_Pro’ ) ){
$key = ‘_wcv_custom_settings_bankname’;
$value = get_user_meta( get_current_user_id(), $key, true );
// Bank Name
WCVendors_Pro_Form_Helper::input( array(
‘id’ => $key,
‘label’ => __( ‘Bank Name’, ‘wcvendors-pro’ ),
‘placeholder’ => __( ‘Bank Name’, ‘wcvendors-pro’ ),
‘desc_tip’ => ‘true’,
‘description’ => __( ‘Your local bank name’, ‘wcvendors-pro’ ),
‘type’ => ‘text’,
‘value’ => $value,
)
);
}
}add_action( ‘wcvendors_admin_after_commission_due’, ‘wcv_store_bank_details_admin’ );
function wcv_store_bank_details_admin( $user ) {
?>
<tr>
<th><label for=”_wcv_custom_settings_bankname”><?php _e( ‘Bank Name’, ‘wcvendors-pro’ ); ?></label></th>
<td><input type=”text” name=”_wcv_custom_settings_bankname” id=”_wcv_custom_settings_bankname” value=”<?php echo get_user_meta( $user->ID, ‘_wcv_custom_settings_bankname’, true ); ?>” class=”regular-text”></td>
</tr>
<?php
}
——-If I include this code, in the same line of funtions.php my theme gives error. My web is not displayed. To keep the same code in which position would it go?
——
Then include the following code in the theme file themes>porto>wc-vendors>dashboard>store-settings.php
<div class=”tabs-content” id=”payment”>
<!– Bank Account Number –>
<?php bank_account_number (); ?>
The path has disappeared in the new update and I can not find the file store-settings.phpCould you tell me how to solve it to work again as before?
IGNACIOParticipantExcuse me. I want to include the label “sold by” under the title of the simple product:
I would like to add custom fields on the seller’s desktop. Include name and surname, tax data … I did this before by modifying code in functions.php and store-settings.php. The folder and file structure has changed with the new version of wc-vendors.
IGNACIOParticipantHi, I have written to the tecnicians about this issue. The answer is:
Hi nacho,We have checked the theme but I found that there is no issue in the theme. We have activated the WP default theme on your site then check the WC vendor issue but it is also not working on the WP default theme it means that this issue is related with WC vendor not with the theme. Please ask the plugin author to solve this issue for you.
IGNACIOParticipantHello, I use the previous version of woocomerce and wc vendors. Product level does not work for me. I have put in contact with technical support of my Porto theme in case it could affect. The currency used is €. Will keep you informed. Thank you
IGNACIOParticipantGood morning, I have disabled all plugins leaving only Wc Vendors, Wc Vendors Pro and Woocomerce active. I deleted my cache. Still not working, which gives me to understand that there is no plugin that is affecting. I do not understand why you work commissions at product level and I do not.
IGNACIOParticipantThank you. Fee adjustments apply after discount coupons apply. I do not say that it is wrong, but in my case this option is not viable because I want the seller’s discount to apply only to his commission. If in the future you find any solution, I would be eternally grateful.
IGNACIOParticipantThank you, the discount coupons from the sellers I have tried and they work. But the discounts applied by the sellers apply on the price of the whole product. In my case I just want it to affect the commission of the seller. In other words, if a seller wants to create a discount of 50% on his commission of € 5, he is paid € 2.5. Currently if applies the discount of 50% applies to the price of the entire product. In my case, the seller produces a part of the product. The other part is produced by me, and I do not want it to be affected.
On the other hand we offer loyalty discounts and marketing campaigns, the fact that we can not use the discounts limits us in all aspects:
1- If we offer a discount on woocommerce does not apply proportionally in the commission of the seller. And to modify it is quite tedious.
2- The seller can not create discounts for his own commission (used by the seller to only pay the production costs, give coupons to friends or relatives and make the product cheaper). If a seller applies a 100% discount the product goes free and we lose money.
In my case, these points are fundamental for the correct functioning of the web. Nowadays automation is fundamental for me, as it saves time and dedication. Thank you very much and I hope they solve it soon. a greetingIGNACIOParticipantI have another query regarding the woocomerce rebates. They are misapplied on commissions of sellers. Can you edit the commissions in the commission tab?
IGNACIOParticipantOk, please take it into account. It would be important for us that the issues that have remained pending for a future are resolved. We produce products in collaboration with the sellers, therefore we have production costs that can not be altered by the discounts that the sellers decide. Regretting our stores are going to have limitations.Thanks
IGNACIOParticipantHi, I have a problem. The seller discount I just want it to apply to the seller’s commission not to the entire product. If a seller receives a commission of € 5 and creates a 50% discount that applies only to his commission (€ 2.5 discount on his commission). It would be well to create the same tool for the administrator and to be able to apply discounts for certain sellers or products and apply to the total of the product and affect equally the commissions. Since coupons woocommerce discounts do not work … Is it possible?
IGNACIOParticipantAfter turning around I have managed to understand the calculation of the commissions and seems to be correct, are calculated logically with the net price, once taxes are eliminated. The only thing that is missing is to solve the decimals of the commission percentage in the product edition.
IGNACIOParticipantWC Vendors Pro
IGNACIOParticipantI just checked that in the general settings if you let the default commission apply with decimals, but it does not leave when you apply the commission in the settings of a product. In my case each product has a different commission and would need to apply commissions with decimals.
IGNACIOParticipantHello, any decimal is removed.
IGNACIOParticipantOk, how do you enable it? In edition of the product, in the tab of commission I do not support the decimals, as soon as I update the product it erases the decimals. If I put 20.80 when updating the product it makes me 20% … I searched in woocommerce and wcvendors settings and did not find the option to allow decimals …
IGNACIOParticipantThe coupons would be for woocommerce, not wc vendors pro
IGNACIOParticipantGood morning, excuse me for being confused. Forget the above because I
already have it clear. My question is the following, if I create a
discount coupon, does that discount also apply to the seller’s
commission? I would like it to apply also to the seller’s commission.
Does it work this way?IGNACIOParticipantIt’s interesting, but it would not be better for a code to directly identify a vendor’s products automatically, without the need to enter the product id each time a vendor creates a product. With only one seller and 10 products is no problem, but if you have 10,000 products from 500 sellers?
IGNACIOParticipantIts OK! Thaks!!
IGNACIOParticipantSorry it does not work
IGNACIOParticipantSorry it does not work:
add_action( ‘wcvendors_admin_after_commission_due’, ‘wcv_store_bank_details_admin’ );
function wcv_store_bank_details_admin( $user ) {
?>
<tr>
<th><label for=”_wcv_custom_settings_bankname”><?php _e( ‘Bank Name’, ‘wcvendors-pro’ ); ?></label></th>
<td><input type=”text” name=”_wcv_custom_settings_bankname” id=”_wcv_custom_settings_bankname” value=”<?php echo get_user_meta( $user->ID, ‘_wcv_custom_settings_bankname’, true ); ?>” class=”regular-text” required></td>
</tr>
<?php
}IGNACIOParticipantAnother question if it is not too much trouble, to make the text field a required field which code should be added? Thank you
IGNACIOParticipantI have located the error. I copied all the code and a few keys left the end of code that disabled the rest, so my web was not displayed. Thank you
add_action ( ‘wcvendors_admin_after_commission_due’, ‘wcv_store_bank_details_admin’);
wcv_store_bank_details_admin función ($ usuario) {
?>
<Tr>
<Th> <label for = “_ wcv_custom_settings_bankname”> <? Php _e ( ‘Nombre del banco’, ‘wcvendors-pro’); ?> </ Label> </ th>
<Td> <input type = “text” name = “_ wcv_custom_settings_bankname” id = “_ wcv_custom_settings_bankname” value = “<? Php echo get_user_meta ($ usuario-> Identificación, ‘_wcv_custom_settings_bankname’, true);?>” Class = “regularización texto “> </ td>
</ Tr>
<? Php
}
?> ————> this “?>” is the errorIGNACIOParticipantThe web appeared blank. I’ll try it again as I undo the changes made. I did not know very well what position to place the code. I will try to post it after the theme issue and I will write you with the result. Thank you
IGNACIOParticipantGood afternoon the code disables the web.
IGNACIOParticipantSorry for the inconvenience, it is resolved, it was an issue with the wordpress theme that has been resolved. Thank you very much.
IGNACIOParticipantSorry but the code should be incorrect, I still give the same error: “The page lamadrequetestampo.com does not work. The lamadrequetestampo.com page can not process this request now.HTTP ERROR 500” https://lamadrequetestampo.com/camisetas/
IGNACIOParticipantSorry, I try to make the first step that they tell me but I disappear the page with products by category. Am I not an expert, explaining in detail? “To remove the sold by in the product loop (main shopping pages)?”
IGNACIOParticipantI would like to hide the “sold by” label on the store and display products from woocommerce and show it on the product page. I also have products of administrator and sellers, but I would like to show them in the products of the sellers and not the products that the administrator publishes.
IGNACIOParticipantGood afternoon, I have followed all the steps that you comment and it is not effective. I copied in style.css from my theme and it does not change anything. I want to remove the title and the white background from the header.
-
AuthorPosts