Hi,
I want catalog page numbers on top in v2.1.2 (this is only on bottom for v2.1.2)
Please look attach images for understanding.
Thanks!
I still waiting help.
Please help me…
The best way would be to go to ‘Design > Design mode > Enable Customization Mode’, then open the ‘blocks/list_templates/products_list.tpl’, finde the code:
{if !$no_pagination}
copy and paste it somewhere on the top. The code
{include file="common_templates/pagination.tpl"}
{/if}
{if !$no_pagination}
is currently there in the original file (on the top and bottom) but it shows the pagination only at the bottom. I don’t know why, I guess the code have to be a little bit altered.
{include file="common_templates/pagination.tpl"}
{/if}
```php
{* $Id: products_list.tpl 10729 2010-09-28 11:57:49Z alexions $ *}
{if $products}
{script src=“js/exceptions.js”}
[COLOR=Red]{if !$no_pagination}
{include file=“common_templates/pagination.tpl”}
{/if}[/COLOR]
{if !$no_sorting}
{include file=“views/products/components/sorting.tpl”}
{/if}
{foreach from=$products item=product key=key name=“products”}
{capture name=“capt_options_vs_qty”}{/capture}
{hook name=“products:product_block”}
{assign var=“obj_id” value=$product.product_id}
{assign var=“obj_id_prefix” value=“$obj_prefix``$product.product_id
”}
{include file=“common_templates/product_data.tpl” product=$product min_qty=true}
{assign var="form_open" value="form_open_`$obj_id`"}
{$smarty.capture.$form_open}
{if $bulk_addition}
{/if}
{if !$hide_links}
{/if}
{include file="common_templates/image.tpl" image_width=$settings.Thumbnails.product_lists_thumbnail_width obj_id=$obj_id_prefix images=$product.main_pair object_type="product" show_thumbnail="Y" image_width=$settings.Thumbnails.product_lists_thumbnail_width image_height=$settings.Thumbnails.product_lists_thumbnail_height}
{if !$hide_links}
{/if}
{assign var="rating" value="rating_$obj_id"}
{$smarty.capture.$rating}
{if $js_product_var}
{/if}
{if $item_number == "Y"}{$smarty.foreach.products.iteration}. {/if}
{assign var="name" value="name_$obj_id"}{$smarty.capture.$name}
{assign var="sku" value="sku_$obj_id"}{$smarty.capture.$sku}
{assign var="add_to_cart" value="add_to_cart_`$obj_id`"}
{$smarty.capture.$add_to_cart}
{assign var="old_price" value="old_price_`$obj_id`"}
{if $smarty.capture.$old_price|trim}{$smarty.capture.$old_price} {/if}
{assign var="price" value="price_`$obj_id`"}
{$smarty.capture.$price}
{assign var="clean_price" value="clean_price_`$obj_id`"}
{$smarty.capture.$clean_price}
{assign var="list_discount" value="list_discount_`$obj_id`"}
{$smarty.capture.$list_discount}
{assign var="discount_label" value="discount_label_`$obj_id`"}
{$smarty.capture.$discount_label}
{if $settings.Appearance.in_stock_field == "N"}
{assign var="product_amount" value="product_amount_`$obj_id`"}
{$smarty.capture.$product_amount}
{/if}
{assign var="prod_descr" value="prod_descr_`$obj_id`"}{$smarty.capture.$prod_descr}
{if $settings.Appearance.in_stock_field == "Y"}
{assign var="product_amount" value="product_amount_`$obj_id`"}
{$smarty.capture.$product_amount}
{/if}
{if !$smarty.capture.capt_options_vs_qty}
{assign var="product_options" value="product_options_`$obj_id`"}
{$smarty.capture.$product_options}
{assign var="qty" value="qty_`$obj_id`"}
{$smarty.capture.$qty}
{/if}
{assign var="advanced_options" value="advanced_options_`$obj_id`"}
{$smarty.capture.$advanced_options}
{assign var="min_qty" value="min_qty_`$obj_id`"}
{$smarty.capture.$min_qty}
{assign var="product_edp" value="product_edp_`$obj_id`"}
{$smarty.capture.$product_edp}
{if $bulk_addition}
{/if}
{assign var="form_close" value="form_close_`$obj_id`"}
{$smarty.capture.$form_close}
{if !$smarty.foreach.products.last}
{/if}
{/hook}
{/foreach}
{if $bulk_addition}
{literal}
{/literal}
{/if}
[B][COLOR=Red]{if !$no_pagination}
{include file="common_templates/pagination.tpl"}
{/if}[/COLOR][/B]
{/if}
{capture name="mainbox_title"}{$title}{/capture} ```
OMG! It’s working…
Thank you so much…
(I did add this code again to bottom after adding to top)
Thank you… Thank you!!!
I’m glad I could help.
I’m glad I could help.
This thread will help for somebody but I want to tell this…
This is doesn’t work if your “AJAX(Javascript)-based pagination” is active. You have to close it.
Hi all. You can tick "[color=#5F5F5F][font=Tahoma, Arial, Verdana,]Display the “Pagination section” on the top of the listed object" [/font][/color][color=#5F5F5F][font=Tahoma, Arial, Verdana,]in Setting / [/font][/color]Appearance. And Pagination show on top and bottom !