Jump to content


Photo
- - - - -

featured module's cart position


5 replies to this topic

#1 mananwin

mananwin

    Member

  • Members
  • PipPip
  • 26 posts

Posted 03 February 2015 - 05:24 PM

hello.

 

i am using opencart 2.0.1.1. i have removed wishlist and compare button from featured module and latest module also from catagory page. Now Cart button is positioned at the left side (as wishlist and compare button are removed). I want to place it to the center.. Can you please tell me that how to do that work...

i will be thankful to you.

 

here is my featured module code (after removing wish and compare button)

path: catalog/view/theme/default/template/module/featured.tpl

 

<h3><?php echo $heading_title; ?></h3>
<div class="row">
  <?php foreach ($products as $product) { ?>
  <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12">
    <div class="product-thumb transition">
      <div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" class="img-responsive" /></a></div>
      <div class="caption">
        <h4><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></h4>
        <p><?php echo $product['description']; ?></p>
        <?php if ($product['rating']) { ?>
        <div class="rating">
          <?php for ($i = 1; $i <= 5; $i++) { ?>
          <?php if ($product['rating'] < $i) { ?>
          <span class="fa fa-stack"><i class="fa fa-star-o fa-stack-2x"></i></span>
          <?php } else { ?>
          <span class="fa fa-stack"><i class="fa fa-star fa-stack-2x"></i><i class="fa fa-star-o fa-stack-2x"></i></span>
          <?php } ?>
          <?php } ?>
        </div>
        <?php } ?>
        <?php if ($product['price']) { ?>
        <p class="price">
          <?php if (!$product['special']) { ?>
          <?php echo $product['price']; ?>
          <?php } else { ?>
          <span class="price-new"><?php echo $product['special']; ?></span> <span class="price-old"><?php echo $product['price']; ?></span>
          <?php } ?>
          <?php if ($product['tax']) { ?>
          <span class="price-tax"><?php echo $text_tax; ?> <?php echo $product['tax']; ?></span>
          <?php } ?>
        </p>
        <?php } ?>
      </div>
      <div align="center">
        <button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-shopping-cart"></i><span class="hidden-xs hidden-sm hidden-md"><?php echo $button_cart; ?></span></button>
      </div>
    </div>
  </div>
  <?php } ?>
</div>

 

 

 

 

i have attached the picture of it.

 

Note: Same is the case in Category page.  Please tell me solution for both the cases...

 

i will be thankful to youl

Attached Thumbnails

  • Capture.JPG

Edited by mananwin, 03 February 2015 - 05:25 PM.

  • 0

#2 mananwin

mananwin

    Member

  • Members
  • PipPip
  • 26 posts

Posted 04 February 2015 - 05:02 PM

please answer someone of my query.


  • 0

#3 mananwin

mananwin

    Member

  • Members
  • PipPip
  • 26 posts

Posted 05 February 2015 - 01:25 PM

figured out going through a hactic search.


  • 0

#4 mananwin

mananwin

    Member

  • Members
  • PipPip
  • 26 posts

Posted 28 February 2015 - 06:04 AM

please reply if it solve your query...


  • 0

#5 ghgfhg (guest)

ghgfhg (guest)
  • Guests

Posted 28 February 2018 - 07:08 AM

http://www.toursandtravelideas.com http://www.travelleisuretips.com http://www.travellingpolicies.com http://www.idealtravelplan.com http://www.gettravelalerts.com http://www.globalbus...stravelling.com http://www.facultyoflawyers.com http://www.lawandregulations.com http://www.legallawcenter.com http://www.findratedlawyers.com http://www.lawyerlegalpractice.com http://www.chooseattorneylawyer.com http://www.expertbusinessadvices.com http://www.topbusinessanalysis.com http://www.getbusinessbackup.com http://www.securebusinesssolution.com http://www.launchdreambusiness.com http://www.todaysbusinessdemand.com http://www.minihometricks.com http://www.smarthomestrend.com http://www.ideallivinghome.com http://www.homesdecoratingidea.com http://www.awesomediyhomedecor.com http://www.financecapitalhelp.com http://www.microfinancesaving.com http://www.advancedpersonalloan.com http://www.financeandgrowth.com http://www.fashionstylestips.com http://www.allstylesfashion.com http://www.fairfashionstyles.com http://www.fashiontrendsadvice.com http://www.hiteducationaltopic.com http://www.educationopinion.com http://www.educationaldrive.com http://www.newarrivalshopping.com http://www.shoppingandstyles.com http://www.shoppingpackers.com http://www.foodssector.com http://www.foodslabels.com http://www.entertain...culturenews.com http://www.entertainmentvice.com http://www.realtimehealthylife.com http://www.abouthealthcaresystem.com http://www.getinsurancechart.com http://www.getainsuranceplan.com http://www.parentingchapter.com http://www.smartparentingadvices.com http://www.mortgageadvisorhelp.com http://www.basicwebdesigning.com http://www.termofservices.com

 

 


  • 0

#6 siyuefa

siyuefa

    Member

  • Members
  • PipPip
  • 28 posts

Posted 18 September 2018 - 01:26 AM

In maglie calcio a poco prezzo, you are faced with piles of overstocked or outlined Products, readily available for sale at great and reasonable discounts equipaciones de futbol baratas. Some camisetas de futbol baratas are even marked won everyday! Just think of how much it will be beneficial to you -most especially when the magliette calcio is facing great economic struggles.So while you may not have amassed much of a savings maillot pas cher psg, you've prepared yourself for your future by investing in other camiseta atletico de madrid. You've stockpiled a massive arsenal of fashion maillot de foot pas cher that will last a lifetime. You have a comprar camisetas de futbol baratas for every outfit. You look great at all your maillot psg pas cher and best of all, you'll never have to buy another the rest of your life! A kate spade outlet handbags has passed and today you are celebrating. You've landed your first real job. Moreover these fake are very good copies of genuine, branded camisetas del real madrid. Generally there is a minor difference only in their chaussure homme louboutin. Some shrewd even use the comprar camisetas de futbol that is very closer to the original cheap soccer jerseys. Such maglie calcio poco prezzo are enough to confuse the prospective hola camisetas baratas.


  • 0



Reply to this topic



  



 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Community Skin by Fredson Nunes Junior