- Posts: 51
- Thank you received: 0
Put Items On Sale
-- Joomla version -- : 3.4.5
How do I put ONE item on sale.
The item is $29.99. I want it to show something like this:
[strike]29.99[/strike] | $15.00 (SALE)
I know I can just change the price but I want customers to know that the item is on sale.
I know I can use a badge but because the products discounts are different for each item I assume I would have to use a badge for each item discount?
Thank you!
Please Log in or Create an account to join the conversation.
You can use a discount and display "both prices" in the product listing and in the product page.
After that, thanks to a translation override you can change the text before/after each price (discounted and non discounted).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
What entry needs to be made in the Language File to indicate "Sale Price" instead of "Our Price" for only the items that are discounted?
Please Log in or Create an account to join the conversation.
You can user either PRICE_DISCOUNT_START or PRICE_DISCOUNT_END to add text before or after the discounted price
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Well, in that case, you can add a class and a bit of CSS to remove the line on your text:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
In that case, you'll want to edit the file product / listing_price.php via the menu Display>views and change the line:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Then why have the "retail price" filled in at all ? If you don't fill it and change the discounted price display option of the HikaShop configuration to display the price before the discount instead of the discount amount itself, you should get the result you want without any modification necessary.
Please Log in or Create an account to join the conversation.
I did some playing around and found that if I included another</span>at the beginning of the "Price_discount_end" code you gave me earlier. It removes the line from the text, but now I've got a "<br> splitting it up on to two lines.
PRICE_DISCOUNT_END="</span><span class='sale_price'><br> Sale Price: </span>"
How or where can I remove that line break?
Please Log in or Create an account to join the conversation.
The problem is that your translation override is not correct and that's why it displays like that.
Try instead:
PRICE_DISCOUNT_END="<br/><span class='sale_price'>Sale Price: </span>"
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Add the rpoper lines at the end of file: "/media/com_hikashop/style_default.css"
Press F12 in your browser and play with the css code until you've got it right, then copy it into the css file.
You'll probably need something like:
.salse_price {text-decoration:none}
Please Log in or Create an account to join the conversation.
That's probably a CSS code priority issue.
Try to use that CSS instead to force it:
.salse_price {text-decoration:none !important;}
Now I would need a link to the page to check the CSS on the element with my browser inspector to be able to say for sure what should be done.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.