Jump to content

Ошибка в MGC home products carousel


getsenko

Recommended Posts

Устанавливаю MGC home products carousel,включаю его,на главной выдает ошибку :

 

Unknown column 'p.id_tax' in 'on clause'

 

 

SELECT p.*, pa.`id_product_attribute`, pl.`description`, pl.`description_short`, pl.`available_now`, pl.`available_later`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, i.`id_image`, il.`legend`, m.`name` AS manufacturer_name, tl.`name` AS tax_name, t.`rate`, cl.`name` AS category_default, DATEDIFF(p.`date_add`, DATE_SUB(NOW(), INTERVAL 20 DAY)) > 0 AS new

FROM `ts_category_product` cp

LEFT JOIN `ts_product` p ON (p.`id_product` = cp.`id_product`)

LEFT JOIN `ts_product_attribute` pa ON (p.`id_product` = pa.`id_product` AND default_on = 1)

LEFT JOIN `ts_category_lang` cl ON (p.`id_category_default` = cl.`id_category` AND cl.`id_lang` = 2)

LEFT JOIN `ts_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 2)

LEFT JOIN `ts_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1)

LEFT JOIN `ts_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 2)

LEFT JOIN `ts_tax` t ON (t.`id_tax` = p.`id_tax`)

LEFT JOIN `ts_tax_lang` tl ON (t.`id_tax` = tl.`id_tax` AND tl.`id_lang` = 2)

LEFT JOIN `ts_manufacturer` m ON (m.`id_manufacturer` = p.`id_manufacturer`)

WHERE cp.`id_category` NOT IN (1) AND p.`active` = 1

GROUP BY cp.`id_product`

ORDER BY cp.`position` ASC

LIMIT 0,3

 

Перемучался с ним,решения так и не нашол,буду рад помощи :)

Link to comment
Share on other sites

Устанавливаю MGC home products carousel,включаю его,на главной выдает ошибку :

 

Unknown column 'p.id_tax' in 'on clause'

 

 

 

SELECT p.*, pa.`id_product_attribute`, pl.`description`, pl.`description_short`, pl.`available_now`, pl.`available_later`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, i.`id_image`, il.`legend`, m.`name` AS manufacturer_name, tl.`name` AS tax_name, t.`rate`, cl.`name` AS category_default, DATEDIFF(p.`date_add`, DATE_SUB(NOW(), INTERVAL 20 DAY)) > 0 AS new

FROM `ts_category_product` cp

LEFT JOIN `ts_product` p ON (p.`id_product` = cp.`id_product`)

LEFT JOIN `ts_product_attribute` pa ON (p.`id_product` = pa.`id_product` AND default_on = 1)

LEFT JOIN `ts_category_lang` cl ON (p.`id_category_default` = cl.`id_category` AND cl.`id_lang` = 2)

LEFT JOIN `ts_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 2)

LEFT JOIN `ts_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1)

LEFT JOIN `ts_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 2)

LEFT JOIN `ts_tax` t ON (t.`id_tax` = p.`id_tax`)

LEFT JOIN `ts_tax_lang` tl ON (t.`id_tax` = tl.`id_tax` AND tl.`id_lang` = 2)

LEFT JOIN `ts_manufacturer` m ON (m.`id_manufacturer` = p.`id_manufacturer`)

WHERE cp.`id_category` NOT IN (1) AND p.`active` = 1

GROUP BY cp.`id_product`

ORDER BY cp.`position` ASC

LIMIT 0,3

 

Перемучался с ним,решения так и не нашол,буду рад помощи :)

 

PS: версия prestashop 1.4.4.0

Link to comment
Share on other sites

Спасибо большое,установил но вот появилась еще одна проблема,ставлю модуль в хук top of pages,и он не становится коректно. кто поможет? :rolleyes:

вот проблема : http://i.piccy.info/i7/9251932df925117dca5b35787d8c3c3f/1-5-3889/23495155/Bezymiannyiyyy_1200.jpg

 

