Price Disappeared From Add To Cart Area

Home Page Forums Porto | Multi-Purpose & WooCommerce Theme Price Disappeared From Add To Cart Area

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #27607
    Chris Hayes
    Participant

        I’m using the Product Add To Cart widget which usually adds:

        ->Variation Drop Downs / Buttons
        ->Price
        ->Cart Button

        The price was appearing for a while then disappeared somehow, I’m not sure why. I double checked all the options for my variations. They all have a price, they’re all in stock. I feel like I’m missing something but can’t find it!

        Any ideas?

        This field is Private Content.

        Attachments:
        You must be logged in to view attached files.
        #27628
        Aizaz Awan
        Keymaster

            Hello @chrishayes,

            It seems that the issue may be related to a conflict with a third-party plugin or a customization in your child theme.

            1. Please try disabling all third-party plugins on your site and clear the cache. Afterward, check if the issue is resolved. If it is, reactivate each plugin one by one to identify the one causing the issue.

            2. Alternatively, you can switch to the parent theme and check if the issue persists.

            Best regards,
            PThemes Team

            #27686
            Chris Hayes
            Participant

                Hmmm. So strange. I disabled all plugins except: woocommerce, porto theme functionality, and elementor and the issue persists. I tried activating the main theme instead of child and no difference. I checked the page source and it’s not loading or processing the price into that area. Also tried making a new template and product and the same issue is occurring.

                It seems my options are either:

                1) try to inject the price between the cart and variation buttons with JS
                2) use the price widget and drop it under the main product title

                Do you think I should try using JS to add it in?

                Pretty sure this is the only CSS I have modifying the area and I tried disabling it (no effect):

                /* Modify Add To Cart Button On Product Pages */
                .single_add_to_cart_button {
                background-color: #6aa800;
                color: #ffffff;
                transition: all 0.3s ease;
                padding: 28px 0;
                border: 5px solid #ebebeb;
                display: flex; /* Add these lines */
                align-items: center; /* to vertically center */
                justify-content: center; /* to horizontally center */
                line-height: normal; /* Reset line height if needed */
                margin-top: 20px !important;
                }
                .single_add_to_cart_button:hover {
                background-color: #598c03;
                border-color: #a2d8fc;
                transform: scale(1.06);
                }

                /* Remove the line divider above add to cart */
                .single_variation_wrap {
                border-top:0px !important;
                }

                /* Remove clear variation button above cart */
                .reset_variations {
                display: none !important;
                }

                #27688
                Chris Hayes
                Participant

                    Maybe I can copy freshly downloaded theme files over my existing ones?

                    #27689
                    Chris Hayes
                    Participant

                        Hi Aizaz, lets forget about this support request. I’m happy to use the price widget up by the title. When I look at of portos pre-built single product templates they all work like that so I’ll just do the same.

                        Attachments:
                        You must be logged in to view attached files.
                        #27693
                        Aizaz Awan
                        Keymaster

                            Hello @chrishayes,

                            Sounds good! I’m glad we could find a solution. If you need any further assistance or run into anything else, feel free to reach out. Best of luck with the setup!

                            Have a nice day,

                            Best Regards,
                            PThemes Team.

                          Viewing 6 posts - 1 through 6 (of 6 total)
                          • The topic ‘Price Disappeared From Add To Cart Area’ is closed to new replies.
                          Customize Icon
                          Need Customization? We specialize in delivering high-quality web and mobile design/development services to our clientele. Should you require customization services, please do not hesitate to reach out to us at your convenience.