Post by nhmugs » Tue Apr 13, 2021 10:32 am


Now sure how or when this happened, but my quantity box and add to cart button have gone missing on my product page.
I do have a rather complex product page, so I don't expect any "magic" answer here, but hopefully more of a pointer of were to start looking.

Go visit and visit any product page, both quantity box and add to cart button are both missing..

Thank you

Creating personalized photo mugs since 1995



Sat Oct 26, 2019 7:31 pm

Post by by mona » Tue Apr 13, 2021 11:48 am

That would be because of this line in your code

Code: Select all

<style>#button-cart,.product-options .qty, .quantity .counter, #input-quantity { display:none!important; }</style>
product.twig or tpl depending on your OC version (please always mention it in a post)

and it is before your nav tabs & description

Code: Select all

and <div class="row">        <div class="col-sm-8">          <ul class="thumbnails">            <li><a class="thumbnail" href="" title="15oz 2 Tone Green Mug"><img src="" id="image" title="15oz 2 Tone Green Mug" alt="15oz 2 Tone Green Mug" /></a></li>          </ul><link rel="stylesheet" href=""><div class="form-group tshirtecommerce-btn-group"><a style="       color: rgb(10, 6, 255); font-size: 20px; padding: 10px; border-radius: 16px; border-color: rgb(17, 46, 205); border-style: dotted; border-width: 9px; background-color: rgb(205, 189, 17);       " class="btn-design" href=";parent_id=56&amp;product_id=8">Customize Your Design!</a></div>							

<style>#button-cart,.product-options .qty, .quantity .counter, #input-quantity { display:none!important; }</style>
          <ul class="nav nav-tabs">



Screen-Shot-2021-04-13-at-04.39.56.jpg (95.59 KiB) Viewed 119 times

You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.

Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos

Active Member


Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 37 guests