Jump to content

PrestaShopDeveloper

Members
  • Posts

    287
  • Joined

  • Last visited

  • Days Won

    1

PrestaShopDeveloper last won the day on January 17 2012

PrestaShopDeveloper had the most liked content!

Recent Profile Visitors

6,608,794 profile views

PrestaShopDeveloper's Achievements

Newbie

Newbie (1/14)

55

Reputation

  1. Loose coupling for the module hooks - That was my wish for PrestaShop 1.4, so I'm still deaming for the time when 1 module will be able to hook more than once to the same hook on different positions.
  2. The code that you need to remove is in the theme file product-sort.tpl. Just search for {l s='Sort by'}. It is most probably surrounded with <label> tags, which should be also removed.
  3. Then you should do the following: .label-new { background: url(../img/new.png) no-repeat; } .label-sale { background: url(../img/sale.png) no-repeat; } .products-list-in-row .label-sale { background: url(../img/sale.png) no-repeat; } .products-list-in-row .label-new { background: url(../img/new.png) no-repeat; } should became: .label-sale { background: url(../img/sale.png) no-repeat; } .products-list-in-row .label-sale { background: url(../img/sale.png) no-repeat; } i.e. you must remove the 1st and the 4th declarations. This is according to the CSS file you provided. From some module there can be other changes. Another variant is the following: .label-new { display: none !important; } .label-sale { background: url(../img/sale.png) no-repeat; } .products-list-in-row .label-sale { background: url(../img/sale.png) no-repeat; } This way you are not displaying the new label, and the !important keyword makes the declaration to take precedence over the normal declarations.
  4. In your latest code replace: .new-label {display:none} with display:none; but this will remove it from all the places, including the tab, so the rule must look differently. I'll need to see the source of the code of the tab in which you only need this "new" label.
  5. It depends on the "href". If you can generate the href based on the information that is at the product page, you can just change the product.tpl template. So basically, how does this link looks like?
  6. You must first upload bigger main image, and then resize the "large" thumbnail.
  7. This error means that you do not have method getExceptionsStatic() in your Module class. The getExceptionsStatic method is introduced in PrestaShop 1.6.0.11, so I suppose you have an older version. Most probably a 3rd party module is using that method, so check which one is it and either add the method in the main module file, or create an override of the Module class. If you do the first - on the next upgrade of the module this method may be deleted. The second method is more save regarding the upgrade of the module, but you should remove it if you upgrade to PrestaShop 1.6.0.11 or newer.
  8. There's a typo in the CSS rule. It should be: .new-label { display: none !important; } Just create a text file called 99-custom.css and place it in the /css/autoload/ folder of your theme.
  9. In PrestaShop you have somehting like "main image" and thumbnails. So via CSV upload big main image and then set the thumbnails size from BackOffice > Preferences > Images & regenerate them.
  10. Here's some feedback from one of my clients` site that is using your module: PrestaShop Version: 1.6.0.14 Module Version: 1.2.3 I think that the problem could be in the cURL implementation. Just found it and had not time to debug it. The problem is that randomly the module returns this content: <div class="reviewscouk-reviews-widget"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <meta content="noindex,nofollow" name="robots"> <style> /* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html */ html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;} html { background: #eee; padding: 10px } img { border: 0; } #sf-resetcontent { width:970px; margin:0 auto; } .sf-reset { font: 11px Verdana, Arial, sans-serif; color: #333 } .sf-reset .clear { clear:both; height:0; font-size:0; line-height:0; } .sf-reset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; } .sf-reset .clear_fix { display:inline-block; } .sf-reset * html .clear_fix { height:1%; } .sf-reset .clear_fix { display:block; } .sf-reset, .sf-reset .block { margin: auto } .sf-reset abbr { border-bottom: 1px dotted #000; cursor: help; } .sf-reset p { font-size:14px; line-height:20px; color:#868686; padding-bottom:20px } .sf-reset strong { font-weight:bold; } .sf-reset a { color:#6c6159; } .sf-reset a img { border:none; } .sf-reset a:hover { text-decoration:underline; } .sf-reset em { font-style:italic; } .sf-reset h1, .sf-reset h2 { font: 20px Georgia, "Times New Roman", Times, serif } .sf-reset h2 span { background-color: #fff; color: #333; padding: 6px; float: left; margin-right: 10px; } .sf-reset .traces li { font-size:12px; padding: 2px 4px; list-style-type:decimal; margin-left:20px; } .sf-reset .block { background-color:#FFFFFF; padding:10px 28px; margin-bottom:20px; -webkit-border-bottom-right-radius: 16px; -webkit-border-bottom-left-radius: 16px; -moz-border-radius-bottomright: 16px; -moz-border-radius-bottomleft: 16px; border-bottom-right-radius: 16px; border-bottom-left-radius: 16px; border-bottom:1px solid #ccc; border-right:1px solid #ccc; border-left:1px solid #ccc; } .sf-reset .block_exception { background-color:#ddd; color: #333; padding:20px; -webkit-border-top-left-radius: 16px; -webkit-border-top-right-radius: 16px; -moz-border-radius-topleft: 16px; -moz-border-radius-topright: 16px; border-top-left-radius: 16px; border-top-right-radius: 16px; border-top:1px solid #ccc; border-right:1px solid #ccc; border-left:1px solid #ccc; overflow: hidden; word-wrap: break-word; } .sf-reset li a { background:none; color:#868686; text-decoration:none; } .sf-reset li a:hover { background:none; color:#313131; text-decoration:underline; } .sf-reset ol { padding: 10px 0; } .sf-reset h1 { background-color:#FFFFFF; padding: 15px 28px; margin-bottom: 20px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; border: 1px solid #ccc; } </style> <div class="sf-reset" id="sf-resetcontent"> <h1>Whoops, looks like something went wrong.</h1> </div> </div>
  11. Yes, you don't need to fill anything, just install the module and it will work for all the products that have reference defined. The reference must be unique, else the customer will be redirected to the first product with the specified reference.
  12. My quote is 15 euro, EDT 1 hour. I will send you a PM with more information. Here you can see how it works: http://demo16.prestashop-developer.com/ This is default installation of PrestaShop 1.6.0.9, so the references are: demo_1, demo_2, demo_3, demo_4, demo_5, demo_6, demo_7 Example: http://demo16.prestashop-developer.com/demo_1
  13. If you want to import the products with the 128+ characters as a name, you will need to change the database table structure - increasing the fields length and the definition of that fields, overriding the corresponding ObjectModel classes. In every ObjectModel class there is one static array called $definition.
×
×
  • Create New...