Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 WordPress for Ecommerce Templates
 Display text instead of price
Author « Topic »  

JustDucky923
Ecommerce Template Guru

USA
1307 Posts

Posted - 05/12/2022 :  07:11:34  
What is the best way to change ALL prices on a site to text (something like "Due to unstable pricing in our economy, please call for the current price")?

They currently do not use stock management. If I enable using stock management - will that automatically make every item "zero" in stock - and then I could use: $GLOBALS['xxOutStok']='Due to unstable pricing in our economy, please call for the current price.';

Marshall
Ecommerce Template Guru

USA
1791 Posts

Posted - 05/12/2022 :  08:53:05  
quote:
They currently do not use stock management. If I enable using stock management - will that automatically make every item "zero" in stock - and then I could use: $GLOBALS['xxOutStok']='Due to unstable pricing in our economy, please call for the current price.';
Yes.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

JustDucky923
Ecommerce Template Guru

USA
1307 Posts

Posted - 05/12/2022 :  09:31:00  
That doesn't seem to be working.

I selected "Stock Management" - ON

Now it shows the item as "In Stock 0" and it still shows the price. I don't want to show the "In Stock 0" - how do I remove that?

JustDucky923
Ecommerce Template Guru

USA
1307 Posts

Posted - 05/12/2022 :  09:38:38  
Sorry - I think I have it working.

I used Stock Management, then I went into the css file and added "display:none;" for the detailprice, prodprice, and prodinstock.

Have I missed anything - or should this work?

ITZAP
Ecommerce Template Expert

Australia
937 Posts

Posted - 05/12/2022 :  20:26:52  
Goodaye Kelly, maybe I can offer you an alternative approach ...

Stock Management: ON or OFF, you choose.
Price: 0

includes.php

$csproductpagelayout, $productpagelayout and $detailpagelayout // Make sure you omit the instock element

// ZERO PRICE
$xxPrice=''; // Remove the word Price
$pricezeromessage='Due to unstable pricing in our economy, please Enquire Now for the current price.';

$setschemaavailability=FALSE; // Prevent snippet availability http://schema.org/InStock AND http://schema.org/OutOfStock
$setschemacondition=TRUE; // Rich Snippet for Product item condition is set to "NewCondition"
$GLOBALS['xxOutStok']='Enquire Now to confirm availability';

// ASK A QUESTION on proddetail.php pages. For this to work, note that $socialmediabuttons must include "askaquestion" and $detailpagelayout must include "socialmedia" option in the layout.
$useaskaquestion=TRUE;
$GLOBALS['xxAskQue']='Enquire Now';
$GLOBALS['xxCUBlur']='Ask a question and we will answer shortly.';
$GLOBALS['xxAQBlr']='Ask a question and we will answer shortly.';
$askquestionparam1="Telephone";
$askquestionrequired1=FALSE;
$xxAsqThk='<p>Your question has now been sent and you will receive an answer very shortly.</p><p><strong>Thank you for your interest</strong>.</p>';
$askaquestionsubject='Question about %pid% submitted by %name%';


Gary
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2021 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000