Jump to content

Peter_Jansen

Members
  • Content count

    8
  • Joined

  • Last visited

1 Follower

About Peter_Jansen

  • Rank
    PrestaShop Newbie
  1. Shipping based on width

    Thanks for your answer, I had that in mind too... As far as I understood the shipping system of Prestashop, it only sets the shipping price for those 2 attributes ( weight & total price ) in general for all products in the shop, but I have 3 different products that the shipping price differs... How can I set that in the Shipping area? I looked everywhere but you can only set up the zones,countries etc... The only solution I can think of would be to set custom attributes for each of those 3 different products. Those attributes would define the shipping price and the zone ( Germany, Europe, International ). The only problem is, that it would show in the card 0,00 for the shipping price, the shipping price would be added to the product price... it would look not very serious for customers . Also it's a complicated way, maybe there is a much easier solution? Peter
  2. Shipping based on width

    Thanks for your answer, I had that in mind too... As far as I understood the shipping system of Prestashop, it only sets the shipping price for those 2 attributes ( weight & total price ) in general for all products in the shop, but I have 3 different products that the shipping price differs... How can I set that in the Shipping area? I looked everywhere but you can only set up the zones,countries etc... The only solution I can think of would be to set custom attributes for each of those 3 different products. Those attributes would define the shipping price and the zone ( Germany, Europe, International ). The only problem is, that it would show in the card 0,00 for the shipping price, the shipping price would be added to the product price... it would look not very serious for customers . Also it's a complicated way, maybe there is a much easier solution? Peter
  3. Shipping based on width

    Thanks for your answer, I had that in mind too... As far as I understood the shipping system of Prestashop, it only sets the shipping price for those 2 attributes ( weight & total price ) in general for all products in the shop, but I have 3 different products that the shipping price differs... How can I set that in the Shipping area? I looked everywhere but you can only set up the zones,countries etc... The only solution I can think of would be to set custom attributes for each of those 3 different products. Those attributes would define the shipping price and the zone ( Germany, Europe, International ). The only problem is, that it would show in the card 0,00 for the shipping price, the shipping price would be added to the product price... it would look not very serious for customers . Also it's a complicated way, maybe there is a much easier solution? Peter
  4. Shipping based on width

    Thanks for your answer, I had that in mind too... As far as I understood the shipping system of Prestashop, it only sets the shipping price for those 2 attributes ( weight & total price ) in general for all products in the shop, but I have 3 different products that the shipping price differs... How can I set that in the Shipping area? I looked everywhere but you can only set up the zones,countries etc... The only solution I can think of would be to set custom attributes for each of those 3 different products. Those attributes would define the shipping price and the zone ( Germany, Europe, International ). The only problem is, that it would show in the card 0,00 for the shipping price, the shipping price would be added to the product price... it would look not very serious for customers . Also it's a complicated way, maybe there is a much easier solution? Peter
  5. Hello, I have a problem with the shipping in Prestashop. I saw that you can configure your shipping price based on weight and total price, but how can you define it by the package width? My supplier charges the shipping price based on the width of the package. Also I have 3 different types of the same product that that for each type the shipping price also differs. The last thing is to configure the price for Germany, Europe and International... Anyone can help me with this? I would appreciate it, thanks!
  6. Set Product Comments per Page with Pagination

    Still waiting for a reply...
  7. Set Product Comments per Page with Pagination

    Could anyone please help me with this?
  8. Hello Community, I don't have enough php knowledge, maybe you gurus can help me out ;-) I have modified the Product Comment Module to my needs and I implemented the original Pagination from Prestashop. The pagination is now visible in the comment section in the idTab5. I need to write a function that it shows only 10 comments in the table and if there are more than 10 comments go to page 2 in the pagination. Another problem with the pagination is, that when I click on page 2 it just reloads the productsite but it doesn't jump to comments but instead to the default "more info" tab... Here is the function for the pagination that is implemented in the productcomments.tpl : <!-- Pagination --> {if isset($p) AND $p} {if isset($smarty.get.id_product_comment) && $smarty.get.id_product_comment && isset($comments)} {assign var='requestPage' value=$link->getPaginationLink('id_product_comment', $comments, false, false, true, false)} {assign var='requestNb' value=$link->getPaginationLink('id_product_comment', $comments, true, false, false, true)} {else} {assign var='requestPage' value=$link->getPaginationLink(false, false, false, false, true, false)} {assign var='requestNb' value=$link->getPaginationLink(false, false, true, false, false, true)} {/if} <div id="pagination" class="pagination"> {if $start!=$stop} <ul class="pagination"> {if $p != 1} {assign var='p_previous' value=$p-1} <li id="pagination_previous"><a href="{$link->goPage($requestPage, $p_previous)}">« {l s=''}</a></li> {else} <li id="pagination_previous" class="disabled"><span>« {l s=''}</span></li> {/if} {if $start>3} <li><a href="{$link->goPage($requestPage, 1)}">1</a></li> <li class="truncate">...</li> {/if} {section name=pagination start=$start loop=$stop+1 step=1} {if $p == $smarty.section.pagination.index} <li class="current"><span>{$p|escape:'htmlall':'UTF-8'}</span></li> {else} <li><a href="{$link->goPage($requestPage, $smarty.section.pagination.index)}">{$smarty.section.pagination.index|escape:'htmlall':'UTF-8'}</a></li> {/if} {/section} {if $pages_nb>$stop+2} <li class="truncate">...</li> <li><a href="{$link->goPage($requestPage, $pages_nb)}">{$pages_nb|intval}</a></li> {/if} {if $pages_nb > 1 AND $p != $pages_nb} {assign var='p_next' value=$p+1} <li id="pagination_next"><a href="{$link->goPage($requestPage, $p_next)}">{l s=''} »</a></li> {else} <li id="pagination_next" class="disabled"><span>{l s=''} »</span></li> {/if} </ul> {/if} {if $nbComments > 6} <form action="{if !is_array($requestNb)}{$requestNb}{else}{$requestNb.requestUrl}{/if}" method="get" class="pagination"> <p> {if isset($search_query) AND $search_query}<input type="hidden" name="search_query" value="{$search_query|escape:'htmlall':'UTF-8'}" />{/if} {if isset($tag) AND $tag AND !is_array($tag)}<input type="hidden" name="tag" value="{$tag|escape:'htmlall':'UTF-8'}" />{/if} <input type="submit" class="button_mini" value="{l s='OK'}" /> <label for="nb_item">{l s='items:'}</label> <select name="n" id="nb_item"> {assign var="lastnValue" value="0"} {foreach from=$nArray item=nValue} {if $lastnValue <= $nbComments} <option value="{$nValue|escape:'htmlall':'UTF-8'}" {if $n == $nValue}selected="selected"{/if}>{$nValue|escape:'htmlall':'UTF-8'}</option> {/if} {assign var="lastnValue" value=$nValue} {/foreach} </select> {if is_array($requestNb)} {foreach from=$requestNb item=requestValue key=requestKey} {if $requestKey != 'requestUrl'} <input type="hidden" name="{$requestKey|escape:'htmlall':'UTF-8'}" value="{$requestValue|escape:'htmlall':'UTF-8'}" /> {/if} {/foreach} {/if} </p> </form> {/if} </div> <!-- /Pagination --> {/if} This doesn't seem to properly work, I don't know where the problem is... I think I need to write the function for the 10 comments per page in the productcomments.php . Anyone know how to write the function? Thank you very much!
×