Forum
Welcome, Guest

Problem with displaying an Add Review tab
(1 viewing) (1) Guest
Please ask all of your DynTabs Virtuemart Theme questions here.
  • Page:
  • 1

TOPIC: Problem with displaying an Add Review tab

Problem with displaying an Add Review tab 6 months, 2 weeks ago #3251

  • bnbcs
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
As the title indicates I am having a little bit of difficulty with adding a tab for my customers to add a review, I can display the reviews but the customer cant add them. Also is there a way to add Recently viewed to the tabs, i can add the tab but what is the VMFIELD for this?

Thanks

Re: Problem with displaying an Add Review tab 6 months, 2 weeks ago #3256

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 409
We did not provide a setting for "recently viewed".

As far as the user not being able to add a review: is the user logged in? If so, what exactly is the problem that is occurring?

Jerry

Re: Problem with displaying an Add Review tab 6 months, 2 weeks ago #3259

  • bnbcs
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Can it be added? If so I would be willing to add it if you tell me where.

Re: Problem with displaying an Add Review tab 6 months, 2 weeks ago #3265

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 409
OK, I looked in to this and the code you want to add is:

if ($fieldID == 'related') {
if (!empty($related_products)) {
$contentWork .= '<div id="relatedProducts">'.$related_products.'</div>';
}
$related_shown = 'y';
}
if ($fieldID == 'recent') {
if (!empty($recent_products)) {
$contentWork .= '<div id="recentProducts">'.$recent_products.'</div>';
}
$recent_shown = 'y';
}

$contentWork .= $fieldWork[1];

The code in bold above should be added to the DynaTabs fly-page you are using.

Jerry
The following user(s) said Thank You: bnbcs

Re: Problem with displaying an Add Review tab 6 months, 2 weeks ago #3266

  • bnbcs
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Great I will do that as soon as I get back today and I will let you know if i have any problems.

Thanks a lot.

Re: Problem with displaying an Add Review tab 6 months, 2 weeks ago #3301

  • bnbcs
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Ok, that works perfectly, also the user wasn't logged in so could not review the product.
  • Page:
  • 1
Time to create page: 0.56 seconds

Login