I have a Zencart shopping cart that sells digital products, which have been uploaded to a folder.
I have also installed a separate program that has membership features. For members to download all the digital products in the Zencart’s folder, I have created a members area.
The main page of Zencart has three columns – left, center and right.
In the center column, there is a maximum of four segments depending on whether the status is set to “On” or not.
When a member has logged in to members area, the center column that holds the four segments is to become blank and be used for display of all the files to be downloaded.
Because I want to generate dynamic download pages, PHP comes into play.
My little understanding of PHP is that there is an include command where I can use it to execute the index.php file from the main page. But as stated above, it would also execute and display the maximum four segments in the main page depending on their individual setting status.
What PHP command or commands to use to exclude the four segments (there are files for them) from being executed?
As the total number of download files comes to hundreds or thousands later, the download page or pages should be restricted to a certain number of download files (with product image, brief product description and download button) per page.
And with numerous download pages, pagination (with Previous and Next button) will need to be included on the top right and bottom right of the download page or pages. For this purpose, I may have to look for standard PHP scripts on pagination to be inserted into the php file or files to be created.
Is this a complex job?
Alternatively, what other ways (including engaging a programmer) that anyone can propose?
Please advise and comment.
I appreciate the help from experienced PHP experts to show the approach to complete this task.
Thank you so very much !!!