Misa Misa
Forum Replies Created
-
AuthorPosts
-
Problem solved, it was an issue with the fieldset. We made the add listing form to be a multistep form with previous and next buttons, and the location is on the second “tab” which is set to display:none, so the map doesn’t load. Fixed it with visibility:hidden instead.
Okay, after further inspection, turns out that the inspect element made it work because it resized the viewport, or the document. It seems to be a common issue, and they suggest a fix over here and here with triggering the resize event on the map element.
My question now is: in which file is the map element/object being created, where can I insert this code to resize the map right after it is loaded? I hope this is a more concise question and an easier one to answer (without debugging)
This reply has been marked as private.This reply has been marked as private.I have seen that, still doesn’t do the job. I will try to explain better what I need.
I want to allow beauty salons to list their salon together with their services (and prices) on my geodirectory page. That means I can’t really set up the fields from upfront because different salons will have a different number of services, it needs to be dynamic. I would like them to add their services in the add-listing form so their listing will have the normal fields and plus their services with duration and price, for example:
Listing name
Listing description
Tags
Category
Location/Map
Telephone
…
…
Services:
Facial treatment 30$ 30min
Whole body massage 40$ 1hr
…
…(another salon will have different services to offer, and a different number of them)
I want the price and duration to be somehow connected to that particular service.Do you understand better what I need?
June 15, 2017 at 10:57 pm in reply to: Is is possible to add services to a Custom Post type? #383490I have that installed and checked out. But, the problem with the predefined price is that it gives me one price for the whole listing (in my case the beauty salon). I want to be able to add different services with different prices.
-
AuthorPosts