Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Setting up Paypal Gateway 1st time #62343
    Joshua Grady
    Participant

    Thanks!

    in reply to: Vendor got 100% of Payment #62233
    Joshua Grady
    Participant

    Anna –

    I am using some code in functions.php that Benjamin gave me and altered it to my fee rate:

    /* WC Vendors Pro — No % for commission, just a tiered fee structure */
    add_filter( ‘wcv_commission_rate’, ‘my_wcv_commission_rate’, 10, 5 );
    function my_wcv_commission_rate( $commission, $product_id, $product_price, $order, $qty ) {

    // First, reduce price to qty1 to do calculations
    $product_price = $product_price / $qty;

    // Second, run through the price and apply the right commission fee
    if ( $product_price > 48.99 ) {
    $commission_fee = 3.36;
    } elseif ( $product_price >= 42.00 && $product_price <= 48.99 ) {
    $commission_fee = 2.94;
    } elseif ( $product_price >= 35.00 && $product_price <= 41.99 ) {
    $commission_fee = 2.52;
    } elseif ( $product_price >= 28.00 && $product_price <= 34.99 ) {
    $commission_fee = 2.10;
    } elseif ( $product_price >= 21.00 && $product_price <= 27.99 ) {
    $commission_fee = 1.68;
    } elseif ( $product_price >= 14.00 && $product_price <= 20.99 ) {
    $commission_fee = 1.26;
    } elseif ( $product_price >= 7.00 && $product_price <= 13.99 ) {
    $commission_fee = 0.84;
    } elseif ( $product_price >= 0.00 && $product_price <= 6.99 ) {
    $commission_fee = 0.42;
    }

    // Third, set the commission to price – fee, since this is just a
    // deduction no percentages are applied
    $commission = $product_price – $commission_fee;

    // Fourth, play it safe by setting to 0 if it’s negative
    if ( $commission < 0 ) $commission = 0;

    // Fifth, round it so there’s no half pennies
    $commission = round( $commission * $qty, 2 );

    // Finally, return the commssion total per product.
    return $commission;
    }

    – So if I modified that code, do I still need a default?

    in reply to: PayPal API Username? #62100
    Joshua Grady
    Participant

    Forget it ! Found them!!

    PayPal Sandbox account…

    in reply to: Setting up Paypal Gateway 1st time #62031
    Joshua Grady
    Participant

    Also, while trying to choose Parallel Payments the form states it is deprecated?

    Thanks!

    in reply to: Vendor got 100% of Payment #62029
    Joshua Grady
    Participant

    Reading through the site to find helpful info on setting up Paypal Gateway and how fees work.

    I currently have code added to my functions.php that overrides the fees to be set at either 5,10,15 or 25 based on the price range of the item sold.

    Do i ALSO have to have a default rate set? If so, Its not very clear to me exactly how to set the default to $5.

    Thanks!

    in reply to: Force Attribute Selection #61381
    Joshua Grady
    Participant

    Just an update – Works perfectly! Thank you so much!

    in reply to: Force Attribute Selection #61312
    Joshua Grady
    Participant

    Great – Also, would the directory be /wc-vendors/ OR /wc-vendors-pro/ because I am using pro?

    Thanks!!

    in reply to: Changing the Vendor Templates #61309
    Joshua Grady
    Participant

    I just wanted to question this. If you are using WCV Pro, should the directory then be:

    themes/onesocial-child/bb-marketplace/wc-vendors-pro/dashboard/product-edit.php ??

    in reply to: Force Attribute Selection #61303
    Joshua Grady
    Participant

    Thanks so much! Ill give this a shot tomorrow!

    I was reading the Template Mod link, Can I assume I should be copying the buddyboss marketplace templates seeing I am using WCV PRo and One Social Marketplace?

    Thanks!

    in reply to: Vendor Dashboard: Categories, Linked Products #58604
    Joshua Grady
    Participant

    Nadav –

    Was this ever resolved with OneSocial? I am interested in purchasing – but I question support…

    in reply to: Charge Vendor Or Buyer Fixed Fee #58573
    Joshua Grady
    Participant

    Thanks Ben! Can I add-

    I am running the Divi 3.0 Theme any issues with this? I want to buy Pro – However, I tried Dokan and it would not pull up the Categories or Attributes – Should this run ok and will it pull admin defined Attributes natively as pictured in the Pro Demo or doe sit require modification?

    I want Vendors to be able to choose from Color, Size etc with their postings.

    Thanks!

Viewing 11 posts - 1 through 11 (of 11 total)