Vqmod remove No Product to list in this category..

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeVqmod remove No Product to list in this category..

This topic has been marked as resolved.

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 2861 days ago by  looserfoot.
  • This reply was modified 2861 days ago by  looserfoot.
July 2, 2016 at 2:39 pm #49274

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,

July 2, 2016 at 4:09 pm #49277

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

July 6, 2016 at 6:42 pm #49390

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,

July 7, 2016 at 1:30 pm #49405

Glad everything is OK. Will mark this problem as “resolved”.

BR,
ThemeBurn team

July 7, 2016 at 5:59 pm #49421
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.