How To Add A Prefix "de La" In Front Of The Price In Sp Properties? - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

How To Add A Prefix "de La" In Front Of The Price In Sp Properties?

M

mircea

Extension 6 months ago

Hello, I need to add a prefix before the prices in Sp Properties . In English is "from" , in Romanian language is "de la".

Can you help me?

Thank you very much!

0
7 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #189159

In those two files (from component folder "components\com_spproperty")

  • \layouts\properties\price_detail.php
  • \layouts\properties\price_card.php
0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #189111

Hi there,

Thank you for reaching out. Can you share a screenshot that you want to do exactly? I appreciate your cooperation and will ensure to get back to you as soon as possible.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #189141

Hi,

Sp Properties - uses languages file (en-GB\en-GB.com_spproperty.ini) you should be able to translate most of phrases.

If that is not a language phrase but extra wish, you can add it using Custom CSS

Do you thought about that?

info_2712_2025.gif

If yes, that Custom CSS is needed

.spproperty-per-sft::before {content: "de La"; padding-right: 5px;}

0
M
mircea
Accepted Answer
6 months ago #189154

Hi, dear Paul, yes, mainly this is what I want, but for selling properties. I added custom CSS as you said, but now I have another problem: .spproperty-per-sft::before { content: "de la"; padding-right: 5px; } .spproperty-total-price::before { content: "de la"; padding-right: 5px; } .property-price::before { content: "de la"; padding-right: 5px; }

In the list properties, "de la" is showing for all the properties(as normal). https://prnt.sc/bxrsO1n0W8lv I think this is not a exactly a solution. Maybe if you add a condition just for properties with price, it will be fine. And, maybe you will add a suffix after the price- "Fara TVA" (- VAT in english). Eg in romanian language: de la 4600 € (Fara TVA). Can you help me to solve this problem?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 6 months ago #189156

In that case you need small php customization. We cannot provide that, so you have to ask local php joomla developer.

About 2nd one "Fara TVA", you can use:

.spproperty-per-sft::after  {...} 
.spproperty-total-price::after  { ...}
.property-price::after {...} 
0
M
mircea
Accepted Answer
6 months ago #189158

Ok, I will do that small php customization but can you tell me, at list, only the php page that I have to modify? Thanks

0
M
mircea
Accepted Answer
6 months ago #189161

Thank you very much!

0