I have a couple of questions that hopefully someone can help me with.
I am using version 3.0.3.1 with the journal 3 theme, right now it's all just being tested on my "test-site" www.cattex.com/test
I would like to add more stats next to the product price (see attached image green square)
right now thanks to journal theme iI can show all the information that's contained in the "DATA" tab inside the product within the admin.
That's great except I would like it to show also some of the attributes that the products have, basically the format of the product should be:
Views
Stock (qnt)
Model #
Weight
Packaging
I currently have it setup that way for my website and this is the code that does that:
Code: Select all
<file name="catalog/view/theme/*/template/product/product.tpl">
<operation error="log">
<search position="before">
<![CDATA[<?php if ($reward) { ?>
]]>
</search>
<add>
<![CDATA[
<!-- Start Additional Info -->
<?php if ($attribute_groups) { ?>
<?php foreach ($attribute_groups as $attribute_group) { ?>
<?php if ($attribute_group['name'] == 'Product Details') { ?>
<?php foreach ($attribute_group['attribute'] as $attribute) { ?>
<span><?php echo $attribute['name']; ?></span> <?php echo html_entity_decode($attribute['text']); ?><br />
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
<!-- End Additional Info -->
<?php if ($attribute_groups) { ?>
<?php foreach ($attribute_groups as $attribute_group) { ?>
<?php if ($attribute_group['name'] == 'Dettaglio Prodotto') { ?>
<?php foreach ($attribute_group['attribute'] as $attribute) { ?>
<span><?php echo $attribute['name']; ?></span> <?php echo html_entity_decode($attribute['text']); ?><br />
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
<!-- End Additional Info -->
]]>
</add>
</operation>
</file>
The second request should be easier, I basically what it to show just the phrase "w/o Tax" on the product page (remove red square in attached image)
Both of the request should work for the "product page" and "quickview page"
Thanks in advance to anyone who can provide any help.