| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Mini-cart (or other functionality) on a non-xcart page | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Here's code I used previously for a login box:
Code:
|
|||||||||
#12
|
|||||||
|
|||||||
Jon,
Thanks a ton for your help and sorry about the confusion. I guess I am not that familar with the php shorthand. Thanks again for all the help figuring this out - I owe you.
__________________
x-cart 4.0.13 |
|||||||
#13
|
|||||||
|
|||||||
Can this script be used as a stand along login page.
I am receiving spam bots which are causing hundreds of error logins and I wish to delete the login box from all x-cart pages. If I add a login link from all x-cart pages directing the customers to a stand along login page, I hope this will eliminate the spam I am getting Will this script solve my problems
__________________
yages x-cart version 4.5.5 |
|||||||
#14
|
|||||||||
|
|||||||||
It could be apdapted to be used for that purpose yes, or you could just create an embedded x-cart page with the login html code.
|
|||||||||
#15
|
|||||||
|
|||||||
Created a HTML login page, works great.
Now how do I delete the login from the x-cart pages What template do I edit
__________________
yages x-cart version 4.5.5 |
|||||||
#16
|
|||||||
|
|||||||
One problem with the html login page
The customer can not logout or modify their profile How can this be overcome
__________________
yages x-cart version 4.5.5 |
|||||||
#17
|
|||||||
|
|||||||
mini cart with Last added item's image
hi,
i have modified the mini cart but i want to show the LAST ADDED item gallery image. is it possible? i want to set the width to fixed "100px" I am using x-cart 4.1.2, work well for 4.1.x now (without image~~) here is my code: Code:
__________________
-- |
|||||||
#18
|
|||||||
|
|||||||
Re: Mini-cart (or other functionality) on a non-xcart page
This is great. I have been looking for this for awhile now. I copied and pasted the code above into a php file. When I call the file directly and I get the following error..
Parse error: syntax error, unexpected '}' in /home/username/public_html/ext_menu_cart.php on line 52 Can't seem to figure out why? I get the same error in and outside the xcart root. I am using this on version 4.0.18 Any ideas?
__________________
X-cart gold 4.5.2 (live) X-payments 1.0.5 http://www.professionalcarcare.com Your online source for all your car care needs |
|||||||
#19
|
|||||||||
|
|||||||||
Re: Mini-cart (or other functionality) on a non-xcart page
Your server may not support php short tags, try changing <? to <?php
If that does not work, make sure the code copy and pasted correctly. |
|||||||||
#20
|
|||||||
|
|||||||
Re: Mini-cart (or other functionality) on a non-xcart page
I already changed <? to <php?. With <? I get the following error....
"ERROR: Can not initiate application! Please check configuration." I re-copied the code, and I am still getting the same error.... "Parse error: syntax error, unexpected '}' in /home/myusername/public_html/ext_menu_cart.php on line 52" If I remove { } else { echo "Your shopping cart is currently empty."; } The script shows up. Any other ideas?
__________________
X-cart gold 4.5.2 (live) X-payments 1.0.5 http://www.professionalcarcare.com Your online source for all your car care needs |
|||||||
|
|||
X-Cart forums © 2001-2020
|