• Resolved sunilsingh2019

    (@sunilsingh2019)


    My woo-commerce product requirement is the 2 cost type one is activity cost and another is support costs. i want to sum two price and add to the cart.
    What i have done created 2 attributes and added to the variations but the support costs only adding to the cart and activity costs is not adding.
    screenshot here: https://tinyurl.com/yafkg3n7

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Prin a11n

    (@prin_settasatian)

    Hello there,

    I understand you have created attributes for your product, but the price of only one attribute is added when adding the product to cart.

    Could you check if you have added the price to each of the variations? You can do this by:
    1. Go to your site’s dashboard.
    2. On the left sidebar, click on Products.
    3. Select any product you want to add the two costs.
    4. Scroll down to Product data and click on the Variations tab.
    5. For each variation, add a price in the Regular price box to reflect the costs of both attributes. (In your case, for the combination of Activity Costs and Support Costs, you could add 700 in the box.)

    You can read more about product variations here: https://woocommerce.com/document/variable-product/#adding-variation-data.

    Let me know if you need further help.

    Thread Starter sunilsingh2019

    (@sunilsingh2019)

    Hi Prin, thanks for your message. I have added that you mentioned but but one more problem here is how can i display total price in cart. example
    Activity cost = 200,
    Support Cost = 300,
    Activity with Support = 500
    I have created 3 variables now that you can see on example. Now i need 500 in cart.
    in this stage in cart reflecting minimum value of amount. so the default vaule should be 500. i have restricted selection button by default customer can not change option

    Hi @sunilsingh2019

    Can you please share a link to the product so we can take a look?

    Please also share your system status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Thread Starter sunilsingh2019

    (@sunilsingh2019)

    Hi MayKato Thanks for your message,
    I have created logins please have look
    Link: https://sydneywideaccountants.com.au/wp-admin/
    Username: woo
    Password: (removed by moderator)

    System status

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://sydneywideaccountants.com.au
    Site address (URL): https://sydneywideaccountants.com.au
    WC Version: 6.5.1
    REST API Version: ? 6.5.1
    WC Blocks Version: ? 7.4.3
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 5.9.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.29
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 3000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.34-MariaDB
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.4.1
    WC Database Prefix: R4CWLud_
    Total Database Size: 4.35MB
    Database Data Size: 2.78MB
    Database Index Size: 1.57MB
    R4CWLud_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    R4CWLud_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    R4CWLud_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    R4CWLud_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    R4CWLud_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_actionscheduler_actions: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
    R4CWLud_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_actionscheduler_logs: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    R4CWLud_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_options: Data: 1.50MB + Index: 0.08MB + Engine InnoDB
    R4CWLud_postmeta: Data: 0.16MB + Index: 0.11MB + Engine InnoDB
    R4CWLud_posts: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    R4CWLud_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    R4CWLud_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    R4CWLud_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    R4CWLud_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    R4CWLud_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    R4CWLud_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    R4CWLud_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    R4CWLud_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    R4CWLud_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    R4CWLud_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 23
    custom_css: 1
    customize_changeset: 5
    page: 7
    post: 2
    product: 19
    product_variation: 9
    revision: 9
    shop_coupon: 1
    shop_order: 8
    shop_order_refund: 1
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (4) ###
    
    All-in-One WP Migration: by ServMask – 7.51
    All-in-One WP Migration Unlimited Extension: by ServMask – 2.36
    WooCom SecurePay Payment Gateway: by Hem Thapa – 1.7
    WooCommerce: by Automattic – 6.5.1
    
    ### Inactive Plugins (2) ###
    
    Akismet Anti-Spam: by Automattic – 4.2.2
    Hello Dolly: by Matt Mullenweg – 1.7.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: AUD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: #6 - /
    Cart: #7 - /?page_id=7
    Checkout: #8 - /?page_id=8
    My account: #9 - /?page_id=9
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Storefront
    Version: 4.1.0
    Author URL: https://woocommerce.com/
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 180
    Oldest: 2022-05-14 05:43:04 +0000
    Newest: 2022-05-14 05:43:05 +0000
    
    ### Status report information ###
    
    Generated at: 2022-05-14 05:50:19 +00:00
    
    • This reply was modified 2 years, 10 months ago by Yui. Reason: removed login credentials
    Moderator Yui

    (@fierevere)

    永子

    Plugin Support Paulo P – a11n

    (@paulostp)

    Hello,

    Thanks for sharing the system report, everything seems OK there.

    If my interpretation is correct, you would like that each Activity and Support has its own cost and that the amounts are detailed in the cart.

    That is not possible with variable products. Each variation (that is, each combination of attributes) has a set price, like Prin mentioned above. That price is not a sum of each attribute.

    It sounds like you’re trying to create product bundles, something that is not possible with WooCommerce core and requires a plugin like these examples:

    As your site isn’t public, we can’t see how it’s working, so, it this is not what you meant, we’ll need additional information to understand your goals here.

    Best,

    Thread Starter sunilsingh2019

    (@sunilsingh2019)

    Hey, I have checked this plugins its not very helpful for me. I am looking activity charges include in cart. but for support costs manually we will invoice but we drop notes to order notification.

    the support we not going to pay via woo-commerce just activity costs
    Activity cost = 200,
    Support Cost = 300,
    Activity with Support = 500

    I have created 3 variable product one is activity 200 and another support 300 that should go to cart and last one activity with support 500 that should include in cart.

    Hi @sunilsingh2019

    Activity cost = 200,
    Support Cost = 300,
    Activity with Support = 500

    Instead of having activity and support cost as parts of a variable product, setting up Grouped Products could be a great solution in this case. Grouped products are perfect for letting a customer add one or more products from a range to their cart in one go. And it doesn’t require any separate plugin.

    Here is an example of a grouped product:
    Grouped Product
    Link to image: https://snipboard.io/7UfSWb.jpg

    For Product Data you’ll need to select Grouped product. You can read more here about setting it up.

    I hope you find this option useful. It doesn’t involve investing in paid extensions either.

    Thanks

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful.

    If you have other questions, please feel free to open a new topic.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to add multiple variable in one time Woocommerce ?’ is closed to new replies.