![]() |
registering arrays
I am working on a basic cart to integrate with paypal. I have 5 files and for the most part I can get what I want to work but not how I won't it to work. My biggest issue right now is I have to edit the layout in my functions file and I would like to have a separate template for each item block.
shopping.php - basic page that renders the template but noteworthy code is PHP Code:
cis_cart_functions.php PHP Code:
cis_block.php PHP Code:
my PHP skills aren't very good, so any help would be great! |
I'm not quite sure what you mean by having a separate template for each item block. But I think you want something like:
PHP Code:
Then of course you'd create the template named cis_cart_ITEM (or whatever you want to call it). |
All times are GMT. The time now is 05:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|