Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › eStore – Bulk Item Purchase Addon – adding text before currency sign and price
- This topic has 4 replies, 2 voices, and was last updated 6 years ago by
willbox.
-
AuthorPosts
-
February 10, 2020 at 7:54 am #15062
willbox
SpectatorWithin the .pdf documentation: “eStore Bulk Item Purchase Addon Usage”
The format shows the old price of a product (if used) with the word “Price” in front of it, then the dollar amount with a strike-through, then quantity box, then “x $amount”.
If you only enter the current price in the product setup, the documentation shows the word “Only” then the dollar amount, etc.
I’ve activated the plugin and all works well. I am only using the current product price. When it displays, it does not have the word “Only” in front of it, just the dollar amount / price.
Is there a place where I can adjust a file to add the word “Only” to get the same effect as the documentation demonstrates?
February 10, 2020 at 10:29 pm #80321admin
KeymasterYes, that should be doable. I would like to see how it is showing on your site now so I can inspect it. Can you please post the URL where I can go and see this?
February 10, 2020 at 11:18 pm #80322willbox
SpectatorThank you for your reply. I missed including the link – sorry about that.
Here it is:
raaorg.org/store/
February 11, 2020 at 10:54 pm #80323admin
KeymasterThank you. Look for the following function in the “estore-bulk-item-purchase.php” file of that addon:
eStore_bip_show_individual_item
That function handles the display of the rows. You should be able to change the code there.
More specifically, the following line outputs the price amount so you can change that:
$output .= '<div class="eStore-bip-price">'.print_tax_inclusive_payment_currency_if_enabled($ret_product->price,WP_ESTORE_CURRENCY_SYMBOL,'', $ret_product).'</div>';February 11, 2020 at 11:44 pm #80324willbox
SpectatorThank you for sorting this out for me.
I found the output area, added my text and life is good!
I appreciate your quick reply to my novice issues.
Cheers,
Will
-
AuthorPosts
- You must be logged in to reply to this topic.