Question for eCommerce 2.5 version!

  • freedom
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 9 months ago #16859 by freedom
I appreciate that you've seen the differences!

So Versions 1.5 with 2,5 have differences from each other! And the Version 1.5 is one template and the version 2.5 it's another template!

So, if i download 1.5v files from the commercial downloads and do new install in to the web server, the site will be seem like the live demo of the www.hotjoomlatemplates.com ->virtuemart templates -> eCommerce template
-> live demo

I coming back to my first question!

If i download the 2.5v files from the commercial downloads and do new install in to the web server, the site will be seem like the live demo? of the site /www.hotjoomlatemplates.com ->virtuemart templates -> eCommerce template
-> live demo

if i install the 2.5v files, at the site it will be seem at the each category
under of each product the "add to cart" box? and of each product details, under of the product picture the "dd to cart" box? as seen in the live demo of your site?
/www.hotjoomlatemplates.com ->virtuemart templates -> eCommerce template
-> live demo
Attachments:

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
12 years 9 months ago #16869 by milos
This is changed because new VirtueMart can have Add To Cart buttons only on the product page, and not on the category page. That's the simple reason why we had to make this difference. Not our fault.

Please Log in to join the conversation.

  • freedom
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 9 months ago #16889 by freedom
I appreciate that you've seen the differences!

so you tell me that for the joomla 1.5v in the category page have under of each product the "add to cart" box. And for the joomla 2.5v in the category page have under of each product the "product details" box.? I understood right?

Please Log in to join the conversation.

  • freedom
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 9 months ago #16956 by freedom
If i understood right, that the 1.5v have difference only in the category page, under of each product the "add to cart" box, from 2.5v who have in the category page have under of each product the "product details" box, then the detail page & the live demo of the eCommerce Template
" www.hotjoomlatemplates.com/virtuemart-te...mplate-hot-ecommerce "
does not clarifies that the two versions 1.5 &2.5 have that difference!

Please Log in to join the conversation.

More
12 years 9 months ago #16960 by ivan.milic
Templates are like that. You can modify:

components\com_virtuemart\views\category\tmpl\default.php to add that button .

around line 271.

Submit form has this form (example of existing product):
Code:
<form method="post" class="product" action="index.php" id="addtocartproduct52"> <div class="addtocart-bar"> <!-- <label for="quantity52" class="quantity_box">Quantity: </label> --> <span class="quantity-box"> <input type="text" class="quantity-input" name="quantity[]" value="1"> </span> <span class="quantity-controls"> <input type="button" class="quantity-controls quantity-plus"> <input type="button" class="quantity-controls quantity-minus"> </span> <span class="addtocart-button"> <input type="submit" name="addtocart" class="addtocart-button" value="Add to Cart" title="Add to Cart"> </span> <div class="clear"></div> </div> <input type="hidden" class="pname" value="Earbuds"> <input type="hidden" name="option" value="com_virtuemart"> <input type="hidden" name="view" value="cart"> <noscript>&lt;input type="hidden" name="task" value="add" /&gt;</noscript> <input type="hidden" name="virtuemart_product_id[]" value="52"> <input type="hidden" name="virtuemart_manufacturer_id" value="6"> <input type="hidden" name="virtuemart_category_id[]" value="13"> </form>

you would have to modify code for geting values.

Please Log in to join the conversation.

  • freedom
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 9 months ago #17040 by freedom
I don't find this code to modify. I only find this code in line 273 - 276:

<p>
<?php // Product Details Button
echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'product-details'));
?>
</p>

Please Log in to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum