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.
|
|
Hi Dieter,
Thanks for spotting this one
We will provide the fixed template in the upcoming bug fix release.
Best,
ThemeBurn team
|
|