| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Color coded order status... | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
OK, I got the list price to show but still not the discount. only shows -%
Heres the code I have Code:
This is what I actually changed (or added) in the code supplied for this mod: Code:
Again, thanks in advance! |
|||||||||
#22
|
|||||||||
|
|||||||||
What version are you running? You need to put your version and server type in your forum signature. It's tough to help someone if we don't know what they are running.
Did you copy the whole products.tpl verbatim or just change the tags? I don't understand the code you posted that you changed. It has nothing to do with this mod. We are adding smarty tags to the cell formatting by inserting the smarty include in the TD tags. That and adding the NEW AdvancedDiscount CSS. |
|||||||||
#23
|
|||||||||
|
|||||||||
I cipied the whole thing verbatim and then noticed the list price (or shop price as it showed after the change) was 0.00 and the discount was -%, being the kinda guy I am, I backed everytinhg up first and then started tearing apart code. Afterall how else do I learn?
So after copying the code verbatim and seeing the list price and discount not working, I started analyzing the original code vs. the modified code and came up with the chunk of code I included, that was in the original code. In short, using the supplied code in 3.4.8, the list price and discount no longer came up.....hmmmmm
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
#24
|
|||||||||
|
|||||||||
Do you think it could be that you copied my 3.3.8 code and used it for your version?
If you want to implement this mod, I would recommend going into your original products file and manually adding the tags. If you were using 3.3.8 you may be able to shortcut by copying the code but across release versions it is bound to have issues. I only provided my products code to show all of the instances where I had to add the tags. Good Luck! |
|||||||||
#25
|
|||||||||
|
|||||||||
Nevermind......
ADVICE FOR NEWBIES that are really trying to learn how to manipulate the code in X-Cart and think it seems impossible and when you think it makes absolutely no sense do this: Step back a minute Take a deep breath and...............READ THE CODE! adpBoss, forget everything I said and did in this post. I'm getting better! I just read the code and made a couple changes and everything works just fine. Thanks to all for this mod (and the orders.tpl mod)..They make x-cart a better experience..
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
#26
|
|||||||||
|
|||||||||
No problem.
We all have to start somewhere and trust me, staring at your cart code for hours on end will make everything seem difficult and confusing. Sometimes going for a walk and coming back to a problem can work miracles. Good Luck with your store! |
|||||||||
#27
|
|||||||
|
|||||||
love it!!!!
|
|||||||
#28
|
|||||||||
|
|||||||||
Custom order date format
Not really wanting to create a new topic for this so Im posting it in the forum that inspired me. Sweet mod in this forum I might add!
Anyhow, here's my mod: Code:
This will display your orders in the following format: Nov. 10, 2003 - 06:33:21 PM Here's a useful page for further date customizations: http://unix.about.com/library/weekly/aa042301a.htm
__________________
Site 1 > XCART LIVE 3.4.12 Site 2 > XCART LIVE 4.0.17 |
|||||||||
#29
|
|||||||
|
|||||||
Shame I missed this thread earlier. Some good mods here, makes life much easier. \
|
|||||||
#30
|
|||||||
|
|||||||
Thanks pipercub.. this makes life easier..
__________________
hi |
|||||||
|
|||
X-Cart forums © 2001-2020
|