I can manually comment out the “no product to list in this category” but i was trying to see if i could learn how to modify a FREE vqmod to work with pavilion 2.
The extension reads:
<file name="catalog/view/theme/*/template/product/category.tpl">
<operation>
<search position="replace" error="log"><![CDATA[<p><?php echo $text_empty; ?></p>]]></search>
<add><![CDATA[]]></add>
</operation>
</file>
</modification>
So I looked in pavilion2 and found the theme category.tpl and how pavilion shows it..
and changed it to show the same in the vqmod xml file.
<file name="catalog/view/theme/*/template/product/category.tpl">
<operation>
<search position="replace" error="log"><![CDATA[<p class="tb_empty"><?php echo $text_empty; ?></p>]]></search>
<add><![CDATA[]]></add>
</operation>
</file>
</modification>
Anybody know how to make this extension play well with Pavilion 2.
Just trying to learn.
Cheers,
Frank
-
This reply was modified 2865 days ago by looserfoot.
-
This reply was modified 2865 days ago by looserfoot.
|
|
Can’t say I’m surprised but but we don’t need this or any vqmod to remove the “no product to list on any particular category”… we simply remove the PRODUCT row in the catalog page that doesn’t have any products… that’s it done!
Cheers,
|
|
Can’t say I’m surprised but but we don’t need this or any vqmod to remove the “no product to list on any particular category”… we simply remove the PRODUCT row in the catalog page that doesn’t have any products… that’s it done!
Haven’t come to this solution, but at the end it does the job
BR,
ThemeBurn team
|
|
Yeah I don’t remove it from the ALL CATEGORIES just the CONTENT AREA of the specific CATEGORY that doesn’t have products, pick the CATEGORY from the drop-down and remove products block. Very easy and effective.
Thanks,
|
|
Glad everything is OK. Will mark this problem as “resolved”.
BR,
ThemeBurn team
|
|