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

Hello

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 www.1nhmugs.com and visit any product page, both quantity box and add to cart button are both missing..

Thank you
Nelson

Creating personalized photo mugs since 1995
https://www.1nhmugs.com


Newbie

Posts

Joined
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="https://www.1nhmugs.com/image/cache/catalog/product/15oz-2-tone-green-mug-56-500x500.jpg" title="15oz 2 Tone Green Mug"><img src="https://www.1nhmugs.com/image/cache/catalog/product/15oz-2-tone-green-mug-56-228x228.jpg" id="image" title="15oz 2 Tone Green Mug" alt="15oz 2 Tone Green Mug" /></a></li>          </ul><link rel="stylesheet" href="https://www.1nhmugs.com//catalog/view/javascript/tshirtecommerce.css?v=1618235136"><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="https://www.1nhmugs.com/index.php?route=tshirtecommerce/designer&amp;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">

Attachments

Screen-Shot-2021-04-13-at-04.39.56.jpg

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


DISCLAIMER:
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.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

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

Users browsing this forum: Adminas99999, Google [Bot] and 106 guests