файл стиля : .jcarousel-skin-tango .jcarousel-container {

-moz-border-radius: 10px;

background: #FFFFFF;

border: 1px solid #346F97;

margin-bottom: 10px;

}

 

.jcarousel-skin-tango .jcarousel-container-horizontal {

width: 700px;

padding: 5px 40px;

}

 

.jcarousel-skin-tango .jcarousel-container-vertical {

width: 75px;

padding: 40px 20px;

}

 

.jcarousel-skin-tango .jcarousel-clip-horizontal {

width: 680px;

height: auto;

}

 

.jcarousel-skin-tango .jcarousel-clip-vertical {

width: 75px;

}

 

.jcarousel-skin-tango .jcarousel-item {

width: 129px;

height: auto;

text-align: center;

}

 

.jcarousel-skin-tango .jcarousel-item-horizontal {

margin-right: 5px;

padding-right: 15px;

}

 

.jcarousel-skin-tango .jcarousel-item-vertical {

margin-bottom: 10px;

}

 

.jcarousel-skin-tango .jcarousel-item-placeholder {

background: #fff;

color: #000;

}

 

/**

* Horizontal Buttons

*/

.jcarousel-skin-tango .jcarousel-next-horizontal {

position: absolute;

top: 45%;

right: 5px;

width: 32px;

height: 32px;

cursor: pointer;

background: transparent url(next-horizontal.png) no-repeat 0 0;

}

 

.jcarousel-skin-tango .jcarousel-next-horizontal:hover {

background-position: -32px 0;

}

 

.jcarousel-skin-tango .jcarousel-next-horizontal:active {

background-position: -64px 0;

}

 

.jcarousel-skin-tango .jcarousel-next-disabled-horizontal,

.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:hover,

.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:active {

cursor: default;

background-position: -96px 0;

}

 

.jcarousel-skin-tango .jcarousel-prev-horizontal {

position: absolute;

top: 45%;

left: 5px;

width: 32px;

height: 32px;

cursor: pointer;

background: transparent url(prev-horizontal.png) no-repeat 0 0;

}

 

.jcarousel-skin-tango .jcarousel-prev-horizontal:hover {

background-position: -32px 0;

}

 

.jcarousel-skin-tango .jcarousel-prev-horizontal:active {

background-position: -64px 0;

}

 

.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal,

.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:hover,

.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:active {

cursor: default;

background-position: -96px 0;

}

 

/**

* Vertical Buttons

*/

.jcarousel-skin-tango .jcarousel-next-vertical {

position: absolute;

bottom: 5px;

left: 43px;

width: 32px;

height: 32px;

cursor: pointer;

background: transparent url(next-vertical.png) no-repeat 0 0;

}

 

.jcarousel-skin-tango .jcarousel-next-vertical:hover {

background-position: 0 -32px;

}

 

.jcarousel-skin-tango .jcarousel-next-vertical:active {

background-position: 0 -64px;

}

 

.jcarousel-skin-tango .jcarousel-next-disabled-vertical,

.jcarousel-skin-tango .jcarousel-next-disabled-vertical:hover,

.jcarousel-skin-tango .jcarousel-next-disabled-vertical:active {

cursor: default;

background-position: 0 -96px;

}

 

.jcarousel-skin-tango .jcarousel-prev-vertical {

position: absolute;

top: 5px;

left: 43px;

width: 32px;

height: 32px;

cursor: pointer;

background: transparent url(prev-vertical.png) no-repeat 0 0;

}

 

.jcarousel-skin-tango .jcarousel-prev-vertical:hover {

background-position: 0 -32px;

}

 

.jcarousel-skin-tango .jcarousel-prev-vertical:active {

background-position: 0 -64px;

}

 

.jcarousel-skin-tango .jcarousel-prev-disabled-vertical,

.jcarousel-skin-tango .jcarousel-prev-disabled-vertical:hover,

.jcarousel-skin-tango .jcarousel-prev-disabled-vertical:active {

cursor: default;

background-position: 0 -96px;

}

 

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...