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

Wholesale pricing table on products.tpl?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-28-2005, 10:18 AM
 
balinor balinor is offline
 

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

Default Wholesale pricing table on products.tpl?

I seem to remember adding this to a 3.x branch of the cart a long time ago, but that cart is no longer around and I can't seem to track down any posts that cover this. Before I re-invent the wheel, has anyone managed to get the wholesale pricing table to appear on the single column products page (products.tpl)? Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #2  
Old 07-31-2005, 07:02 PM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default

Wouldn't it have to have an instance for each product so if you have 6 products showing on products.tpl wouldn't you have six wholesale tables? Seems like that would be a mess.
Reply With Quote
  #3  
Old 08-01-2005, 03:36 AM
 
balinor balinor is offline
 

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

Default

Which is why I don't want to attempt it if someone else has already done it
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 12-12-2005, 08:35 AM
 
sundance sundance is offline
 

Member
  
Join Date: Oct 2004
Posts: 27
 

Default

Sounds like nobody has already done it...

I am going to have a crack at this tonight - I have just had my first flush of success updating elitedimensions 'extra fields on products.tpl' mod, so might have a go at this, too...

Something along the lines of... select * from xcart_pricing where productid = pid, and then build the table if there are more than one results...

dunno - that seems unwieldy to be honest - perhaps I will actually make an extra field to indicate whether the product HAS wholesale pricing and then do the SQL based on that... hmm.. not that clean either...

Still, all part of my learning curve. I'll keep you 'post'ed
Rob.
__________________
Xcart 4.0.17
Reply With Quote
  #5  
Old 12-12-2005, 10:19 AM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default

But doesn't the version of the cart that you are using 4.0.17 not use a extra table to display wholesale pricing like the old carts did? It just changes the actual price if someone is logged in as a wholesale member.
Reply With Quote
  #6  
Old 12-12-2005, 02:34 PM
 
sundance sundance is offline
 

Member
  
Join Date: Oct 2004
Posts: 27
 

Default

Thanks Light Speed - although I can't find exactly what you are referring to.

Have been fiddling with wholesale prices and they don't appear on the products.tpl list of products even if I am logged in as a wholesale customer.

I may just be looking in the wrong place.
__________________
Xcart 4.0.17
Reply With Quote
  #7  
Old 12-12-2005, 04:10 PM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default

Where did you enter the wholesale price?
Did you apply it to a wholesale member level?

If so then in both product.tpl and products.tpl the prices listed will automatically update to the wholesale price if logged in as a wholesale member.
Reply With Quote
  #8  
Old 12-12-2005, 04:14 PM
 
balinor balinor is offline
 

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

Default

We are talking about quantity discounts, not member-specific pricing.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 12-12-2005, 05:36 PM
 
Light Speed Light Speed is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 921
 

Default

Quote:
Originally Posted by balinor
We are talking about quantity discounts, not member-specific pricing.

I thought the topic title for this thread was "Wholesale pricing table on products.tpl"?

I was discussing wholesale pricing.........
Reply With Quote
  #10  
Old 12-12-2005, 06:16 PM
 
balinor balinor is offline
 

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

Default

Yes, quantity discounts are wholesale pricing. If you have quantity ranges set up, it displays a little html chart of the price ranges.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 09:24 PM.

   

 
X-Cart forums © 2001-2020