Check if is product page + display attributes in category view

30.03.2015 14:29
#1
Jobos1
Joomshopping forum user no avatar
Name: J
07.10.2014
Posts: 30
Quote
Check if is product page + display attributes in category view

Hi!
How can I check if the current page is a product page?

and

How can I display the attribute field(s) in the category page?
I inserted into /list_products/product.php:

<?php print $product->_tmp_product_html_before_atributes;?>

<?php if (count($product->attributes)) : ?>
<div class="jshop_prod_attributes jshop">
<?php foreach($product->attributes as $attribut) : ?>
<?php if ($attribut->grshow){?>
<div>
(.....)

but it is not working.

Is it possible to display the price of the attributes as a table just beside the "normal" product price?

Thank you very much.

 
31.03.2015 07:57
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Check if is product page + display attributes in category view

See https://www.webdesigner-profi.de/joomla-webdesign/shop/addons/ajax-cart.html?lang=en

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.