Jump to content

Prestashop 1.7 - Link problem with Main menu module


Recommended Posts

Hi, my theme uses the Main menu v1.0.6 module - by PrestaShop

 

if i go to my site, and click on throw pillow on the menu http://www.therepublicmarket.com and i click on any product, for example,  "GOLD SPADE ON BLACK AND WHITE", it goes to the link with the material and size - this link - http://www.therepublicmarket.com/Cheryl/en/frontpage/883-3870-gold-spade-on-black-and-white-stripes.html#/275-material-satin/284-size-square_4545cm

should it not go to this link - http://www.therepublicmarket.com/Cheryl/en/frontpage/883-gold-spade-on-black-and-white-stripes.html ?

 

I used to use prestashop in the best and that's what used to happen.

 

can anyone advise how i can change it to link for the main producy and not a link for a combination?

 

thanks in advance! : )

Link to comment
Share on other sites

Hi,

It's not a menu problem, by clicking "Throw pillows" you just navigate to that category page. Most likely you need to edit your product list template, it's located in /themes/YOUR_THEME/product-list.tpl
Post its code here, we'll check it together :)

Link to comment
Share on other sites

Hi! Thanks for your offer of assistance and sorry for the late reply as had a family member in the hospital.  I've pasted the code below.

{**
 * 2007-2016 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to [email protected] so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <[email protected]>
 * @copyright 2007-2016 PrestaShop SA
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 *}
{extends file=$layout}

{block name='content'}
  <section id="main">

    {block name='product_list_header'}
      <h2 class="h2">{$listing.label}</h2>
    {/block}

    <section id="products">
      {if $listing.products|count}

        <div id="">
          {block name='product_list_top'}
            {include file='catalog/_partials/products-top.tpl' listing=$listing}
          {/block}
        </div>

        {block name='product_list_active_filters'}
          <div id="" class="hidden-sm-down">
            {$listing.rendered_active_filters nofilter}
          </div>
        {/block}

        <div id="">
          {block name='product_list'}
            {include file='catalog/_partials/products.tpl' listing=$listing}
          {/block}
        </div>

        <div id="js-product-list-bottom">
          {block name='product_list_bottom'}
            {include file='catalog/_partials/products-bottom.tpl' listing=$listing}
          {/block}
        </div>

      {else}

        {include file='errors/not-found.tpl'}

      {/if}
    </section>

  </section>
{/block}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...