| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
common if/then modifications I make to x-cart... | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Hey Instinctual-
I want to let you know that a couple of your tips were just what I needed to really get a handle on how to get working with Smarty and XCart. Sometimes a tiny little bit of data is all that is needed to get a whole new chapter of learning started. Thanks much!
__________________
\"We have only scratched the surface of Mars\"... Jim Garvin X-Cart version 4.0.13 |
|||||||||
#12
|
|||||||
|
|||||||
thanks
Thanks - always appreciate the comments - this thread seems to live long and prosper ;o) I'll try and take some more time to keep adding to it
__________________
Instinctual 8,000 feet up in the Rocky Mountains of Colorado X-Cart Versions 3.5.x - 4.0.x IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind. |
|||||||
#13
|
|||||||
|
|||||||
Instinctual,
Thank You for these excellent tips! I am a newbie to Xcart and your instructions have helped me tremendously during this learning stage while modding the cart for my purposes. I am wondering what happened to #3, or am I just missing something here? Quote:
Using xcart v4.0.13 I am creating a new admin level based on the 'Fulfillment staff' templates. I've created a new directory and inserted home.tpl and menu.tpl in it to show only what I want this level of admin to see. So far so good - it works! Now I run into the problem of the "In this section" dialog box under "Users Management". I want to hide some of those links - in particular the ability to create new admins! I think I have it narrowed down to dialog_tools.tpl, but cannot get any further... Many thanks in advance for any help you can offer!
__________________
maineiac x-cart gold v4.0.18 x-cart gold v4.1.8 |
|||||||
#14
|
|||||||
|
|||||||
Quote:
Code:
Code:
__________________
maineiac x-cart gold v4.0.18 x-cart gold v4.1.8 |
|||||||
#15
|
|||||||
|
|||||||
ah yes
Ah, yes, sorry I didn't get back to you in time, excellent work ;o)
I usually disable the whole "see also" section up there as well, in dialog_tools.tpl by just commenting out that <td> that they're in. Thanks for adding to the post!
__________________
Instinctual 8,000 feet up in the Rocky Mountains of Colorado X-Cart Versions 3.5.x - 4.0.x IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind. |
|||||||
#16
|
|||||||
|
|||||||
bump.
Since editing a post doesn't seem to affect the last post date, I'm shamelessly bumping this post to let you all know I've added to it and edited it. I like to keep it all in one simple post so I always edit the first one here ;o) Cheers :P
__________________
Instinctual 8,000 feet up in the Rocky Mountains of Colorado X-Cart Versions 3.5.x - 4.0.x IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind. |
|||||||
#17
|
|||||||
|
|||||||
Cheers! I always have a use for your offerings....
- Mike
__________________
4.1.9 |
|||||||
#18
|
|||||||
|
|||||||
Hi Instinctual
What a wonderful post. Most appreciated. I was asking about one of these in the forum and Patraick pointed me here however I can not get this very simple one to work {if $user_membership eq "Premium"} display this {/if} I setup test user and attributed xcart default Premium membership to it and get a blank. Checked db and it attributes Premium to this user. Tried this in 4.014 and 4.016 Scratching head here. Can't see what I am missing here! Cheers Chris 4.03 - 4.016 |
|||||||
#19
|
|||||||
|
|||||||
Do you have it set so that you need to "approve" membership?
- Mike
__________________
4.1.9 |
|||||||
#20
|
|||||||
|
|||||||
Hi Mike
Thx for reply I went to my test site - still 4.04 and setup a user in Wholesale Membership. When I login it recognises the login and shows me a wholesale price I setup so I know that xcart is recognising that group. So I added {if $user_membership eq "Wholesale"} display this {/if} to customer/home.tpl Yet it shows nothing on screen. BTW I did not know you could set it to approve membership but I don''t see that as a problem here. Cheers Chris |
|||||||
|
|||
X-Cart forums © 2001-2020
|