1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.21.1
1.21.2
1.21.3
1.22
1.23
1.24
1.25
TableofContentsIntroduction
PluginInstallation
PluginsFeatures
PluginFeatureExplanation
InventoryManagement
PriceCalculation
PriceDiscount
Availability
Resource
Deposite
Person
Locations
AttributesandFeatures
Productsettings
Howdoesinventoryandavailabilityofaproductwork?
RequestforaQuote
CompleteProductCreation
GoogleCalendarIntegration
SettingsPanel
UberLikeLayout
Translation
TranslationUsing.potfile
Howtoupdateexisting.pofilefrom.potfile
CheckVideofortranslation
FAQ
Stepbystepdiscussion
LocalandGlobalsettings
Working-with-wpml
1
2
WoocommerceRental&BookingsRnB-WooCommerceRental&Bookingisauserfriendlywoocommercebookingpluginbuiltasawoocommerceextension.Thispowerfulwoocommercepluginallowsyoutosellyourtimeordatebasedbookings.ItcreatesanewproducttypetoyourWooCommercesite.Perfectforthosewantingtoofferrental,booking,orrealstateagenciesorservices.
Ifyouneedanyhelpcontactthoroughoursupportforum.
BUYNOW/LIVEDEMO
Warning:Ifyouareanewuserofourpluginpleasefollowthisdocumentation.
Ifyouarealreadyanexistinguserofourplugin,pleasereadthebelowcarefullybeforeupdatingandusingthisversionofourplugin
NewinventorymanagementsystemhasbeenaddedfromthisversiononwardsHourlybookingwithhourlycalendarblockinghasbeenaddedfromthisversionDatastructurehasbeenchanged.Ifyoualreadyhaveanorderfrom10thofthismonthto12thofthismonth,itwillnotblockthecalendaronceyouupdatetheplugin.Neworderswillblockthecalendar.Ifyouwanttousethelatestversionofourplugin,thenyouwillneedtocreatetheinventorywithpricingandfeaturesattributes,pickuplocationetc.afterupdatingtheplugin.
Ifyoudonotwishtoupdateandwanttouseourlegacyversionthenpleasefollowthebelowdocumentation.
https://legacy.gitbook.com/book/redq/woocommerce-rental-and-booking/details
Introduction
3
PlugininstallationAfterdownloadthefullpackagefromCodeCanyon,youwillhavewoocommercerentalandbookings.zipfileinsideyourmainpackage.YoucaninstallitfromWordPressback-endormanually.
installfromWordPressback-end:
1.GotowordpressDashboard->plugins->addnew.
2.Fromhereclickuploadpluginsbutton,thenyouwillfindthepluginuploadwindow.
3.Uploadwoocommercerentalandbookings.zipthenclickinstallnowbutton.
4.Aftersuccessfullyinstallthepluginthenactiveit.
PluginInstallation
4
InventoryManagement
PricingConfiguration
1.GeneralPricing
2.DailyPricing
3.MonthlyPricing(seasonalpricing)
4.DaysRangePricing
5.HourlyPricing
PayableResources:Addingunlimitedpayableresources(OnetimeorPerday)basis.
PayablePerson:Addingunlimitedpayableperson(OnetimeorPerday)basis.
CarAvailability:Daybasiscaravailability/unavailabilityconfiguration,+
DateBlocking:Admincanchooseifhewanttoblockthebookingdateordatesornot,
PickupLocationAdded:Youcanaddunlimitedpickuplocations.
ReturnLocationAdded:Youcanaddunlimitedreturnlocations.
ChooseDateFormat:
1.EuropeanDateFormat(d/m/y)
2.NorthAmericanDateformat(m/d/y)
3.otherscountriesdateformat(y/d/m)
PluginsFeatures
5
ProudctCreateTocreateaproductfirstgotoDashboard->Product->addnew.Thenfromproduct
datadrop-downselectrentalproductasproduct.
Howeveritisrecommendedthatyoucreatetheinventoryoftheproductfirstandthenyouattachtheinventorywiththeproduct.
Forexampleyouhavea"BMWcar".Sowesuggestthatyoucreatetheinventoryofthisproductfirst(inventorycreationisexplainedlater)andthenattachtheinventorywiththeproductwhilecreatingtheproduct.
PluginFeatureExplanation
6
InventoryManagementInventoryisthemostwantedfeatureandavailablenowfromv2.0.0.Nowifyouhave5sameproducts,youdon'tneedtocreate5individualproductsforthem.Youjustneedtocreate1productfrominventorytabyouneedtoconfigurethese5sameitems.
Noweverypayableornon-payableattributessuchaspickuplocation,drop-offlocations,resources,person,securitydeposite,attributes,featuresarecontrolledwiththisinventorytab.
Youmustneedtocreateinventoryfirstandthenattachtheinventorywiththeproduct.
Firstyouneedtocreateyourpickuplocation,drop-offlocations,resources,person,securitydeposite,attributes,features.andthenattachthesewiththeinventory.
InventoryManagement
7
Thenyouneedtosetthepricingoftheinventoryandthequantityoftheinventory.
InventoryManagement
8
InventoryManagement
9
PriceCalculationOurpluginssupportSixtypesofpricingplan.
1.Generalpricingplan.
2.Dailypricingplan.
3.Monthlypricingplan.
4.Daysrangespricingplan.
5.HourlyPricingPlan.
6.FlatHourPricingPlan.
Thepricingcanbesetfromtheinventoryandyoucanalsoaddthequantityoftheinventory.
GeneralPricingPlan:Whenyousetgeneralpricingplanforasingleproductthispricewillbeappliedforeachdaysduringyourbooking.
DailyPricingPlan:
Dailypricingplanallowyoutosetdifferentpriceforeachdaysofaweek.Whenyoubookthisproductthepricewillbecalculatedduringdependingonthedaysprice.
PriceCalculation
10
MonthlyPricingPlan:
MonthlypricingplanallowyoutosetdifferentpriceforeachmonthofaYear.Whenyoubookthisproductthepricewillbecalculatedduringdependingonthemonthlyprice.
PriceCalculation
11
Day-RangesPricingPlan
Thispluginsalsoallowyoutosetunlimiteddayrangespricingplanlikethefollowingimages.
HourlyPricingPlan:
PriceCalculation
12
Ourpluginssupporthourlypricingsystemifyouwanttobooklessthan1day.HoweverforthatfromthebackendoftheWooCommercesettingsyouneedtounselectsingledaybooking(ifthatisalreadyselected).
Nowourhourlypricinghastwotypes:1)GeneralHourlyPricingand,2)HourlyRangePricing.
1)GeneralHourlyPricing
PriceCalculation
13
2)HourlyRangePricing
FlatHourPricingPlan:
Thisisthenewestpricingplanofourrentalplugin.Itwillworkasflathourrate.
1)WorkingwithGeneralHourlyPricing
2)WorkingwithHourlyRangePricing
PriceCalculation
14
PriceCalculation
15
PricediscountRnBalsoprovidespricediscountfeaturedependingonbookingdays.Admincansetunlimitedbookingday-rangespricediscountfromproductback-end.YoucansetyourdiscounttypeasFixedpriceorPercentagebasis.
PriceDiscount
16
AvailabilityNowproductavailabilityistotallycontrolledbyinventoryitems.
Supposeyouhaveaproductnamed"poloshirt"whichyouwanttorentout.Youhave6ofthesewith2small,2mediumand2largeshirtsavailable.Soyouneedtocreate3inventoriesandyoucangivethemthename"small","medium"and"large"oranyotherofyourliking.Whileyoucreatetheinventoriesyouaddthecategories,resources,pickuplocation,dropofflocationetc.asperyourrequirementandpublishtheinventories.Sonowyouwillhaveinventorieslikebelow
Nowyouneedtoattachtheinventorywiththe"poloshirt"
Thiswillnowmeanthatyouhave6poloshirtsof3differentsizesandausercanbook.
Thenavailabilityiscontrolledwiththesechildpostsoftheinventoryitems.
Availability
17
Availability
18
Resources(payable)ResourceistaxonomyofInventoryposttype.YoucanfindthishereDashboard->Inventory->Resources.Youcanaddunlimitedpayableresourcesfromhere.Youcansetiteitherper-dayorone-timebasis.Ifyousetper-daybasisthenitwillallowyoutosethourlypriceforthisresource.Ifyoubooklessthan1daythenthehourlyresourcecostwillbeapplied.Checkthisscreen-shottogetmoreideaaboutper-dayresourcescost.Italsohasdrag-and-dropsortingfacilities.
Youcansetpayableresourceslikethefollowingscreen-shot.
Resource
19
SecurityDepositeDepositistaxonomyofInventoryposttype.YoucanfindthishereDashboard->Inventory->Deposit.Youcanaddunlimitedpayablesecuritydepositfromhere.Youcansetiteitherper-dayorone-timebasis.Ifyousetper-daybasisthenitwillallowyoutosethourlypriceforthisresource.Ifyoubooklessthan1daythenthehourlyresourcecostwillbeapplied.Youcanalsosetdepositasclickableornot-clickable.Ifyousetdepositasclickablethenthecustomerscancheckoruncheckedduringbooking.Ifyousetdepositasnot-clickablethenthecustomersdon'tfindoptiontouncheckedit,itmustbeincludedduringbooking.Checkthesescreen-shotstogetmoreideaaboutper-dayandone-timedepositcost.Italsohasdrag-and-dropsortingfacilities.
Youcanaddsecuritydepositslikethefollowingscreen-shot.
Deposite
20
Person(bothpayableandnon-payable)Personsistaxonomyofinventoryposttype.YoucanfindthishereDashboard->Inventory->Persons.Youcanaddunlimitedpayablepersonfromhere.Youcansetiteitherper-dayorone-timebasis.Ifyousetper-daybasisthenitwillallowyoutosethourlypriceforthisperson.Ifyoubooklessthan1daythenthehourlypersoncostwillbeapplied.Checkthisscreen-shottogetmoreideaaboutper-daypersoncostandone-timepersoncost.Italsohasdrag-and-dropsortingfacilities.
Youcanaddbothpayableornon-payablepersonfromhere.
Person
21
Locations(bothpickupanddrop-off)PickupLocationandDrop-offlocationaretaxonomiesofinventoryposttype.YoucanfindthishereDashboard->Inventory->PickupLocationandDashboard->Inventory->DropoffLocation.Youcanaddunlimitedpickupanddrop-offlocationsfromhere.Youcanalsoaddpickupcostanddrop-offcostalso.
FYI:Thenameinputfieldvaluewillshowindrop-downinproductsinglepageanddescriptiontext-areafieldvaluewillshowincart,checkout,orderandemailpage.
Pickuplocations:
Drop-offlocations:
Locations
22
FYI:
Locations
23
AttributesandFeatures(non-payable)AttributesandFeaturesbotharetaxonomies.YoufindthesetaxonomiesfromDashboard-
>Inventory->AttributesandDashboard->Inventory->Featureslink.
Youcanaddunlimitedproductattributesfromthisgeneraltablikethefollowingscreen-shots.Ithasdrag-and-dropfacilitiestosorttheattributes.
Youalsocanaddunlimitedproductfeaturesfromhere.
Productattributesandfeatureswillbeshowedintabinsingleproductpage.
AttributesandFeatures
24
AttributesandFeatures
25
Productsettings(Global)Globalsettingwillbeappliedforallproductsifyousetthemonce.Ithaslessprioritythanlocalsettingstoshowtheminfront-end.YoufindtheglobalsettingsfromDashabord->Woocommerce->Settings->RnBSettingsTab.
Productsettings(Local)You'llfindthesesettingfromDisplaysettingtabofproductback-end.
You'llfindthesesettingfromLabelssettingtabofproductback-end.
Productsettings
26
You'llfindthesesettingfromConditionssettingstabofproductback-end.
Productsettings
27
DateFormatSettings:Thispluginallowyoutochoosetheredifferentdate-format.
1. m/d/Y2. d/m/Y3. Y/m/d
Productsettings
28
TimeFormat:Youcansetyourtimeformattoeither24hoursor12hours.howeverbydefaultthetimeformatwillbe24hours.
Maximumtimelate:Youcansetmaxhourlateduringreturntimefromhere.Ifanyonecrossthislimitoftimethenanotherdaywillbecountashisreservationdaysandpricewillbecalculatedependingonthis.
PayExtraHours:Thisoptiongivesyoutheoptionofchargingyourcustomersfortheextrahoursthattheybookratherthanthefullday.Forexampleyouhaveadailypriceof$10andgeneralpriceof$2.Ifyousetthisoptiontoyesthenifacustomerrentsaproductfor25hoursthenhewillbecharged$12i.e.dailypriceof$10for24hoursandthen$2fortheextrahours.Howeverforthisyouhavetokeepsingledaybookingoptionunchecked.
SingleDaybooking:Thisoptionallowsyoutochargeyourclientsforasingledaypriceeveniftheybookforlessthan24hours.
MaximumBookingDays:Youcansetbookingmaximumdaysfromhere.
MinimumBookingDays:Youcansetbookingminimumdaysfromhere.
InitiallyBlockdays:Thisoptionofourpluginallowsyoutoblockdatesofthecalendar.Ifyousetthevalue2thensupposetoadyis24/4/2025anduserwillsee24/4/2025and25/4/2025unavailabletobook.
PreBookingblockDays:Ifyousetforexamplethisoptionto1thenoneextradaybeforetherentalperiodwillbeblocked.Forexamplewithprebookingblockdayisgivenas1acustomerbookstheproductfromsay24/4/2025to26/4/2025.Thenonthefrontendcalendartheproductwillbeblockedfrom23/4/2025to26/4/2025
PostBookingBlockDays:Ifyousetforexamplethisoptionto1thenoneextradayaftertherentalperiodwillbeblocked.Forexamplewithpostbookingblockdayisgivenas1acustomerbookstheproductfromsay24/4/2025to26/4/2025.Thenonthefrontendcalendartheproductwillbeblockedfrom24/4/2025to27/4/2025
TimeInterval:Youcansetyourtimeintervalforyoucalendar.Howeverthiswillnotworkifallowedtimeisgiven.
ShowProductPricing:Youcanselectifyouwanttoshowthedailypricingoftheproductorthehourlypricingoftheproductviathisfeature.
Allowedtimes:Youcansettheallowedtimeswhichwillshowinthefrontendofthecalendar.
ChooseBookingLayout:Thisallowsyoutochoosethelayoutoftheproduct.wehavenormallayoutorforuberlikelayoutyoucanchoosemodallayout.
Productsettings
29
SelectWeekend:Ifyouselectweekendfromherethesedaywillbeunavailableforbookinginfront-end.
You'llfindthesesettingfromValidationssettingstabofproductback-end.
Productsettings
30
Howdoesinventoryandavailabilityofaproductwork?Supposeyou've3inventoriesofaproduct.Nowifanyonebookthisproductfroma02/07/2016to04/07/2016,thenthisproductalsobeavailableforthenextcustomersinthatdates.Becausetherearestill2moreinventoriesavailableinthatparticulardates.Ifthenexttwocustomersbookthisproductinsamedates,thenforthefourthcustomersthatdateswillbeunavailable.
Howdoesinventoryandavailabilityofaproductwork?
31
RequestforaQuoteWatchVideoTutorialsforhowdoesourrequestforaquotefunctionalityactuallywork.
Settinguptherequestforaquoteisreallyeasy.Therearetwosettingsavailableandthoseareglobalsettingsandlocalsettings.
Seetheabovescreenshot.Thiswillenableamenuinthecustomer'sfront-end'myaccountpanel'.
Youcansetglobalsettingsforshowingallbookableproductsasarequestforaquoteoption.YoucanfindtheglobalsettingsonWooCommerce>RnBSettings>Display
Youcansetthisoptionforanindividualproducttoo.Forthisfunction,thereisasettingtoshowuptherequestforaquotebutton.
IntheproductsettingstabdownbelowthereisacheckboxShowQuoteRequest,checkthisboxanditwillshowthebuttoninthefront-end.
RequestforaQuote
32
RequestforaQuote
33
CompleteProductCreationNowresources,persons,securitydeposit,locations,attributes,quantity,pricingandfeaturesarecontrolledbyInventorytabofproductpage.
Supposeyou've3samecarsofAudi.Nowyoudon'tneedtocreate3individualproductforthesethreecars.Youjustneedtocreateoneproduct,thenfrominventorytabattachtherelevantinventory.
Tosuccessfullycreateaproductyouhavetofollowthesetwostages.
FirstStage:Firstcreateaninventorywiththeresources,persons,securitydeposit,locations,attributes,quantity,pricingandfeatures
SecondStage:Onceyoucreatetheinventorywithallthepricing,quantity,resourceattributesetc.youwillneedtocreateaproductandattachtheinventorywiththeproduct.
CompleteProductCreation
34
CompleteProductCreation
35
GoogleCalendarIntegrationonRnBPlugin
Step1:GoToGoogleDevelopersConsoleTousethisintegration,gototheGoogleDevelopersConsole.
Step2:CreateProjectOnGoogleCalendarGoto:Projects>CreateProjectbutton.ApopupshouldappearandaskforProjectNameandProjectID.Enteryourpreferences.
Forexample
Step3:EnabletheCalendarAPIOncetheprojecthasbeencreated,youareintheprojectfolder.GototheLibrarylinkontheleft-handmenu.ChoosetheCalendarAPI.
GoogleCalendarIntegration
36
ThenclickonEnable
Step4:CreateCalendarCredentialsThiswillpromptyoutofirstcreatecredentials.SelectGotoCredentials.
Choose
WebBrowser(JavaScript)asthesourceSelectUserdataasthedatatype
Alternatively,godirectlytotheAPIManager>Project>Credentialspage.There,selectCreatecredentials.
GoogleCalendarIntegration
37
Step5:InsertnewCredentials
GiveyourCredentialsaNameLeavetheAuthorizedJavaScriptoriginsblankEnterhttp://example.com/wc-api/red_rental_google_calendar/astheAuthorizedRedirectURIwithexample.combeingtheURLofyourwebstore
GoogleCalendarIntegration
38
Step6:SetupyourConsentscreenYouremailaddressisalreadyselectedEnteraProductnameshowntousersYoucanalsoenterextracustomizationoptions
Step7:DownloadCredentialsOncethisisdone,downloadthecredentials.Openthe.jsonfiletoaccessthem.Inthefile,you’llfindseveralthings,butthesetwoareneededfortheBookingsintegration:
client_id
client_secret
YoucanalsoaccessthesebygoingtotheAPI>Credentialspageafterhavingcreatedthem.Thereclickonthenameofthecredentials.YoucancopytheclientIDandsecretthere.
GoogleCalendarIntegration
39
EnterthesetwoinyourstoreunderWooCommerce>Settings>Integration.
Step8:GetCalendarIDCreatethecalendaryouwilluseinGoogleCalendar,ifyouhaven’talready.ThennavigatetoMyCalendarsontheleft,andselectCalendarSettings.
Onthisscreen,thereisasectioncalledCalendarAddress.CopytheCalendarID.
GoogleCalendarIntegration
40
Step9:IntegrateTheseCredentialsintoWooCommerceSettingsPanelInYourSiteGoto:WooCommerce>Settings>Integrations,andentertheCalendarID.
Finally,selectSavechanges.
Onceyou’veenteredyourcredentialsandsavedyoursettings,youwillbeprovidedwiththeoptiontoauthorizeyouraccountandcalendarwithGoogle.
NowcheckyourwooCommerceorderintoyourgooglecalendar.
GoogleCalendarIntegration
41
LocalSettingsandglobalsettings
Ourpluginprovidestheoptionstochangeeverytextandplaceholderfromit'ssettingspanel.Ithastwosettingpaneloneislocalsettingswhichworksindividuallyforeachproductandanotherisglobalsettingswhichworksforallproductonceyousettheglobaloptionsforaproduct.Youcancheckourscreenshotregardingthis.
SettingsPanel
42
UberLikeLayoutYoucanhaveyourproductlayoutsameastheUberlayoutbythisBookingPluginRnB.
StepByStepprocedures:
EnableGoogleMap-YouhavetoenableGoogleMapinordertousethisUberLikeLayoutFeature.TodothisyouhavetogotheAdminDashboardandclickonGoogleMap.
UberLikeLayout
43
NowyouhavetoenableGoogleMap,thenyouhavetoputaGoogleMapApikeyonGoogleMapApikeyfield,lastlyyouhavetoclickonSaveChanges.Thereareotherthreefields-RichMarkerEnable,InfoBubbleEnable,MarkerClusterEnable.Youcanalsoutilizethemaccordingtoyourrequirements.
UberLikeLayout
44
NowgotheProductsfromAdminDashboard.
UberLikeLayout
45
Weassumethatyouhavesomerentalproductsandchooseoneproductamongthem.Intothatchosenproduct'sEditProductpagegotoProductDatasection,thenclickonSettingsandfromSettingsclickonConditionsTab.
UberLikeLayout
46
FromConditionsTabselectModalLayoutasBookingLayout.
UberLikeLayout
47
NowClickonUpdatethenclickonPreviewChanges.
NowclickonSetLocation&Book.
NowGivePickUp&DropOfflocationandClickonNext.
UberLikeLayout
48
NowselectPickupDate&Time,ReturnDate&TimeandfinallyclickonNext.
NowClickonFinishProcess.
UberLikeLayout
49
NowclickOnBookNow.
NowclickonViewCartasyourproducthasbeenaddedtothecart.
UberLikeLayout
50
NowyoucanProceedtocheckout.
AfterfillingupBillingdetailsandselectingapaymentmethodyoucanproceedtoPlaceOrder.
UberLikeLayout
51
FinallyyoucanseeyourOrderHasbeenReceived.
UberLikeLayout
52
UberLikeLayout
53
Translation
54
Translationusing.potfileSupposewewanttotranslateinDutchlanguage.
Steps:
1.Downloadpoeditsoftwarefromhttp://poedit.net/
2.MakeyourwordpressinstallationwithDutchlanguage.
3.Addlanguagecodeinwp-config.phpfile.ForDutchitisdefinedas('WPLANG','nl_
NL');
4.Createa.pofileforDutchlanguagefromredq-rental.pot(plugins->woocommerce-rent
al-and-bookings->languages)filewithpoeditsoftware.
5.Savethe.pofilewithDutchlanguagecode.Sothefilenamewillberedq-rental-nl
_NL.poandputthisfileinplugins->woocommerce-rental-and-bookings->languagesdirect
ory.Youwillfindyourlanguagecodeherehttp://wpcentral.io/internationalization/
6.NowyourTranslationcomplete.
TranslationUsing.potfile
55
1. Openpoeditsoftware
2. ClickEditatranslationlink
3. Thenopenyour.pofilefromthewindow
4. Thenfromselectmenu->catalog->updatefrompotfile
5. Selectthe.potfile.Your.pofilewillbeupdatedautomaticallyaccordingtoyournew.potfile.
6. Thankyouforyourpatience:-)
Howtoupdateexisting.pofilefrom.potfile
56
FAQ
HowDoesGeneralPricingWork?
Admincansetgeneralpricefromtheback-end.It’sjustlikedefaultpricingtypeofwoo-commerce.Duringbooking,thepricecalculatesdependingonthatprice.
Forexample,supposeyousetGeneralpriceas10$.
Nowfromfront-endifanyonebookthreedaysthepricecalculateas(10$+10$+10$)=30$
HowDoesDailyPricingWork?
Admincansetdailypricefromtheback-end.Duringbooking,thepricecalculatesdependingontherespectiveday’sprice.
Forexample,supposeyousetSaturdaypriceas10$,Sundaypriceas15$,Mondaypriceas15$fromtheback-end.
Nowfromfront-endifanyonebookthreedaysasSaturday,Sundayandmondaythepricecalculateas(10$+15$+15$)=40$
DoesthispluginsupportInventory?
Yes,inventorymanagementfeatureisavailablenowfromv2.0.Togetmoreinformationaboutit,youcancheckouronlinedocumentationfromouritemdetailspage.orsimplyfollowthelink:InventoryManagement
HowDoesMonthlyPricingWork?
Admincansetmonthlybasispricefromtheback-end.Duringbooking,thepricecalculatesdependingontherespectivemonth’sprice.
Forexample,supposeyousetJanuarymonthpriceas10$,Februarypriceas15$,Marchpriceas15$fromtheback-end.
Nowfromfront-endifanyonebookthreedaysinJanuary,threedaysinFebruarythenthetotalpricecalculatedas(310$+315$)=75$
HowDoesDayRangesPricingWork?
FAQ
58
Admincansetunlimiteddayrangespricingfromtheback-end.Duringbooking,thepricecalculatesdependingontherespectivedayrange'sprice.
Supposeyousetminday1andmaxdays5andit’scostas60$,anotherdayrangespricingismindays6andmaxdays10andit’scost50$.
Youcansetpriceasper-dayorfixedbasis.
Ifyousetpriceapplicableasperdaythenthecalculationwillbelikethis:Nowifanyonebook3daysfromfront-endthenthetotalpricewillbe=60*3$=180$.
Nowifanyonebook8daysfromfront-endthenthetotalpricewillbe=50*8$=400$
Ifyousetpriceapplicableasfixedthenthecalculationwillbelikethis:
Nowifanyonebook3daysfromfront-endthenthetotalpricewillbe=60$=60$.
Nowifanyonebook8daysfromfront-endthenthetotalpricewillbe=50$=50$
HowCanISetRedirecttoCartPageAfterClickingBookNowButton?
ThereisanoptioninWooCommercesettingtoredirecttocartpageafterbooking.pleaseenablethisoptionthenwhenyouclickbooknowbuttonitwillredirectyoutocartpage.Youwillfindthisoptionfromhere
Dashboard->WooCommerce->settings
Howdoidisable/enablepickupdateandtime?
Youfindthisoptioninthesettingstabofproductbackend.
Howdoidisable/enabledrop-offdateandtime?
Youfindthisoptioninthesettingstabofproductbackend.Youalsofindtheglobalsettingforthisoptionsfrom
Dashboard->woo-commerce->settings->rnbsettingstab.
Howdoichangepickupordrop-offdatetitle?
Youfindthisoptioninthesettingstabofproductbackend.YoualsofindtheglobalsettingforthisoptionsfromDashboard->WooCommerce->settings->rnbsettingstab.
Howdoichangepickupordrop-offlocationtitle?
FAQ
59
Youfindthisoptioninthesettingstabofproductbackend.Youalsofindtheglobalsettingforthisoptionsfrom
Dashboard->WooCommerce->settings->rnbsettingstab.
Howdoichangeresourceorsecuritydepositoradditionalpersontitle
Youfindthisoptioninthesettingstabofproductbackend.Youalsofindtheglobalsettingforthisoptionsfrom
Dashboard->woo-commerce->settings->rnbsettingstab.
IsyourpluginworksmoothlywithothersWooCommercedefaultproducttypes?
Yes.itisfullycompatiblewithWooCommercedefaultproducttypes.
Howcanicheckadminfunctionalityofthisplugin?
URLusername:demopassword:demo
Forthis,youhavetologinwiththeabovecredentials.ThenyouhavetogoDashboard->products->addnew,thenfromproducttypedrop-downselecttherentalproduct.Thenyoucanseealladminfunctionalityofthisplugin.
Howtomakeproductsinglepagelikeourdemo?
WeusedacustomizedthemenamedEasyCommerceRNBtorepresentourdemoandwecustomizetheirproductsinglepagetoimplementourowndesignconcept.It’sisnotanyrelatedpartofourplugin.ThisdesignwillnotmatchwithEasyCommerceRNB'sproductsinglepage.Wecustomizecodewithpremiumsupport.Ifyouwantthisdesignyoucantakeourpremiumsupportandpleasecontactthroughoursupportsystem
HowDoesHourlyPricingwork?
Ifyoutotalrentalorbookingdaylessthan1daythenthebookingcostwillbecalculatedashourlypricerate.Youcansethourlypricefromproductbackend.Itworksasfollowing.
Supposeyousetperhourpriceas10$fromproductbackend.Nowifyourtotalrentaldaybecomeslessthan1daylike2hoursthenthebookingcostwillbe10*2=20$.
FAQ
60
Ifyourtotalbookingorrentaldaysbecomesmorethan1daythenthehourlypricewillnotwork.
Back-endRnBCalendarisbroken.
Itisaproblemwiththedatabaseandtheordersthatcausedthecalendarnotshowing,Pleaseemptiedtheordersdatabase,thenitwillbesolved
Booknowbuttontextdon’tshowinfront-end?
Forbooknowtextissue,We’veprovidedanoptioninthesettingtabofproductbackendtosetthistext.Pleasecheckthisandsetthetext.Hopeyou’reproblemwillbesolved.
Addtocartbuttontextisnotshowing!Howtosolveit?
Gotoproductback-end.From“settingtab”select“physicalappearancetab”.Fromhereyoucansetthebuttontext.
Locationdatanotshowingincart,checkoutandemail?Howtofixit?
PleasecheckouronlinedocsLocationHopeitwillhelpyou.
WhereI'llfindordownloadthelatestversionofplugin?
Youcandownloaditfromyourdownloadtab.oryoucanseethedownloadlinklikethishttp://prntscr.com/d7ucltinpluginpagehttps://codecanyon.net/item/rnb-woocommerce-rental-booking-system/14835145.Forhereyoucandownloadthelatestversion.
Doesitsupportsameproductmultipleitembookingatasametime?
Sorry,thisfeatureisn'tcurrentlyavailable.Butitwillcomingverysoon.
DoesitsupportWooCommerceVariable-ProductvariationsaddedinsidetheRental-Product?
Sorry,thisprocedureisn'tpossible.
FAQ
61
Howcanimakeanoptionnon-clickablethatmeanthisoptionisrequired?
ForthisyouhavetocreateatermfromDashboard->Inventory->Deposittaxonomy.SogotothistaxonomyandsetSecurityDepositeClickablevalueasno.
Whichpaymentgatewaysaresupportedbythisplugin?
Forpaymentgateway:ourpluginsisstandardwooCommerceextension.ItsupportsallpaymentgatewayswhicharesupportedbywooCommerce.Youcancheckallsupportedpaymentgatewayfromherehttps://woocommerce.com/product-category/woocommerce-extensions/payment-gateways/.
Bydefault,itprovidesPayPal,DirectbanktransferandCashonDeliverypaymentmethod.
Doesthispluginworkonmultisite?
Yes,Ourpluginworksfineonmultisite.Forhereyoucanreadoneofourcustomerreviewregardingthis
IttooksometimetofindoutbutnowIcanconfirmthatthispluginworksonmultisite.
Thetrickisthatyoucan’tactivateWooCommerceorthispluginonnetworklevelbutyou
mustdoitonsub-sitelevel…
Howtodeletedatefromadminpanel?
Everyproductcreatechildproductsdependingonitinventoryitem.YouwillfindthesechildpostinDashboard->Inventorydirectory.Youcandeletethedatefromthechildproductofmainproduct.
HowtotranslateAdmintext?
WPMLallowsyoutotranslatecontentsoftheCustomizerordifferentthemeoptionsaslikesliders,footer,andwidgets.
Findingthethemeoptionsandmakingthemtranslatable
TomakethethemeoptionstranslatablegototheWPML->StringTranslationpageandclicktheTranslatetextsinadminscreensoption.
FAQ
62
Onthispage,youhavetofindtherightoption.Usually,themeoptionsarelistedsomewherebelowtheme_mods_{themename}.
Thefollowingimageshowsanexample,wherewelookedfortheWPRealEstateProtheme’soptionsandfoundthemunderWPProRealEstate6_options.
Themeoptionsarepresentedinatreeviewandinside,wefoundtheslidersstoredunderthenamect_flex_slider.Wecheckedallslidetitlestomakethemtranslatable.
FAQ
63
Translatingthethemeoptions
Nowthatthethemeoptionsaremarkedastranslatable,theyappearontheWPML->StringTranslationpage.Youtranslatethemjustlikeanyotherstrings.
Thefollowingimageshowsourslidesonthefront-endafterwetranslatedalltheslidetitlestrings.
FAQ
64
Othertypesofthemeoptions
Besidesslides,youcanusethisapproachfortranslatinganyotherthemeoptions.
Forexample,customWidgetsareusuallyfoundunderoptionsnamedsimilartowidget_{widget_name}.
Translatingyourthemeoptionsdirectlyonthethemeoptionspanel
Youmayfacesituationswhereyouneedtoassignadifferentvalueforyourthemeoptionsdirectlyfromtheoptionspanel.ThisispossiblewithWPMLAPIsince3.9.3version,however,itrequiresaddingsomecodeandusingthewpml_multilingual_optionsfunction.
TranslatingyourFavicon
SinceWordPress4.3,WordPressimplementedaSiteIconfeaturethatenablesfaviconinyourwebsite.Youonlyneedtospecifyasquareimagethatisatleast512pixelsinwidthandheight,fromtheAppearance->Customizescreen.
1.Clickthe“SiteIdentity”intheCustomizermenu.
FAQ
65
2.Addorchangea“SiteIcon”.
FAQ
66
Asyoucansee,SiteIconisaCustomizeroption,soitstranslationisnotdifferentthanforanyotheroption.Basically,ittakestheIDoftheimageyouselecttobeyourSiteIconandusesitfordisplayingonthefront-end.
TousedifferentimagesasSiteIconsinotherlanguages,youneedto“translate”thisIDbyspecifyingtheappropriateimageIDsforthisoptioninotherlanguages.
Let’sdothisstepbystep!
GototheWPML->StringTranslationpageandclicktheTranslatetextsinadminscreenslinkatthebottomofthepage.Onthenextpage,scrolldownuntilyoufindthesite_iconoption.SelectitandclickontheApplybuttontosaveyouroptions.
FAQ
67
Now,thisoptionisavailableontheStringTranslationpanelandyouneedtotranslateit.Inordertodothis,youneedtoaddtheIDofyourimagethatwillcorrespondtothefavicontranslation.
ThenextstepistoobtaintheIDofthatimage.Forthis,youneedtouploadanewfaviconimageontheDashboard–>MediaLibrarypage.Whenyouhoveryournewimage,youcanseeitsIDontheURLasdisplayedintheimagebelow.
FAQ
68
Alternatively,youcanselectitandtakenoteoftheURLID.BothareperfectlyfineandpointtothesameID.Inourexampleitis2217.
Finally,gototheWPML–>StringTranslationpageandselecttheadmin_texts_site_icondomainusingthetopsearch.Underthisdomain,youwillfindyoursite_icon.TranslateitbyaddingtheIDoryournewfavicon.
ResolvingissueswithMaxInputVarsvalue
IfyouencounteraproblemduringsavingthiscouldbeduetoatolowvalueofMaxInputVars.TochecktheminimumMaxInputVarsvaluerequiredtosavethepagedothefollowing:
1. GotoWPML->StringtranslationandopenaTranslatetextsinadminscreenslink.2. Openyourbrowser’sconsoleandgotoConsoletab.Eachbrowserhasadifferentway
forinvokingaconsole.InGoogleChromeyouneedtopressF12onyourkeyboardandinMozillaFirefoxshortcutisShift+Control+K.
3. EntercommandjQuery('input').lengthintoConsoletabandpressEnter.
ThevaluethatisreturnedistheminimalMaxInputVarsvaluerequiredtosavethepage.
ToincreasePHPlimitformax_input_varsyouneedtoediteitherphp.inior.htaccessfile.Letussaythatyouwanttoincreasemax_input_varsvalueto10000.Youcouldoneofthefollowing:
addlinemax_input_vars=10000tophp.ini
addlinephp_valuemax_input_vars10000to.htaccess
IfyoudonothavepermissiontochangeyourserversettingsyoucanaskyourhostingprovidertoincreasethevalueofMaxInputVars.
IfyoucannotincreasethevalueofMaxInputVarsyoucanaddstringstotranslationwithwpml-config.xmlfile.
FAQ
69
FAQ
70
Pleasefollowthearticlehttps://redq.io/blog/woocommerce-booking-plugin/forstepbystepdiscussionofthesettingsofourplugin.
Stepbystepdiscussion
71
IntheRnBsettingsportion,WooCommerceRentalproducthas4options.
DisplayLabelsConditionsValidations
Alltheoptionshave2differentsettings.
LocalSettingsGlobalSettings
LocalSettings
Localsettingsmeanthatthesettingswillworkforthatindividualproductorthatspecificoptionsonly.Tosetupthesesettings,pleasegotosettings->Anyofthetabs(Display/label/Condition)andselectlocalsettingsfromthedrop-down.
Asthesesettingsisnamedaslocalsettings,itwillworkforthisproductonly.
GlobalSettings
Globalsettingsmeanthatthesettingswillworkgloballyorforeachandproduct.Toaddglobalsettings,youneedtofollowtwosteps:
Inthefirststep,pleasegotoWooCommerce->settings->GotoRnBsettingsandthensetyourdesiredsettingsbygoingthosetabs
GeneralDisplayLabelsConditionsValidations
LocalandGlobalsettings
72
Inthesecondstep,pleasegotosettings->Anyofthetabs(Display/label/Condition)andselectglobalsettingsfromthedrop-down.
N.B:Ifyouneedglobalsettingsforallproductsandlocalsettingsfortwoorthreeproducts,ThensettheGlobalsettingsforalloftheproductsandthengotothattwoorthreeproductandsetthesettingstolocalsettings.
LocalandGlobalsettings
73
ConfigureRNBforWPMLBeforecheckingthesesteppleasemakesureyoumakeproductandinventoryposttypetranslatablefromWPMLmultilingualcontentsetupwindow.
Working-with-wpml
74
Working-with-wpml
75
Working-with-wpml
76
Working-with-wpml
77
Totranslateanexistingproductdothefollowingsteps
Opentheproductandduplicateitforalllanguages.
Gotoduplicateproductfirstandthemmakeitindependenttranslationbyclickingindependenttranslationbutton.
Working-with-wpml
78
Fromhereconfigureyourrentalattributessuchasprice,dates,andothersoptions.
Clickupdatebuttontwicetodeleteallpreviouslycreatedinventoriesandadjustwithnewinventorychildposts.
Doneforthislanguage.
Ifyouhavemorethanonelanguagethenrepeat1,2,3,4,5foralllanguages.
Nowreturntotheoriginalproductandclickupdatebutton
AllDone
Working-with-wpml
79