Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Remove the word "Price" in Fancy3
- This topic has 13 replies, 4 voices, and was last updated 11 years, 5 months ago by admin.
-
AuthorPosts
-
February 23, 2012 at 9:56 pm #5636sthomas11Member
Hi,
Love the eStore plugin with the extras.
I’m using fancy3 and I’d like to display product prices without the word “Price:”. Additionally, I’d like to remove italics from the product name. I’ve tried to make these changes in the Wpestore and Extras CSS, but nothing seems to work.
Here’s my site: [http://sealedcoolers.com/hides-skins]
Thanks in advance for your help.
ST
February 24, 2012 at 3:33 am #42252adminKeymasterThe page you shared gives me a 404 error when I try to access it.
February 24, 2012 at 6:27 pm #42253sthomas11Membersorry, changed the permalink. it’s now [http://sealedcoolers.com/cooler-store/hides-and-skins/]
February 24, 2012 at 11:59 pm #42254adminKeymasterThat page is using fancy5 display (not fancy3). Is that what you want to modify (the title suggest that you wanted to modify fancy3)?
February 25, 2012 at 8:46 pm #42255sthomas11MemberHi,
I’ve been doing some switching around, but whether it’s fancy3 or fancy5 I can’t seem to find the setting. Can you please tell me where it is?
Thanks!
February 26, 2012 at 2:00 am #42256adminKeymasterThere is no setting for it. This post will explain why:
I was trying to give you a tweak that you could apply to the PHP file or CSS to get the desired effect but I need to know exactly which fancy you want to use so I can look at the code and give you an answer.
February 26, 2012 at 3:23 am #42257sthomas11MemberThanks for your help. I think I’m going to stick with fancy5.
February 26, 2012 at 11:34 pm #42258adminKeymasterOpen the “shortcode_include.php” file from the extra shortcodes plugin and find the following line of code:
$output .= '<div class="eStore-fancy5-price">'.ESTORE_PRICE.': '.print_digi_cart_payment_currency($ret_product->price, WP_ESTORE_CURRENCY_SYMBOL, ".").'</div>';
Once you find it replace it with the following:
$output .= '<div class="eStore-fancy5-price">'.print_digi_cart_payment_currency($ret_product->price, WP_ESTORE_CURRENCY_SYMBOL, ".").'</div>';
February 27, 2012 at 1:09 am #42259sthomas11MemberThank you, this worked wonderfully. Also, I want to remove the italics from the product name but don’t find this is either style sheet. Am I missing something?
June 27, 2013 at 5:38 pm #42260AntwanMemberDoesn’t work anymore… can you please explain how to do this again!
There is no such code in the “shortcode_include.php”
June 28, 2013 at 12:28 am #42261wpCommerceModeratorHi, please look for this piece of code:
$output .= '<div class="eStore-fancy5-price">'.ESTORE_PRICE.': <span class="eStore_price_value">'.print_tax_inclusive_payment_currency_if_enabled($ret_product->price,WP_ESTORE_CURRENCY_SYMBOL,'', $ret_product).'</span></div>;'
And replace it with the following:
$output .= '<div class="eStore-fancy5-price"><span class="eStore_price_value">'.print_tax_inclusive_payment_currency_if_enabled($ret_product->price,WP_ESTORE_CURRENCY_SYMBOL,'', $ret_product).'</span></div>;'
June 28, 2013 at 12:54 am #42262adminKeymaster@Antwan, Could you please post a link to the page where you are using the fancy5 display so I can take a look? I should be able to give you another solution using CSS tweak.
June 28, 2013 at 9:51 am #42263AntwanMemberHere is the link:
[http://stalkin.eu/?page_id=1289]
When I replace with the code above it breaks the page:
Parse error: syntax error, unexpected ‘}’ in ***censored***/wp-content/plugins/eStore-extra-shortcodes/shortcode_include.php on line 244
June 29, 2013 at 12:20 am #42264adminKeymasterPlease add the following block of CSS code to eStore’s custom CSS file (wp_eStore_custom_style.css) and that will hide the price from the fancy 5 product display template:
.eStore-fancy5-price{
display: none;
} -
AuthorPosts
- You must be logged in to reply to this topic.