You are here:  » searchresults.php more products

searchresults.php more products

Submitted by paullas on Sun, 2020-11-22 14:28 in

Hi David.

Below is my searchresults code, can you tell me how i add the following:

1: add next and previous at the bottom of the results to show more.
2: Make the more information into a button.

{link saved}

{code saved}

Submitted by support on Mon, 2020-11-23 09:46

Hi Paul,

I just replied here regarding adding the navigation to your custom pages...

To make the links into a button, you should just be able to use Bootstrap's btn/btn-primary' classes so in your code, look for the 2 instances of:

<a href='<?php print $product["productHREF"]; ?>'>

(lines 45/48) and replace with:

<a class='btn btn-primary' href='<?php print $product["productHREF"]; ?>'>

(there are other btn-* classes for different colours, see this page...)