Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - CoolMart (SKU# FLEX-00014)

TOPIC: Category page add to cart button not shown

Category page add to cart button not shown 10 years 5 months ago #7539

Hello,

I would like to shown the add to cart button and stock info on products category browse page in listview.
I set the flexible plugin, but don't work. Furthermore the additional images not shown too. Other views not working correctly too.
test site:
www.tintacentrum.hu/new/index.php?option=com_virtuemart&view=category&virtuemart_category_id=5
Attached actualy category page view file.

Regards,
Sandor
Last Edit: 10 years 5 months ago by Support.
The topic has been locked.

Category page add to cart button not shown 10 years 5 months ago #7579

Hi,

Probably you have updated your Virtuemart.
This is why you are not seeing the "Additional pictures" on the category browse page. This is normal.
To bring them back, you need to follow these tutorials (there are total 2). They are pretty simple though. But you need to do them each time you update your Virtuemart to any newer version (so you should bookmark those links)

TUTORIAL 1: Multiple Thumbnails on Category Page
www.flexiblewebdesign.com/forum-joomla-virtuemart-template-lightmart-support/971-after-vm-update-2-multiple-thumbs-in-category

TUTORIAL 2: Show manufacturer LOGOs (on category browse page and on product details page)
www.flexiblewebdesign.com/forum-joomla-virtuemart-template-lightmart-support/970-after-vm-update-1-show-manufacturer-logos

These tutorials above have been provided for our an other template (LightMart) but they are valid for CoolMart as well, because the basic structure is the same.

About "not showing add to cart" button issue, please provide me a Live URL where i can see it. Unfortunately attaching PHP files not possible in our forum, beside it would take a lot more time from me to try to find a problem by looking at a PHP file. By the way, did you change anything in the PHP file?

Regards
Support.
Last Edit: 10 years 5 months ago by Support.
The topic has been locked.

Category page add to cart button not shown 10 years 4 months ago #7653

Hello,

Thanks for tutorials.
Yes, I modify to the category "default.php" file a little bit for other design. I think I made this error, but I tried the original version of the file, unfortunatelly same not showing the cart button. I looked the product stock info, is OK and the product flypage shown correcly the cart button. In backend looks like all settings OK.
First product on under linked page (name: Canon BC-02 (BC-01/BX-2) kompatibilis tintapatron)
tintacentrum.hu/new/index.php?option=com_virtuemart&view=category&virtuemart_category_id=5

Thanks in advance.

Sandor
Last Edit: 10 years 4 months ago by Sándor Boda.
The topic has been locked.

Category page add to cart button not shown 10 years 4 months ago #7669

Hi

I have found a critical coding mistake in the category PHP page.
Open this PHP file:

/templates/flexible_coolmart/html/com_virtuemart/category/default.php

and look at the 409th line and find this:
if ($params->get('category_addtocart_list',1) and !empty($product->customfieldsCart)) {

and replace it with this:
if ($params->get('category_addtocart_list',1)) {

Then the "add to cart" button will start being appeared (on category page, in ListView layout)

Sorry for the trouble. I really don't know why our developer team has included that unnecessary check there though.

Regards,
Support
Last Edit: 10 years 4 months ago by Support.
The topic has been locked.

Category page add to cart button not shown 10 years 4 months ago #7691

Hello,

Thanks, it's works now.

Regards,
Sandor
The topic has been locked.

Category page add to cart button not shown 10 years 4 months ago #7700

Hi,
Thanks for updating this topic and confirming that the modification works out.

Case solved. Topic closed.

Cheers,
Support
The topic has been locked.
Time to create page: 0.141 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo