News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Description field missing in 'show Manufacturers products' page & url rewriting

Started by SteP[IT], May 31, 2017, 17:29:09 PM

Previous topic - Next topic

SteP[IT]

I need to display the Manufacturer description field inside the "show all manufacturer products" page.
But in my test site I can't get it rendered: inside the html of that page I find this:


<div class="category-view">
<h1>HERE THE MANUFACTURER TITLE</h1>
<div class="category_description"> </div>


Nothing is appearing inside the category_description div, so it seems the description is not rendered: it's my fault in setting correctly the view? Am I missing something else?

In addition, I would also like to change the word 'manufacturer' (appearing in the re-written url for this page) to something more appropriate to my site (in my case I have Authors, and not Manufacturers), also translating it in my language: is this possible inside VM without dealing with htaccess rules?

Thank you in advance for any hint/help
Regards
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

SteP[IT]

J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

Ghost

1) This will need some custom code in your template override. You'll need to check if you are on manufacturer's product list page, then get manufacturer's info using Manufacturer model.

2) Yes, URL strings are translatable so you can create your language overrides. You can see URL language strings in en-GB.com_virtuemart.sef.ini file.

SteP[IT]

1) The used view is the category one (as per VM standardm, I presume), so I was thinking the manufacturer description should be rendered without modding tenplates, due to the fact that the category desc is normally rendered (title is currently visibile in both category and manufacturer views, description only when asking for category view...)

2) the SEF string translation is correctly done in my language ini file, the question is why it is NOT rendered in url: is there any kind of setting to be made, or is it a issue??
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

Ghost

1) Category and manufacturer are different objects. Manufacturer details are not loaded in category view except those available in product object.

2) Make sure 'Translate Strings' option is checked in VM SEO settings. Also check that your language override file has no errors.

SteP[IT]

1) ok, thanks

2) you're right: coming from a previous version VM upgrade, I missed the new SEO setting available.
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it