Post by qviorel » Tue Nov 13, 2018 12:48 pm

Hi, I need your help please.
I want to disable the cart and add to cart button from product page. For the moment I want just to show the products- as catalog and in the future I want to enable them.
There is steps to do this? or good extension?
I'm using 3.0.2.0 version.

Thank you very much.

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by paulfeakins » Tue Nov 13, 2018 5:47 pm

Comment them out on the product twig template.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by qviorel » Tue Nov 13, 2018 6:45 pm

Sorry, I don't understand. Please be more specific.
I put on this line from product twig template line:
<button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>

<!-<button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>-->

But nothing.

Also I need to disable the cart from index page.

Thank you very much.

paulfeakins wrote:
Tue Nov 13, 2018 5:47 pm
Comment them out on the product twig template.

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by paulfeakins » Tue Nov 13, 2018 6:49 pm


For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by qviorel » Tue Nov 13, 2018 6:52 pm

Hi. I want to use the open cart just for products presentation. Not for sale.
There is an extension who disable the cart / users/ and so on? and when I will decide to enable the website as online shop, just to give Enable :)

Thank you

paulfeakins wrote:
Tue Nov 13, 2018 5:47 pm
Comment them out on the product twig template.

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by DigitCart » Tue Nov 13, 2018 7:52 pm

Hi
if hiding with CSS is OK, try this:

Code: Select all

#cart, #button-cart, [name="quantity"], [for="input-quantity"], [onclick^="cart.add"] {
  display: none !important;
}

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by qviorel » Tue Nov 13, 2018 10:01 pm

It's not working.

I can sent to you the credentials to check if you can.

I trust in you :)

thank you
paulfeakins wrote:
Tue Nov 13, 2018 6:49 pm
Then after that:
https://www.antropy.co.uk/blog/how-to-c ... t-3-0-2-0/

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by paulfeakins » Tue Nov 13, 2018 10:13 pm

It's front-end code so no need for credentials, just post a link to the site.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by qviorel » Tue Nov 13, 2018 10:41 pm

www.decolux.com.ro is the website

thank you
paulfeakins wrote:
Tue Nov 13, 2018 10:13 pm
It's front-end code so no need for credentials, just post a link to the site.

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by paulfeakins » Tue Nov 13, 2018 10:46 pm

Quick fix:
http://screenshots.antropy.co.uk/9a7fb7 ... 1a4af9.jpg
Add to CSS:

Code: Select all

#cart {display:none;]
Proper fix:
Create your own theme with only the files you change and remove the last column:
http://screenshots.antropy.co.uk/d7e0f8 ... 6cfad3.jpg
Adjust the others so the numbers add up to 12.

Use a similar CSS fix for the add to cart buttons.

If you can't figure that out from the example above you should hire a developer from Commercial Support.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by qviorel » Tue Nov 13, 2018 11:06 pm

I did add now to css:
#cart {display:none;}

but nothing. At the subcategory page still does exists Add to card: http://decolux.com.ro/index.php?route=p ... path=59_60

at the product page, disappear the cart : http://decolux.com.ro/index.php?route=p ... duct_id=50

Also I want to disable from the header of all pages: Curency, My Account Wish List (0) Shopping Cart Checkout ....

for header and subcategory pages, how can I disable the cart: http://decolux.com.ro/index.php?route=p ... path=59_60

Thank you

paulfeakins wrote:
Tue Nov 13, 2018 10:46 pm
Quick fix:
http://screenshots.antropy.co.uk/9a7fb7 ... 1a4af9.jpg
Add to CSS:

Code: Select all

#cart {display:none;]
Proper fix:
Create your own theme with only the files you change and remove the last column:
http://screenshots.antropy.co.uk/d7e0f8 ... 6cfad3.jpg
Adjust the others so the numbers add up to 12.

Use a similar CSS fix for the add to cart buttons.

If you can't figure that out from the example above you should hire a developer from Commercial Support.

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by paulfeakins » Tue Nov 13, 2018 11:13 pm

Try

Code: Select all

#cart {display:none !important;}

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by xxvirusxx » Tue Nov 13, 2018 11:50 pm

Default theme?

LE. I will convert an old extension for oc 3.0.2.0, just wait :)

My converted modules | Buy me a beer | Opencart upgrade service


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by qviorel » Wed Nov 14, 2018 1:41 am

Hi.
Yes. Default theme.
I wait. I need tonight or tomorrow morning.
Thank you.

xxvirusxx wrote:
Tue Nov 13, 2018 11:50 pm
Default theme?

LE. I will convert an old extension for oc 3.0.2.0, just wait :)

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by qviorel » Wed Nov 14, 2018 2:11 am

Hi.
I will try later.

Thank you
paulfeakins wrote:
Tue Nov 13, 2018 11:13 pm
Try

Code: Select all

#cart {display:none !important;}

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by qviorel » Wed Nov 14, 2018 4:03 am

What version of opencart has the posibility to disable easy cart and price for products? Also cart from header.
Thank you very much

xxvirusxx wrote:
Tue Nov 13, 2018 11:50 pm
Default theme?

LE. I will convert an old extension for oc 3.0.2.0, just wait :)

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by qviorel » Wed Nov 14, 2018 4:15 am

You have nice extensions. Great job.
There are available also for 3.0.2.0?
If no, which are the versions of opencart compatible with them?
xxvirusxx wrote:
Tue Nov 13, 2018 11:50 pm
Default theme?

LE. I will convert an old extension for oc 3.0.2.0, just wait :)

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by xxvirusxx » Wed Nov 14, 2018 5:17 am

Is not finished. Are more files: search, latest, featured etc...

You can test

Old module is this (possible to work with 2.3.0.2, not tested)
https://www.opencart.com/index.php?rout ... n_id=26559

My converted modules | Buy me a beer | Opencart upgrade service


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by qviorel » Wed Nov 14, 2018 1:54 pm

Hi, I add into stylesheet.css the following row:
#cart {display:none !important;}

but nothing.

I could give you on PM ftp credentials to take a look.

Thank you
Viorel
paulfeakins wrote:
Tue Nov 13, 2018 11:13 pm
Try

Code: Select all

#cart {display:none !important;}

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am

Post by qviorel » Wed Nov 14, 2018 2:17 pm

Hi,
I don't have installed this Vqmod . It is possible to be this the problem?
thank you
qviorel wrote:
Wed Nov 14, 2018 2:11 am
Hi.
I will try later.

Thank you
paulfeakins wrote:
Tue Nov 13, 2018 11:13 pm
Try

Code: Select all

#cart {display:none !important;}

Newbie

Posts

Joined
Mon Mar 23, 2015 12:39 am
Who is online

Users browsing this forum: jrr and 17 guests