-
AuthorPosts
-
gringo211985 Friend
gringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
May 3, 2014 at 12:14 am #533373@ninja Lead
Thanks for the help, but I tried what you suggested and it didn’t work. The only thing that happened was the cart button from latest products moved out of position.
I’m not sure, but is there another way that I can get rid of the /mijoshop/ out of my urls without having a “mijoshop home” menu item selected?
Like VirtueMart 2 if you do not have a “vmhome” or “mijoshop home” menu item selected you would see /comvirtuermat/ or /mijoshop/ in your inner urls.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 3, 2014 at 4:39 am #533382I’m not sure what did you change correctly my suggestion above?
I did help you to change latest.tpl directly on your site, please check the homepage and see as the screenshot
gringo211985 Friendgringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
May 3, 2014 at 1:27 pm #533415@ninja Lead
Not sure why, but second time round it works. However there’s just a couple more bits and then it will be perfect.
1. The sort fields show nothing, how can I edit or add sort fields? see image below
2. How can I remove the “bestsellers” bit, so that the latest products are at the top?
Thanks for all the help guys
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 8, 2014 at 7:39 am #5341311. The sort fields show nothing, how can I edit or add sort fields? see image below
Because my suggested code above work for product layout, not module. Thus when copying it to module, you need to customize it. You will find and edit the code below in the components/com_mijoshop/opencart/catalog/view/theme/bookshop/template/module/latest.tpl file:
<div class="product-filter">
<div class="display"><?php echo $text_display; ?> <?php echo $text_list; ?> <b>/</b> <a onclick="display('grid');"><?php echo $text_grid; ?></a></div>
<div class="product-compare"><a href="<?php echo $compare; ?>" id="compare-total"><?php echo $text_compare; ?></a></div>
<div class="limit"><b><?php echo $text_limit; ?></b>
<div class="select-box">
<div class="sub-select-box">
<select onchange="location = this.value;">
<?php foreach ($limits as $limits) { ?>
<?php if ($limits['value'] == $limit) { ?>
<option value="<?php echo $limits['href']; ?>" selected="selected"><?php echo $limits['text']; ?></option>
<?php } else { ?>
<option value="<?php echo $limits['href']; ?>"><?php echo $limits['text']; ?></option>
<?php } ?>
<?php } ?>
</select>
</div>
</div>
</div>
<div class="sort"><b><?php echo $text_sort; ?></b>
<div class="select-box">
<div class="sub-select-box">
<select onchange="location = this.value;">
<?php foreach ($sorts as $sorts) { ?>
<?php if ($sorts['value'] == $sort . '-' . $order) { ?>
<option value="<?php echo $sorts['href']; ?>" selected="selected"><?php echo $sorts['text']; ?></option>
<?php } else { ?>
<option value="<?php echo $sorts['href']; ?>"><?php echo $sorts['text']; ?></option>
<?php } ?>
<?php } ?>
</select>
</div>
</div>
</div>
</div>
2. How can I remove the “bestsellers” bit, so that the latest products are at the top?
You can get rid of it via configuration of Mijishop component following steps below:
+ Go to Admin site -> Components -> MijoShop -> Extensions -> Bestsellers -> Edit -> Bestsellers and remove it as my screenshot
AuthorPostsThis topic contains 19 replies, has 4 voices, and was last updated by Ninja Lead 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum