Loaded Commerce Community

Banner


Board index » CRE Loaded Support » CRE Loaded 6.3

All times are UTC - 5 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: POA, 'Call for price' function, price unavailable
PostPosted: Thu Apr 14, 2011 2:53 pm 
Offline
CRE Newbie

Joined: Fri Jan 28, 2011 4:42 am
Posts: 3
Hi
Im using Version: CRE Loaded Professional B2B v6.3.1

I have some products that price is unavailable for, at the minute I have just set the price at £0.00,

http://www.eurom-sport.com/product_info.php?cPath=163_165_59&products_id=162,

I want to place some text to prompt the visitor to contact the website retailer for a price.

I need to be able to set text in place of the price such as 'POA', 'Call for Price', or 'Price Unavailable' is there some code that I can change to enable me to insert text or that would automatically display text for products that I set to £0.00

I would also wish to disable the add to cart button on these pages so that the user cannot order the product.


Top
 Profile  
 
 Post subject: Re: POA, 'Call for price' function, price unavailable
PostPosted: Sat Apr 16, 2011 5:37 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
In the product_info.tpl.php file /templates/content or /templates/<your template>/content

#1 Call for Price
Code:
if ($product_info['products_price'] == '0')  $products_price = 'Call for Price';

which would go in anywhere before the price is called

#2 Hide Qty / Add to Cart
Code:
if ($product_info['products_price'] > 0) {

which could go in after the wishlist button is called
and the closing } would go in after the button 'add to cart' is called.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: POA, 'Call for price' function, price unavailable
PostPosted: Tue Dec 20, 2011 2:19 pm 
Offline
CRE Newbie

Joined: Tue Dec 20, 2011 2:17 pm
Posts: 6
I have 6.4.1 B2B looking to implement the same idea. I have made the changes as posted above, but nothing changes on the site even when deleting the file lol. Has this been changed in this version?

Thanks again!


Top
 Profile  
 
 Post subject: Re: POA, 'Call for price' function, price unavailable
PostPosted: Wed Dec 21, 2011 3:23 pm 
Offline
CRE Newbie

Joined: Tue Dec 20, 2011 2:17 pm
Posts: 6
Does this work for 6.4 B2B? I am in desperate need of this functionality...

Thanks for any help!


Top
 Profile  
 
 Post subject: Re: POA, 'Call for price' function, price unavailable
PostPosted: Sun Dec 25, 2011 5:00 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
creloadeduser12 wrote:
I have 6.4.1 B2B looking to implement the same idea. I have made the changes as posted above, but nothing changes on the site even when deleting the file lol. Has this been changed in this version?

Thanks again!

Probably means you're using product info with tabs, and you've just edited the product info page without tabs.
Try it on product_info_tabs.tpl.php

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: POA, 'Call for price' function, price unavailable
PostPosted: Tue Dec 27, 2011 12:42 pm 
Offline
CRE Newbie

Joined: Tue Dec 20, 2011 2:17 pm
Posts: 6
That was it, thank you so much for the help!

I need to look for that same thing on the products page as well, but I will see if I can apply what you already gave to do that one.

Again, THANK YOU!


Top
 Profile  
 
 Post subject: Re: POA, 'Call for price' function, price unavailable
PostPosted: Sat Dec 31, 2011 1:15 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
creloadeduser12 wrote:
That was it, thank you so much for the help!

I need to look for that same thing on the products page as well, but I will see if I can apply what you already gave to do that one.

Again, THANK YOU!

product_info_tabs.tpl.php is the products page ...

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: POA, 'Call for price' function, price unavailable
PostPosted: Thu Jan 05, 2012 11:57 am 
Offline
CRE Newbie

Joined: Tue Dec 20, 2011 2:17 pm
Posts: 6
What I meant to say is that I wanted to show the same thing on the products listings page, where it shows all of the products in the specific category.
The url looks like:
Code:
index.php?cPath=1_4_8


I cannot find where I might change the code for the same functionality....

Thanks again for all the help!!


Top
 Profile  
 
 Post subject: Re: POA, 'Call for price' function, price unavailable
PostPosted: Thu Jan 05, 2012 1:56 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
So you'd be looking for product_listing.php (or product_listing_col.php) which depending on your template could be the default ones (/includes/modules) or in the templates own versions (/templates/your template/includes/modules) ... rename and test to see.

Basically the code change would happen under the 'BUY_NOW' price and start off like:
Code:
if ($listing[$x]['products_price'] == 0) {


If you aren't sure and haven't got time to learn, just employ a developer.

(BTW I take it that the url above is a test site as you have several things that'll severely limit its success, including bots being blocked from indexing)

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

Board index » CRE Loaded Support » CRE Loaded 6.3

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Wed May 23, 2012 6:52 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy