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

New twist on product prices (HELP NEEDED)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-11-2007, 06:16 PM
 
CollectiveInk CollectiveInk is offline
 

Member
  
Join Date: Sep 2007
Posts: 21
 

Default New twist on product prices (HELP NEEDED)

I thank any and all in advance for their assistance. It should be in my sig line, but if not, I'm running Xcart Gold 4.1.8. I have searched the forums (over 500!) and haven't found an answer.

Here is my situation:

1. My client's site is a mix of static information pages and xcart product pages. On the xcart side, some of the products are for sale, and some are not. The problem is getting some products to not have a price at all, while others have a listed price. (It is outdoor furniture - not for sale, and accessories/replacement parts - for sale.)
If I just comment out the price, it does it for all products (based on my understanding), so that doesn't seem to be the fix I'm needing.

2. The second problem is in the "recommended products" or "other items purchased by customers" showing random items. What I need is for product A (outdoor furniture piece) to have associated replacement parts or accessories Products A2, A3, A4, etc... show when Product A is choosen.

I apologize if these have been answered before, but as I said, I've searched and searched to no avail. Also, funds have pretty much run out, so I need to try and do it myself if possible (or find a programmer looking for design trade).

Thanks!
__________________
x-cart gold Version 4.1.8
Reply With Quote
  #2  
Old 10-11-2007, 06:37 PM
 
balinor balinor is offline
 

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

Default Re: New twist on product prices (HELP NEEDED)

Easy fixes:

1. Simply set the products you don't want to show prices for to zero and it won't show them. If you don't want the cart buttons to show, set the quantity available to zero and then change the 'Out of Stock' message to say 'Call for pricing' or whatever you want.

2. Go to 'Modules' Turn off Recommended Products, turn on Upselling Products. Then, in the product detail page on the admin, you'll see an 'Upselling Links' link that lets you cross sell items.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-13-2007, 01:24 PM
 
CollectiveInk CollectiveInk is offline
 

Member
  
Join Date: Sep 2007
Posts: 21
 

Default Re: New twist on product prices (HELP NEEDED)

Quote:
Originally Posted by balinor
Easy fixes:

1. Simply set the products you don't want to show prices for to zero and it won't show them. If you don't want the cart buttons to show, set the quantity available to zero and then change the 'Out of Stock' message to say 'Call for pricing' or whatever you want.

2. Go to 'Modules' Turn off Recommended Products, turn on Upselling Products. Then, in the product detail page on the admin, you'll see an 'Upselling Links' link that lets you cross sell items.


Thank you.

I got number 2 to work, setting the replacement parts for the upselling items.
However I can't get the first problem fixed... well not completely.

I did get it so that the "enter your price" is gone on the main listing page (I'm using a multi-col. set up, so it took me a moment to find the appropriate template (product_t.tpl) but in the product detail page, it shows "price" and a blank box (for items set at zero - normal price for other items.)

I tried commenting out different sections in product.tpl and got the box to disappear, but it did it on the items with prices too.

Any pointers on where I need to look?

PS I pm'd you a link to a page to see what I mean.
__________________
x-cart gold Version 4.1.8
Reply With Quote
  #4  
Old 10-15-2007, 07:12 AM
 
balinor balinor is offline
 

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

Default Re: New twist on product prices (HELP NEEDED)

Hi Collectiveink, the link you posted isn't working, but you simply need to edit product.tpl and play with the {if} statements. The box is this code:

<input type="text" size="7" name="price" />

So just replace that with the text you want to show.
__________________
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 02:57 AM.

   

 
X-Cart forums © 2001-2020