VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Marttyn on October 20, 2018, 11:40:23 AM

Title: Multi variant product ratings
Post by: Marttyn on October 20, 2018, 11:40:23 AM
Hi!
Ive created a multivariant parent product, and childs that hold stock for each variant.
Let say its a t-shirt, and 3 different sizes.
Well, if a customer leave feedback for the M size t-shirt, this is only shown on that variant, although i think that the ratings and comments should be all together for any variant...
Imagine that the same t-shirt have different ratings and comments on each size... that dont make any sense.

Is this the correct and default behaviour?

Im using J! 3.8.12 and VM 3.4.2

Thanks!
Title: Re: Multi variant product ratings
Post by: GJC Web Design on October 20, 2018, 12:45:00 PM
it is currently the default behaviour for the standard reviews and ratings

For a much more extensive reviews and ratings extension you can have a look at this:   https://extensions.joomla.org/extension/product-review-for-virtuemart/
Title: Re: Multi variant product ratings
Post by: Marttyn on October 22, 2018, 17:48:06 PM
Thanks for your reply!
I have 3 questions about this extesion:
1. It will allow to have all the reviews together for any multivariant as asked before?
2. I would like to keep my template styling, position, etc... Is this possible? This is the template style: https://flex.aplikko.com/shop/product-details
3. The email reminder for the review, includes a custom link that leads directly to review? Or its just a reminder email, but user will have to manually go to the website, access with his credentials, find the product and then write the review?
Thanks!
Title: Re: Multi variant product ratings
Post by: GJC Web Design on October 22, 2018, 18:28:24 PM
1. yes
2. yes
3. All access for the buyers reviews are in THEIR Account area exactly the same as Amazon .. that is where they can place and manage their reviews.
So there is no direct link - leaving reviews isn't done at the product.
All products they have bought will have a form to leave a review in the Account area

D/L the pdf which explains everything:  https://www.gjcwebdesign.com/eximg/productreview/GJC_VMReview_Virtuemart_3_J3.pdf
Please read carefully
Title: Re: Multi variant product ratings
Post by: Marttyn on November 16, 2018, 21:05:20 PM
Sorry for my late answer
Your extension looks very nice and powerful. Its just what i need, both gathering all child reviews, and also helping customer leave review without many steps.
But it has one major drawback, it has many manual steps to make the instalation :(
In my case my template is updated once a month by the developer, with fixes and improvements. And i can not be modifying the template override every month to keep the extension working :-\
Is it possible that your plugin automatically override the review section without needing for a template override?
Thanks for your help
Title: Re: Multi variant product ratings
Post by: GJC Web Design on November 16, 2018, 22:56:14 PM
Essentially the only addition to the user edit.php to show the review interfaces is the addition

if (($_ordcnt = count($this->orderlist)) > 0) {
       $tabarray['reviews'] = 'PLG_VMREVIEWS_TITLE';
    }

to load the template

and

$language = JFactory::getLanguage();
   $language->load('plg_system_vmreview', JPATH_ADMINISTRATOR);

to load the language

But I have wonder at:

QuoteIn my case my template is updated once a month by the developer, with fixes and improvements.

to the components\com_virtuemart\views\user\tmpl\edit.php  over ride????

its a few lines to show the tabs
Title: Re: Multi variant product ratings
Post by: Marttyn on November 18, 2018, 15:47:58 PM
Quote from: GJC Web Design on November 16, 2018, 22:56:14 PM
o the components\com_virtuemart\views\user\tmpl\edit.php  over ride????
its a few lines to show the tabs

Yes, just checked. This file is indeed modified by the template override :(