Post by liorleviron » Mon Jun 04, 2018 7:36 pm

hello
i have opencart 2.3.0.2 website
i have few qustions about how to remove/change the front of the website.

1. i want to remove from the website this options "account" & "checkout": how to do it?
Image


2.i want to remove "add to cart" from the product : how to do it?
Image


3.i want to remove "my account" & "order history" & "newslatter" : how to do it ?
Image


4. i have 23 categories - i want to remove the top cartegory menu bar from the website but not remove the category from the left side menu bar on the computer but on the smartphone and the tablet need to see the category bar: how to di it?
Image


thank you everyone.

Newbie

Posts

Joined
Wed Jan 31, 2018 6:57 pm

Post by xxvirusxx » Mon Jun 04, 2018 9:31 pm

You need to edit some files:

- for 1 and 4: header.tpl
- for 3: footer.tpl
- for 4: product.tpl

Attachments

for_footer.png

for_footer.png (42.62 KiB) Viewed 817 times

for_header_icons.png

for_header_icons.png (82.77 KiB) Viewed 818 times

for_header_categories.png

for_header_categories.png (86.68 KiB) Viewed 822 times

Last edited by xxvirusxx on Mon Jun 04, 2018 9:45 pm, edited 3 times in total.

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by liorleviron » Mon Jun 04, 2018 9:38 pm

xxvirusxx wrote:
Mon Jun 04, 2018 9:31 pm
You need to edit some files:

- for 1 and 4: header.tpl
- for 3: footer.tpl
- for 4: product.tpl
ok, but what i need to edit?

Newbie

Posts

Joined
Wed Jan 31, 2018 6:57 pm

Post by xxvirusxx » Mon Jun 04, 2018 9:47 pm

See images...

For Add to cart you can use extension...
https://www.opencart.com/index.php?rout ... n_id=27683

Attachments

for_product.png

for_product.png (28.07 KiB) Viewed 812 times


Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by liorleviron » Mon Jun 04, 2018 9:53 pm

xxvirusxx wrote:
Mon Jun 04, 2018 9:31 pm
You need to edit some files:

- for 1 and 4: header.tpl
- for 3: footer.tpl
- for 4: product.tpl
how can i see the attached files?

Newbie

Posts

Joined
Wed Jan 31, 2018 6:57 pm

Post by liorleviron » Mon Jun 04, 2018 9:55 pm

xxvirusxx wrote:
Mon Jun 04, 2018 9:47 pm
See images...

For Add to cart you can use extension...
https://www.opencart.com/index.php?rout ... n_id=27683
i dont want to add, i want to remove it from the product page.
see attached pic

[/b]Image

Newbie

Posts

Joined
Wed Jan 31, 2018 6:57 pm

Post by xxvirusxx » Mon Jun 04, 2018 9:58 pm

As I said.....
To remove Add to cart you can edit the file or use extension....
liorleviron wrote:
Mon Jun 04, 2018 9:53 pm
how can i see the attached files?
lol dude....

Right click, open image in new tab...

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by kestas » Mon Jun 04, 2018 10:09 pm

HI,
for the 1. edit:
catalog/view/theme/default/template/common/header.tpl

find:

Code: Select all

<li class="dropdown"><a href="<?php echo $account; ?>" title="<?php echo $text_account; ?>" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_account; ?></span> <span class="caret"></span></a>
          <ul class="dropdown-menu dropdown-menu-right">
            <?php if ($logged) { ?>
            <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
            <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
            <li><a href="<?php echo $transaction; ?>"><?php echo $text_transaction; ?></a></li>
            <li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
            <li><a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
            <?php } else { ?>
            <li><a href="<?php echo $register; ?>"><?php echo $text_register; ?></a></li>
            <li><a href="<?php echo $login; ?>"><?php echo $text_login; ?></a></li>
            <?php } ?>
          </ul>
        </li>
        <li><a href="<?php echo $wishlist; ?>" id="wishlist-total" title="<?php echo $text_wishlist; ?>"><i class="fa fa-heart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_wishlist; ?></span></a></li>
        <li><a href="<?php echo $shopping_cart; ?>" title="<?php echo $text_shopping_cart; ?>"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_shopping_cart; ?></span></a></li>
        <li><a href="<?php echo $checkout; ?>" title="<?php echo $text_checkout; ?>"><i class="fa fa-share"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_checkout; ?></span></a></li>
