Hello,
Does anyone know the solution for sorting the prev-next products alphabetically?
I would like to know where and what to change in the code?
Does anyone know the solution for sorting the prev-next products alphabetically?
I would like to know where and what to change in the code?
Regards,
Petran
http://www.pavana.nl
hi
put jimmyphong code changes into a vqmod file to share. i added << and >> for the display into the code.
hope jimmyphong is okay with this.
works with 5.1.2.1
thanks.
put jimmyphong code changes into a vqmod file to share. i added << and >> for the display into the code.
hope jimmyphong is okay with this.
works with 5.1.2.1
thanks.
Attachments
previous and next category.
I downloaded the xml, using 1.5.1.3, it worked fine until i entered SEO keyword for the products. The prev/next links still display but the products can no longer be found anymore when i click on the prev/next links. does anybody else have this problem?
My opencart 1.5.1.3 - Going Out Dresses
Thank you all for cool code
What I got from this code
Take this:
Replace with:
Same did with 'prev'. So it gives me opportunity to use img as links like that:
Now maybe someone know how to make this code work on a circle?
Jump from last Item to first one. Because img is not disapear (and I dont need that) when I see first or last product.
Any idea?
What I got from this code
Take this:
Code: Select all
if(isset($results['next']) && isset($results['next_title'])){
$this->data['link_next'] = "<a href=".$this->url->link('product/product',$category_link.'&product_id='.$results['next']).">".$results['next_title']."</a>";
}else{
$this->data['link_next'] = null;
}
Code: Select all
if(isset($results['next']) && isset($results['next_title'])){
$this->data['link_next'] = $this->url->link('product/product',$category_link.'&product_id='.$results['next'])
}else{
$this->data['link_next'] = null;
}
Code: Select all
<a href="<?php echo $link_next; ?>"><img src="next.gif" /></a>
Jump from last Item to first one. Because img is not disapear (and I dont need that) when I see first or last product.
Any idea?
Hi, guys nice job! Products in my site are sorted alphabetically and I want the same for prev next buttons. I tried this : change ORDER BY p.product_id with ORDER BY p.sort_order but nothing happens. Any ideas?
Best regards!
Сватбени покани от Покани.com
Who is online
Users browsing this forum: No registered users and 5 guests