Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Extra Fields and calling them

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-15-2006, 02:48 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default Extra Fields and calling them

Couple of questions..

1) Can html be used in a custom extra field?

2) What code would need to be added to display that extra field in the products_t.tpl template?

Say for example the extra field was labelled 'stuff'. How would I call that?
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote
  #2  
Old 05-15-2006, 03:12 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Look here:

http://forum.x-cart.com/viewtopic.php?t=27066

and here:

http://forum.x-cart.com/viewtopic.php?t=13217
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-15-2006, 04:54 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

Jeeez that gave me a headache just looking at those posts!

Why on Earth isn't something so obviously necessary just part of the standard program? Seriously I was expecting you to reply with "Just use this code - blablahblah".

The more I get into this program the more I realise that It's really just an overpriced basic run of the mill e-commerce script with holes deliberatley left in to generate more income after the initial sale.

I am shocked that some things so basic and obvious require 'modding'.

Thanks for your help again Padraic - you should be on the X-Cart payroll
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote
  #4  
Old 05-15-2006, 11:06 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

The more I think about this the more it pisses me off.

I've spent all day today trying to get one single poxy extra field to display on my store and here it is at 8pm and I've still had no joy.

X-cart is advertised as a 'highly customizable - feature packed' software.
Adding your own fields is probably the single most important feature to anybody building a webstore. I am actually disgusted that this simple feature is not readily available out of the box, and to make matters worse judging by that thread mentioned above you have to be a coding genius to stand half a chance of getting those elusive extra fields to display.

Surely this should be standard as plenty of others have voiced in the abundance of posts I have trowled through today. Why hasn't somebody from X-Cart posted a simple solution for this - FREE OF CHARGE?

And while i'm ranting....

What is the point of the Extra Fields module anyway? As far as I can tell it's pretty useless apart from allowing providers to add information that they already know about their own products for themselves to look at! If your customers can't see that information whats the point of it being there in the first place?


If I knew how to do it I would be posting solutions to all the simple things I see people having trouble with. Come on X-Cart - pull your bloody finger out!
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote
  #5  
Old 05-15-2006, 11:14 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Grant, you have to remember that this forum is NOT read by X-Cart, nor is it part of their support. If you want a guaranteed answer, you need to open a ticket with X-Cart.

As far as the Extra Fields go, I gave you both of the solutions above. They both work, as I use them all of the time on many sites.

Yes, X-Cart has a steep learning curve, particularly if you don't know HTML/CSS/Smarty/PHP/MySQL. It is, however, quite customizable as is seen by the many, many custom sites and custom mods posted right here in this forum.

Have patience, take a deep breath, and have a look at the solutions once again.

Quote:
The more I get into this program the more I realise that It's really just an overpriced basic run of the mill e-commerce script with holes deliberatley left in to generate more income after the initial sale.

That is simply not true. You won't find a better piece of software for this price AND "open source' ANYWHERE. If you could, you wouldn't see 10000 users here in the forum. Trust me, I have tried them all, and this one wins, hands down. Yes, there are issues. But the benefits far outweigh the negatives.

If you are unhappy with the software, use the money back guarantee and move on.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 05-15-2006, 11:31 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

Quote:
Originally Posted by balinor
Grant, you have to remember that this forum is NOT read by X-Cart, nor is it part of their support. If you want a guaranteed answer, you need to open a ticket with X-Cart.

As far as the Extra Fields go, I gave you both of the solutions above. They both work, as I use them all of the time on many sites.

Yes, X-Cart has a steep learning curve, particularly if you don't know HTML/CSS/Smarty/PHP/MySQL. It is, however, quite customizable as is seen by the many, many custom sites and custom mods posted right here in this forum.

Have patience, take a deep breath, and have a look at the solutions once again.

Quote:
The more I get into this program the more I realise that It's really just an overpriced basic run of the mill e-commerce script with holes deliberatley left in to generate more income after the initial sale.

That is simply not true. You won't find a better piece of software for this price AND "open source' ANYWHERE. If you could, you wouldn't see 10000 users here in the forum. Trust me, I have tried them all, and this one wins, hands down. Yes, there are issues. But the benefits far outweigh the negatives.

If you are unhappy with the software, use the money back guarantee and move on.

P, I performed all of the actions required in both threads and I still can't get this bloody field to display. I appreciate the help of yourself and others that I have received here but I have noticed that like myself a lot of people here are not php or smarty guru's and have problems with very basic things that to be honest we shouldn't even need to be asking questions about. I'm sure all of the advice given here is excellent but it's not always that easy for x-noobs to understand.

I can understand why people like yourself who obviously know what they are doing think that X-Cart is a fantastic piece of code - but its been marketed in such a way to encourage people without all the coding knowledge (like myself) to buy it thinking it will be a piece of cake to set up your own store.

You must be able to see why us newbies get so frustrated after buying something only to discover that basic things require programming knowledge to install?
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote
  #7  
Old 05-15-2006, 11:35 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I too was once a newb. I started my first cart not knowing anything about PHP/Smarty/MySQL. It just takes patience, and a few very frustrating hurdles to cross. Whenever I would get to a point like you are at now, I would just walk away from the computer for a couple hours, have a beer, and come back. Usually it is something as simple as a mis-placed piece of punctuation or mis-spelling that can wreck your whole day.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 05-15-2006, 11:50 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

Yeah I hear that. I went through all this with html, perl & javascript years ago and just when I thought I could get by they drop smarty on me

I guess a beer aint a bad option
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote
  #9  
Old 05-16-2006, 12:00 AM
 
tobychapman tobychapman is offline
 

Senior Member
  
Join Date: Sep 2005
Location: France
Posts: 112
 

Default

BEER ! That's how it's done. If only I'd known sooner. I've tried: tearing my hair out, shouting at my girlfriend, working into the night with a migraine. But none of it works. Now I'm going to do it the Balinor way.

Thanks for the tip Balinor !!

Grant: scroll to willirl's mod in the following link, it's easy to do and works fine in 4.0.18:

http://forum.x-cart.com/viewtopic.php?t=12632


Balinor: is it Guinness, or Michelob ?
__________________
XCart Gold 4.0.18
Fedora 6 - Apache 2.2.4 - PHP 5.1.6 - MySQL 5.0.27
www.goose.fr
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:41 PM.

   

 
X-Cart forums © 2001-2020