Whislist and returns still shows in Account module when turned off

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeWhislist and returns still shows in Account module when turned off

This topic has been marked as resolved.

Hi,

When you go to: extensions–>Shoppica 2 CP–>Store tab
And turn whislist and returns off they still show up in the Account module and when clicked on it throws a “Page not found” page.

So i went into:
catalog/view/theme/shoppica2/template/module/account.tpl
and replaced line 13:

<li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>

With:
<?php if ($tbData->common['wishlist_enabled']): ?>  
<li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
<?php endif; ?>

Did the same at line 15:
<li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>

replaced it with:
<?php if ($tbData->common['returns_enabled']): ?>
<li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
<?php endif; ?>

Now when the returns and the whislist are turned off in the Shoppica store settings they don’t show and when turned on they show up again.

Regards,
Dieter

  • This reply was modified 4346 days ago by  Dieter.
  • This reply was modified 4346 days ago by  Dieter. Reason: Typo's
  • This reply was modified 4346 days ago by  Dieter.
 Dieter
June 3, 2012 at 3:15 pm #9683

Hi Dieter,

Thanks for spotting this one :)

We will provide the fixed template in the upcoming bug fix release.

Best,
ThemeBurn team

June 5, 2012 at 10:22 am #9807

:-)

 Dieter
June 5, 2012 at 10:26 am #9809
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.