Using ReReplacer + Conditional Content...

Search
Other Pre-Sale questions
Forum

Using ReReplacer + Conditional Content (geolocation)

Sean Kelley's Avatar Sean Kelley
I am using the Event Booking component from Ossolution on a Joomla 3 website at:

lbhcphila.org/2023-symposium-registratio...ividual-registration

I would like to vary the event pricing by location. In this case, the default price (for users in the United States) is $350, while users who are located in the Dominican Republic should see $100.

The event price is a numerical field in the back-end of the Event Booking component. I first tried Conditional Content Pro to make this change using the condition:

{hide countries="Dominican Republic"}350.00{hide-else}100.00{/hide}

... however the price field of the component only accepts numerals.

I think ReReplacer can help in this situation, correct? If so, how would I use the Conditional Content snippet in ReReplacer's "Replace" field?

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
I don't think that would work, as ReReplacer won't change the way the underlying code of the Event Booking component works.
ReReplacer can only change what is displayed on the frontend.
Please post a rating at the Joomla! Extensions Directory
Sean Kelley's Avatar Sean Kelley
Peter,

Thanks for your quick response.

If ReReplacer isn't the solution, can you think of or suggest any other possible solution for this?
Peter van Westen's Avatar Peter van Westen ADMIN
You'll probably have to ask Ossolution if they can provide a solution.
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in