I'm using Drupal 7, and I'm wondering if I can do a booking contact form page like this:
https://www.kiwicollection.com/hotel-detail/casa-grande-hotel-resort-spa
Where on this example, if you click on "group booking" it takes you to:
https://www.kiwicollection.com/booking/request/PR000196
So a standard booking request contact page but it knows which hotel you clicked the request from, so the left column is filled with info on that hotel.
Can someone point me in the direction of a module that would help accomplish this? I'd need to be on a resort/hotel page, click "book now", and get taken to the common Contact Us page, but with pre-filled out info from the Resort/Hotel that the user was on, e.g. image/title/description/price etc, in a summary section of the contact page. (Obviously I wouldn't want to make a separate contact page/webform for each hotel, so it needs to just pull the dynamic info based on which Resort they were on when they clicked "Book now!"
TIA!
Related
This is the customer portal of odoo
Im building my own module that generates plans for my business for every customer as an image and saves that image to a data model that has a One to One Relation to the customer
I would like to display this exact image on the customer portal, maybe in a new tab like "plan" just like the tabs on the screenshot (for example, you can click on Invoices ("Angebote") and you get an overview of all invoices. I want to do the same with my module).
I dont know how to do to it and I have already searched online but unfortunately not yet found any hint on how to do it.
Help is greatly appreciated.
In my application we have a summary page having a link to take the user to the different pages of the application. For example, we have separate pages for collecting personal details, address details, education details etc., and there is a summary page giving the summary of a student's data. Users of the application will go to the summary page and then navigate to any individual pages in case if the data is not filled up yet. After the user goes to the individual page, they can enter the required details, and upon saving the entered details, they will be eventually redirected back to the summary page.
I have implemented the above functionality as below at the moment,
When the user clicks on a link to the address details page from the summary page, I will pass the redirect url as a query string to the summary page, and upon the user saves the address details in the address page, I will redirect the user back to the summary page using the redirect url passed on the query string.
Each individual pages have a common base class
Redirection logic is present in each individual pages now. This logic checks if there was a redirection url present in the query string, then if present it will direct the user to the summary page after the user clicks on the save button on the current page.
I feel the above solution is elementary, there is potential for adding new pages to our application.
I wonder if there is anyway to implement the above requirement in a elegant way in such a way that the redirection logic is separated as a angular service, route or any other angular technique so that we dont have to do any thing extra for the new pages that will be added in the future.
I am developing an e-commerce application using broad-leaf commerce.
My requirement is I have to add an product from login panel and display that product to only logged in users. Here few product products will be visible to all users (guest too) and few will be visible to only logged in users.
is there any way to do this?
Thanx soulfly1983 fou your try,but I found another alternative to do this without any customization. here is the full procedure..
Add a new category from admin panel.
Add a new page from admin panel (under content tab) and note the URL should be the same of category and page.
3 In the page click on rule tab.
4 Check the yes button in "Restrict to certain customers?"
Click +rule button and the select "match all" and select customer registered is equal to false
So this page will be visible to only guest users.
In the HTML body section of the rule (in general tab) write a message "you need to log in to view this stuff"
When user will log in successfully the user will not be able to the page , because we applied a rule that only logged out users can see the page so this time user will see the category and products added to that category.
am I doing right? any regarding this suggestion?
You can either extend the Product entity and add a field that will indicate whether that product will be visible to all users, or alternatively you could simply add an attribute for each product via the admin interface. Either way you will need to modify the UI logic so that it will take this additional field (or attribute) into consideration.
there are a lot of back buttons available on the market. Free and paid ones.
But the don't work on my store, because they are all category based.
That's my problem.
In my store i don't use categories, only attributes (in combination with Amasty Improved navigation).
But all back buttons are based on categories.
Can anyone help me to solve this?
I want a back button which goes back to the filtered products (by attributes).
Or does anyone know a extension for this.\
I have magento 1.6.2.
You can check it out on testwinkel.liefstoereigenwijs.nl
I'm not sure why you want to avoid using categories, but have you tried using javascript?
<a href=”#” onClick=”Javascript:history.back();”>GO back</a>
The only problem with this, is that when a user enters your product page from let's say, goolge, the user will be redirected to google.
You can also take a look at this threat: Back to previous page with header( "Location: " ); in PHP
I'm trying to use Google Analytics API to query internal searches that happen on my site.
I'd like to be able to query the keywords and the number of times that keyword was used in internal search, based on URL of a page on the site. The idea is to find out which keywords direct the user to a particular page.
Does anyone know which dimensions and metrics must use to query that information?
The information you are talking about is in the "Site Search Terms" Report.
First, you need to set up Site Search. This is straightforward. A step-by-step explanation is on this GA Help Page.
Once you've done that, you just need to know how to access the Report.
From the first page after GA login, select a Profile from the "View Reports" menu in the upper left-hand corner of the page
On the left-hand side of the page (in the margin) click "Content" (the fourth item in the list of Dashboard pages) which will expand the items subsumed under the Content section
"Site Search" will now appear in the margin below "Content"
Click "Site Search"; the Report will have three tabs: (i) Site Search Usage; (ii) Goal Conversion; and (iii) Ecommerce. Obviously, most of the information you are interested in is in the first tab.
Once the search tracking is set up as per doug's answer, the dimension is ga:searchKeyword, and the metric you need is ga:searchUniques (and you probably want to sort by -ga:searchUniques). I've checked this against the GA web report & it matches up - the documentation in the GA API Query Explorer isn't really clear on what the ga:searchUniques really counts.