Add To Cart button in Gride View

Dear All, Please help me!
JA Megamall show Add To Cart ,Wishlist and Compare link in List View (Screenshot), but now I want to display "Add To Cart" button on Grid View page too.
Please help me to add this button in all of product page and list view.
Sorry for my English.

Attachment 36601

9 answers

Profile photo of tomc 0.00 $tone May 8, 2014
Public

It would be helpful if you could provide the url of the site you’re working on -- so we can take a look at the issue you’re talking about and then provide appropriate suggestion to resolve.

#1
Profile photo of Seoki Lee 1510.00 $tone May 9, 2014
Public

To display button "add to cart" on grid view page, please open the file /skin/frontend/default/jm_megamall/css/styles.css

At line 3589, please replace this code:

Code:

.products-grid .add-to-links, 
.products-grid .btn-cart {
    display: none;
}

With:

Code:

.products-grid .add-to-links{
    display: none;
}

At line 3578, replace this code:

Code:

.products-grid li.item:hover .btn-cart, 
.products-grid li.item:focus .add-to-links {
    display: none;
}

With:

Code:

.products-grid li.item:focus .add-to-links {
    display: none;
}

Hope this helps.

#3
Profile photo of Alireza Lavvaf 0.00 $tone May 11, 2014
Public

To display button "add to cart" on grid view page, please open the file /skin/frontend/default/jm_megamall/css/styles.css

At line 3589, please replace this code:

Code:

.products-grid .add-to-links, 
.products-grid .btn-cart {
    display: none;
}

With:

Code:

.products-grid .add-to-links{
    display: none;
}

At line 3578, replace this code:

Code:

.products-grid li.item:hover .btn-cart, 
.products-grid li.item:focus .add-to-links {
    display: none;
}

With:

Code:

.products-grid li.item:focus .add-to-links {
    display: none;
}

Hope this helps.

Thank you so much.
I change the CSS and know "Add To Cart" button display but it dose not work!!!
please see this URL:
http://portalcms.ir/index.php/jmprod…l/1/?mode=grid
I want add "Add to cart" button similar List View page (according blow URL):
http://portalcms.ir/index.php/jmprod…l/1/?mode=list
help me!

#4
Profile photo of Seoki Lee 1510.00 $tone May 12, 2014
Public

To fix that, please open file /skin/frontend/default/jm_megamall/css/styles.css

At line 3681, find and replace this code:

Code:

.cboxElement {
    display: none;
    font-size: 100%;
    height: 100%;
    left: 0;
    margin: auto;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

With:

Code:

.cboxElement {
    display: none;
    font-size: 100%;
    left: 0;
    margin: auto;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}
#5
Profile photo of Alireza Lavvaf 0.00 $tone May 14, 2014
Public

To fix that, please open file /skin/frontend/default/jm_megamall/css/styles.css

At line 3681, find and replace this code:

Code:

.cboxElement {
    display: none;
    font-size: 100%;
    height: 100%;
    left: 0;
    margin: auto;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

With:

Code:

.cboxElement {
    display: none;
    font-size: 100%;
    left: 0;
    margin: auto;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

Dear Lee,
Thanks your supporting, I changed the code and everything is OK!
But the "Add to Cart" button now display in home page (See Screenshot Please)! may I ask you help me display this button only in Product List!

Thank you very much.
Attachment 36778

#6
Profile photo of Seoki Lee 1510.00 $tone May 22, 2014
Public

I’ve updated directly on your site, I did edit the file /skin/frontend/default/jm_megamall/css/styles.css

At line 15683, I added this rule:

Code:

.jm-product-list li.item button.btn-cart,
.jm-slider li button.btn-cart {
	display: none !important;
}

Please clear cache and check again.

#9

Please login or Register to Submit Answer

Written By

Comments