B2B Woocommerce cart not working previous ticket was closed but have asked addify to look

This topic has 15 replies, 2 voices, and was last updated 2 months, 1 weeks ago ago by Jack Richardson

  • Avatar: GreenLion
    GreenLion
    Participant
    September 19, 2025 at 14:24

    Hello. We are using b2b woo commerce for role based pricing on our site. Currently the cart does not match the role based pricing shown on the shop page. We asked addify the b2b woocomerce team to take a look on our staging environment. This was their response.

    Hi,

    We would like to inform you that after a thorough investigation, we have found that the hook used by our plugin (mentioned below) is not being triggered on your cart page.

    woocommerce_cart_item_price

    We kindly request you to contact the XStore theme developers and ask them to add this hook in their theme.

    Alternatively, if they can provide us with a different hook that we can use, we will be happy to try and resolve the problem.

    Your cooperation is highly appreciated.

    Looking forward to hearing from you soon.

    Could you please advise as to what can be done. We had previously paid xstore devs for a large sum of requirements and a working cart was a part of this

    14 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 19, 2025 at 15:23

    Hello @GreenLion

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Kind regards, Jack Richardson
    The 8theme’s team

    Avatar: GreenLion
    GreenLion
    Participant
    September 20, 2025 at 13:57

    This has already been done and set up for you prior please take a look at the previous emails / threads we have

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 21, 2025 at 10:45

    Hello @GreenLion,

    Thank you for reaching out to us.

    Please note that we have multiple support managers who assist numerous customers daily. For privacy and security reasons, we do not retain customer details.

    In order to proceed with reviewing your request, we kindly ask that you provide the correct credentials as previously requested. We appreciate your understanding and respect for our support team’s time.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: GreenLion
    GreenLion
    Participant
    September 21, 2025 at 19:09

    added ftp creds here

    wp creds also added

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 22, 2025 at 09:29

    Hello @GreenLion,

    Thank you for providing us with access to the WordPress admin panel and FTP account.

    To help us better understand and effectively address the issue, we kindly request that you share detailed steps to reproduce the problem. If possible, please include screenshots or a video demonstration. This will allow us to accurately replicate the issue and thoroughly test the solution once implemented.

    Additionally, we believe it would be helpful if you could provide us with separate WordPress admin access that allows us to view the site from the perspective of different customer roles. This will enable us to conduct a more comprehensive review and ensure the issue is resolved across all user types.

    Thank you for your cooperation.

    Best regards,
    The 8Theme Team

    Avatar: GreenLion
    GreenLion
    Participant
    September 22, 2025 at 14:02

    To replicate the steps one of the customer roles need to be changed to have specific pricing. When on any shop or product detail page you should see the correct pricing assigned to that role for the user.

    When you check the side cart or go to the cart the price is what is set as the standard price on the product, not the role based price

    New account detailed added in pvt content.

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 23, 2025 at 08:11

    Hello @GreenLion,

    We hope this message finds you well.

    As previously requested, in order to better understand and effectively address the issue you are experiencing, we kindly ask that you provide detailed steps to reproduce the problem. If possible, please include relevant screenshots or a video demonstration. This will greatly assist us in accurately replicating the issue and thoroughly testing the solution once implemented.

    At this time, we have reviewed the matter using different accounts, and we observed that the same prices are displayed both in the shop and in the mini-cart. As a result, we are unable to determine which specific products we should focus on or identify the exact issue you are encountering on your website.

    We appreciate your cooperation and look forward to your response.

    Best regards,
    The 8Theme Team

    Avatar: GreenLion
    GreenLion
    Participant
    September 23, 2025 at 15:11

    Please review the video with audio as we are describing the issues

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 24, 2025 at 12:39

    Hello @GreenLion,

    Our theme applies the following filter to display product prices in the mini-cart:

    $product_price = apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key );

    The same filter is also used for displaying products on the Cart page (see screenshot: https://prnt.sc/iQxNFvXi_83P).

    We tested this with a customer assigned to the “vapeshop” role. The price is displayed correctly in the mini-cart (https://prnt.sc/IcYs9VXlrkmZ), but it does not display correctly on the Cart page. Since you are currently using our built-in widget to display the Cart page content, we recommend replacing it with the default WooCommerce shortcode [woocommerce_cart]. Please add this shortcode to the Cart page and remove the Cart page widget (https://prnt.sc/ejB1zrjHU3di). With the shortcode, the prices should display correctly (https://prnt.sc/JADqHbvtmLiA), as it includes more hooks and filters, though it offers fewer customization options.

    If you notice similar issues on the Checkout page, we suggest applying the same approach there as well [woocommerce_checkout].

    Additionally, we recommend contacting the developers of the B2B plugin you are using. They may be relying on hooks or filters that are not included in custom widgets but can be added to the page using the WC Hook widget (https://prnt.sc/ppMsyVFE7p98).

    Best regards,
    Jack Richardson
    8Theme Team

    Avatar: GreenLion
    GreenLion
    Participant
    September 26, 2025 at 11:22

    Effigy I working on getting the mini cart sorted using your help, can you provide similar guidance for the cart page too?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 26, 2025 at 14:30

    Hello @GreenLion,

    We have provided a solution regarding the Cart page issue here: https://www.8theme.com/topic/b2b-woocommerce-cart-not-working-previous-ticket-was-closed-but-have-asked-addify-to-look/#post-455756. Please review it carefully. If you require any further assistance, kindly clarify your request and provide relevant screenshots or video examples.

    Best regards,
    8Theme Team

    Avatar: GreenLion
    GreenLion
    Participant
    September 29, 2025 at 17:48

    hi team we have updated everything back to woocommerce but have one final issue. The minicart when adding items is displaying the wrong price in the minicart. when you go to cart the price is correct. when you go back to the shop page and then the mini cart again the price is correct. Why is it not working the first time, what changes need to be made?

    Also I tried to use the Menu cart rather than the Xstore shopping cart but the menu cart for some reason will not give me the cart or the checkout buttons even though they are toggled on. This element does consistently give the right prices though

    Avatar: GreenLion
    GreenLion
    Participant
    September 29, 2025 at 17:56

    video attached

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 30, 2025 at 06:22

    Hello @GreenLion,

    In this case, since the default widget is functioning correctly and displaying the accurate prices, we recommend using it and enabling the following option to display the buttons in the off-canvas content: https://prnt.sc/rVfv6FySK6Yf. The off-canvas content will then appear in the following design: https://prnt.sc/-phrioWPeR_f. You can further enhance the style by adjusting the settings of this widget in the header builder.

    Best regards,
    8Theme Team

  • Viewing 15 results - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.