replace with:

Code: Select all

<!-- <li class="dropdown"><a href="<?php echo $account; ?>" title="<?php echo $text_account; ?>" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_account; ?></span> <span class="caret"></span></a>
          <ul class="dropdown-menu dropdown-menu-right">
            <?php if ($logged) { ?>
            <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
            <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
            <li><a href="<?php echo $transaction; ?>"><?php echo $text_transaction; ?></a></li>
            <li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
            <li><a href="<?php echo $logout; ?>"><?php echo $text_logout; ?></a></li>
            <?php } else { ?>
            <li><a href="<?php echo $register; ?>"><?php echo $text_register; ?></a></li>
            <li><a href="<?php echo $login; ?>"><?php echo $text_login; ?></a></li>
            <?php } ?>
          </ul>
        </li>
        <li><a href="<?php echo $wishlist; ?>" id="wishlist-total" title="<?php echo $text_wishlist; ?>"><i class="fa fa-heart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_wishlist; ?></span></a></li>
        <li><a href="<?php echo $shopping_cart; ?>" title="<?php echo $text_shopping_cart; ?>"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_shopping_cart; ?></span></a></li>
        <li><a href="<?php echo $checkout; ?>" title="<?php echo $text_checkout; ?>"><i class="fa fa-share"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_checkout; ?></span></a></li> -->
for the 3. edit:
catalog/view/theme/default/template/common/footer.tpl
find:

Code: Select all

<div class="col-sm-3">
        <h5><?php echo $text_account; ?></h5>
        <ul class="list-unstyled">
          <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
          <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
          <li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
          <li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
        </ul>
      </div>
replace with:

Code: Select all

<!-- <div class="col-sm-3">
        <h5><?php echo $text_account; ?></h5>
        <ul class="list-unstyled">
          <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
          <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
          <li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
          <li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
        </ul>
      </div> -->
For the 4.
in your admin dashboard catalog>categories data tab untick Top checkbox. this will remove categories from top. to remove categories from product page edit Design>Layouts> product and remove categories from your layout.

Cheers

Custom OpenCart modules and solutions. Just PM me... Extensions you can find here and here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by liorleviron » Thu Jun 14, 2018 9:06 pm

hello,
i only need help to remove ADD TO CART from all my items on the website & QTY, how can i do it?


liorleviron wrote:
Mon Jun 04, 2018 9:55 pm
xxvirusxx wrote:
Mon Jun 04, 2018 9:47 pm
See images...

For Add to cart you can use extension...
https://www.opencart.com/index.php?rout ... n_id=27683
i dont want to add, i want to remove it from the product page.
see attached pic

[/b]Image

Newbie

Posts

Joined
Wed Jan 31, 2018 6:57 pm

Post by liorleviron » Thu Jun 14, 2018 9:09 pm

I TRY TO DO IT BUT ITS REMOVE IT AND WHEN SOMEONE LOOKING ON THE WEBSITE ON SMARTPHONE/TABLET HE DIDNT SEE CATEGORIES,
I WANT TO REMOVE THE CARTEGORIES FROM THE TOP BUT WHEN YOU WATCHING ON TABLET/SMARTPHONE YOU WILL SEE CATEGORIES MENU,
HOW CAN I DO IT?
kestas wrote:
Mon Jun 04, 2018 10:09 pm

For the 4.
in your admin dashboard catalog>categories data tab untick Top checkbox. this will remove categories from top. to remove categories from product page edit Design>Layouts> product and remove categories from your layout.

Cheers

Newbie

Posts

Joined
Wed Jan 31, 2018 6:57 pm

Post by liorleviron » Wed Jun 20, 2018 2:03 pm

hello,
someone's have answer for this issue?

liorleviron wrote:
Thu Jun 14, 2018 9:06 pm
hello,
i only need help to remove ADD TO CART from all my items on the website & QTY, how can i do it?


liorleviron wrote:
Mon Jun 04, 2018 9:55 pm
xxvirusxx wrote:
Mon Jun 04, 2018 9:47 pm
See images...

For Add to cart you can use extension...
https://www.opencart.com/index.php?rout ... n_id=27683
i dont want to add, i want to remove it from the product page.
see attached pic

[/b]Image

Newbie

Posts

Joined
Wed Jan 31, 2018 6:57 pm
Who is online

Users browsing this forum: No registered users and 8 guests