Jump to content


Photo
* * * * - 3 votes

Модифицированный модуль корзины

рецепт корзина модуль

9 replies to this topic

#1 i001

i001
  • JBZoo User (rus)
  • User rate: 46.4
  • posts: 972
  • topics: 76

Posted 17 October 2013 - 21:20

*
POPULAR

Все расписывать не буду. Прикрепляю модуль с изменениями.
модуль можно установить просто через установщик джумлы. 
в css шаблона добавляем (для того чтобы показывались товары при клике на цену в корзине)

#cart_full{
    position: absolute;
    margin-top: 5px;
    left: -64px;
    z-index: 9999;
    overflow-y: scroll;
    max-height: 490px;
    -webkit-transition-duration: 0.25s;
    -moz-transition-duration: 0.25s;
    -ms-transition-duration: 0.25s;
    -o-transition-duration: 0.25s;
    transition-duration: 0.25s;
    float: left;
    padding: 5px;
    list-style: none;
    background-color: #ffffff;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 25px 5px rgba(0, 0, 0, 0.15);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    text-align: left;
    width: 230px;
}
#cart_full img{
    border-radius: 6px;
}
#cart_full .cart_item_image{
    float:left;
}
#cart_full .cart_main{
    float:left;
    margin-left: 10px;
   width: 150px;
}
#cart_full .cart_main .cart_name{
    font-family: 'PT Sans', Arial, sans-serif;
    text-transform: uppercase;
   font-weight: normal;
    color: #464b4d;
    width:100%
}
.price-total-value{
    cursor: pointer
}
.cart{
    overflow: visible !important}
#cart_full .addcount{
    background: none;
}


#cart_full .addcount input,#cart_full .addcount .minus,#cart_full .addcount .plus{
    color: #c9ced2;
    display: inline-block;
    line-height: 26px;
    height: 26px;
    padding: 0;
    width: 26px;
    background: none;
    text-align: center;
    font-weight: bold;
    font-size: 1.545em;
    vertical-align: bottom;
  
    border-radius: 0;
}
#cart_full .addcount .minus,#cart_full .addcount .plus{
    color:#c9ced2;
    -webkit-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
    background-clip: padding-box;
    cursor: pointer;
 
}
#cart_full .addcount{margin:0;float:left}
#cart_full p{color:black;font-size: 16px; margin-top: 2px;
margin-bottom: 20px;}
#cart_full  .jsCount{
border-top: solid 1px #c9ced2;
box-shadow: none !important;
-webkit-box-shadow: none !important;
border-radius: 0 !important;
border-bottom: solid 1px #c9ced2;
}
#cart_full .btn-mini {border: solid 1px #c9ced2}

Пример работы этого модуля  http://jarko66.ru/rolly

Attached Files


Edited by i001, 29 January 2014 - 08:57.

  • 8

#2 infogunchenko

infogunchenko
  • JBZoo User (rus)
  • User rate: 0.9
  • posts: 33
  • topics: 11

Posted 17 October 2013 - 22:26

Спасибо, добрый человек


  • 0

#3 Olegtlt

Olegtlt
  • JBZoo User (rus)
  • User rate: 0
  • posts: 56
  • topics: 14

Posted 09 November 2013 - 18:17


Огромное спасибо
 
Не подскажите еще как в "оформление заказа" - так красиво цену оформили?
  • 0

#4 i001

i001
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 46.4
  • posts: 972
  • topics: 76

Posted 09 November 2013 - 20:10

несколько строк css 


  • 0

#5 Olegtlt

Olegtlt
  • JBZoo User (rus)
  • User rate: 0
  • posts: 56
  • topics: 14

Posted 09 November 2013 - 20:12

несколько строк css 

Если не секрет - выложите здесь


  • 0

#6 i001

i001
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 46.4
  • posts: 972
  • topics: 76

Posted 09 November 2013 - 20:17

если вы именно о цене на странице оформления заказа то там прописано так

.jsTotalPrice {
font-size: 3.5em;
font-family: 'PT Sans Caption', Arial, sans-serif;
text-transform: uppercase;
font-weight: bold;
height: 45px;
line-height: 45px;
padding: 0 !important;
padding-bottom: 0px !important;
padding-left: 20px !important;
padding-top: 20px !important;
}

фон у блока с ценой 

.jbbasket-table.jsJBZooBasket tfoot {
display: block !important;
height: 121px;
background: url(../images/check-m.png) repeat-x;
width: 665px;
margin-bottom: 60px;
}

кнопка "завершить"

.jbzoo-view-submission .submit-button input:hover {
background: #6bc900;
background: -moz-linear-gradient( top, #9cfd00 0%, #61b900 50%, #3c8c00);
background: -webkit-gradient( linear, left top, left bottom, from(#9cfd00), color-stop(0.50, #61b900), to(#3c8c00));
}

.jbzoo-view-submission .submit-button input {
display: inline-block;
background: #6bc900;
background: -moz-linear-gradient( top, #9cfd00 0%, #6bc900 50%, #449d00);
background: -webkit-gradient( linear, left top, left bottom, from(#9cfd00), color-stop(0.50, #6bc900), to(#449d00));
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
background-clip: padding-box;
border-top: 1px solid #81be00;
border-left: 1px solid #609e00;
border-right: 1px solid #609e00;
border-bottom: 1px solid #468400;
color: #fff;
position: absolute;
cursor: pointer;
outline: 0;
height: 47px !important;
width: 175px;
font-size: 1.500em !important;
padding: 0 !important;
;
margin-top: 20px;
}

все можно посмотреть в файрбуге 


  • 0

#7 Olegtlt

Olegtlt
  • JBZoo User (rus)
  • User rate: 0
  • posts: 56
  • topics: 14

Posted 09 November 2013 - 20:22

спасибо


  • 0

#8 berezhnuy

berezhnuy
  • JBZoo User (rus)
  • User rate: 0
  • posts: 31
  • topics: 8

Posted 28 January 2014 - 19:00

ааааа... помогите, мод поломал мне весь сайт((( помогите вернуть обратно((( до установки его. Что почистить или восстановить?


  • 0

#9 masterxoloda

masterxoloda
  • JBZoo User (rus)
  • User rate: 0
  • posts: 64
  • topics: 27

Posted 28 January 2014 - 21:30

Ссылка не работает на демо, выложите пожалуйста


  • 0

#10 i001

i001
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 46.4
  • posts: 972
  • topics: 76

Posted 29 January 2014 - 08:51

ааааа... помогите, мод поломал мне весь сайт((( помогите вернуть обратно((( до установки его. Что почистить или восстановить?

странно, как он сумел поломать сайт, чтобы венуть переустановите модуль из коробки или просто замените файл 

\modules\mod_jbzoo_basket\tmpl\default.php на дефолтный


Ссылка не работает на демо, выложите пожалуйста

http://jarko66.ru/rolly

 

рекомендую ставить этот, он без глюков

http://forum.jbzoo.c...odul-korziny-2/


Edited by i001, 29 January 2014 - 08:53.

  • 0





Also tagged with one or more of these keywords: рецепт, корзина, модуль

Click to return to top of page in style!