|
|
Constants and Configuration V3.2In Admin >> Edit Config >> Edit all Config. WARNING: NEVER change a constant NAME. Only change a CONSTANT VARIABLE CONSTANTS are turned OFF=0 and turned ON=1 Certain complex features require IMS to turn on and a small cost may be involved. 1. ALLOW_SHOP_MAX_OCC Enabled/disable checking for max.occupancies. Also please, see SHOP_MAX_OCCUPANCY and SHOP_MAX_OCC1,SHOP_MAX_OCC2,...,SHOP_MAX_OCC4. 2. SHOP_MAX_OCCUPANCY Max.number of tickets user can select at one time. For example: SHOP_MAX_OCCUPANCY = 5 If user selected 2 tickets for adults and 1 ticket for child => system will allow to book. If user selected 4 tickets for adults and 2 tickets for children => system will no allow to book. 3. SHOP_MAX_OCC1, SHOP_MAX_OCC2, SHOP_MAX_OCC3, SHOP_MAX_OCC4. These constants can be used together to check for max. quantity for selected ticket types (Adults, Children etc.) For example, if tour details page contains: Adults $50 [ ] Children $30 [ ] Infants $10 [ ] Seniors $25 [ ] then, system will check if: - number of adults < = SHOP_MAX_OCC1 - number of children < = SHOP_MAX_OCC2 - number of infants < = SHOP_MAX_OCC3 - number of seniors < = SHOP_MAX_OCC4 Control max.number of items customer
can book for one particular trip. 4. SHOP_NDAYS_FROM_START, SHOP_ORDER_PERC. These two constants can be used to specify a discount for user, who booked a tour prior specified number of days. For example: SHOP_NDAYS_FROM_START = 60 SHOP_ORDER_PERC = 25 Case 4.1. At February 28 used booked a tour for November 10, 2009. As a result 25% discount will be applied. Case 4.2. At February 28 used booked a tour for March 28, 2009. As a result no discount will be applied. 5. ENABLE_DAILY_LIMIT Ability to enable(1) or disable(0) daily booking limits for one tour category. Each tour category may have its own limits. 6. ENABLE_FEATURED_PRODUCT Ability to enable(1) or disable(0) featured products on the main page. Display multiple featured products on the IMSCart V3 website. 7. XML booking.com search constants. XMLSEARCH_BOOKING_LOGIN - login to obtain XML data. XMLSEARCH_BOOKING_PASSW - password to obtain XML data. XMLSEARCH_AFFILIATE_ID - affiliate ID. XMLSEARCH_AFFILIATE_LABEL - affiliate label (in
most cases - your website or company name). 8. CHECKBARCODE_ENABLED Enable(1) or disable(0) bar code validation features. 9. CART_PRODUCT_NAME, CART_PRODUCT_QTY, CART_PRODUCT_SKU These constant values will be used as captions for appropriate columns on the shopping cart pages. 10. ENABLE_COUPONS_FOR_TOURS Enable(1) or disable(0) coupons for tours feature. 11. RESERVE_BY_PHONE Phone number to display on the tour/trip page. 12. ALLOW_POINTS_SYSTEM ( feature request be turned on) Enable(1) or disable(0) pointing system. 13. ONE_POINT_COST Amount in USD to use for discount for each point. 14. LINKPOINTCONNECT_ENABLE Enable(1) or disable(0) Linkpoint payment gateway. 15. ALLOW_MULTIPLE_FEATURED_PROD Enable(1) or disable(0) multiple featured products on the main page. Enabled: allows to display all featured products on the main page. Disabled: only one featured product of the given type will be displayed on the main page (1 tour, 1 rental... 16. ENABLE_RETURN_TRIPS Enable(1) or disable(0) return trips feature. 17. MAX_PRODUCT_OPTIONS Max.number of options on the "Products" > "Add Property" page in admin.area. 18. Constants for additional passenger options (weight, height …). ADDNAMES_MAINCAPT1, ADDNAMES_MAINCAPT2, ADDNAMES_MAINCAPT3, ADDNAMES_MAINCAPT4. ADDNAMES_ITEMCAPT1, ADDNAMES_ITEMCAPT2, ADDNAMES_ITEMCAPT3, ADDNAMES_ITEMCAPT4. These constants can be used only for tours and transits to give the ability for user to enter additional details. For example, administrator entered: - "Passenger weights" for ADDNAMES_MAINCAPT1 constant; - "Weight" for ADDNAMES_ITEMCAPT1 constant. As a result, text field(s) to enter weight(s) will be displayed on the tour/trip detailed page. If customer selected two tickets to buy, then system will display two "weight" fields etc. 19. ALLOW_SPECIAL_OPTIONS Enable(1) or disable(0) special options for rooms/tours/transit. 20. ALLOW_ROOM_DISCOUNTS Enable(1) or disable(0) discounts for each room. Administrator have the ability to specify discounts depending on the number of adults. 21. ALLOW_BROWSE_ALLHOTELS Allows "Browse all hotels" block on the hotels search form. Please, note: this feature requires additional programming. 22. ALLOW_MINMAX_NIGHTS Enable(1) or disable(0) "Min/max nights for periods" feature. 23. ENABLE_PASSENGER_NAMES Enable(1) or disable(0) ability for customer to enter passengers names before booking. 24. ALLOW_HOTEL_MULTIPLE_PICS, MAX_HOTELTHUMB_WIDTH, MAX_HOTELTHUMB_HEIGHT ALLOW_HOTEL_MULTIPLE_PICS: enable(1) or disable(0) ability to upload many photos for one hotel. MAX_HOTELTHUMB_WIDTH: max.width of thumbnail MAX_HOTELTHUMB_HEIGHT: max.height of thumbnail 25. SECURENET_ENABLE, SECURENET_TEST SECURENET_ENABLE: enable(1) or disable(0) secure.net payment gateway. SECURENET_TEST: enable(1) or disable(0) test mode for secure.net payment gateway. 26. ENABLE_FIRSTLAST_NAME Enables the ability to enter "First Name" and "Last Name" for each passenger for trips (only for transit module). 27. ALLOW_RENTAL_DEFDATETIME, RENTAL_DEF_TIME If ALLOW_RENTAL_DEFDATETIME set to 1, then default rental time specified by RENTAL_DEF_TIME constant will be used. 28. CHANGE_DATE_ON_MONTH_CHANGE If enabled(1), then selected date will be changed to the first date of the given month, then customer selects another month on the calendar. If disabled(0), then date will stay unchanged. 29. CLICK_DATE_TO_SEE_TIMES If enabled(1), then customer must always click on the tour/trip date on the calendar to display list of available tour/trip times for selection. 30. ALLOW_OPTIONS_FOR_EACH_ROOM Enables(1) the ability for customer to specify special options for each reserved room independently. If disabled(0), then customer may select the same special options for all reserved rooms. 31.ENABLE_SHIPPING_ROOMS, ENABLE_SHIPPING_RENTALS, ENABLE_SHIPPING_TOURS, ENABLE_SHIPPING_TRANSITS, ENABLE_SHIPPING_PRODUCTS Constants to enable(1) or disable(0) shipping for the main IMSCart modules. 32. ENABLE_SHIPPING_BY_PRODUCT Enable(1) or disable(0) the ability to use different shipping methods for each product. 33. ALLOW_EXTRAROOM_DISC Enable(1) or disable(0) the ability to use discounts or additional charges for adults and children (hotels module). Please, note: you can enable only ONE of these options: ALLOW_ROOM_DISCOUNTS OR ALLOW_EXTRAROOM_DISC. 34. MIGS_ENABLE, MIGS_HASH, MIGS_ACCESS_CODE Constants used to setup MIGS (MasterCard Internet Gateway Service) payment gateway. MIGS_ENABLE - enable(1) or disable(0) using of MIGS payment gateway in the IMSCart. MIGS_HASH - MIGS hash value. MIGS_ACCESS_CODE - MIGS access code. 35. ALLOW_NAVAIL_ONMOUSEOVER Enable(1) or disable(0) the ability to show number of available seats as tooltip for each date on the calendar. This feature only available for tours and transit modules. 36. ALLOW_TIME_PRIO Enable(1) or disable(0) "Time Priority" feature. This feature (when enabled) allows to specify priority for each tour/trip time: 1,2 or 3. 37. ALLOW_COME_AND_SEE Enable(1) or disable(0) "Come and see" option for tours and transit modules. This feature (when enabled) allows for customer to select "Come and see" option instead of tour/trip time. In this case inventory will be not changed after booking. 38. ALLOW_SOUND_BARCODE Enable(1) or disable(0) special sounds for valid and non-valid bar codes. 39. ENABLE_TAX_3DIGITS ( feature request be turned on) If enabled(1), then system allows using of three digits after dot for taxes (f.e. 5,759%) If disabled(0), then only two digits can be used (f.e. 5.76%). Please, note: additional database changes required for this feature. 40. ALLOW_BRIEF_ORDER ( feature request be turned on) Enable(1) or disable(0) V3 shortening of the order process. Please, note: additional database changes required for this feature. 41. ALLOW_RESELLER_NEWOPT ( feature request be turned on) If enabled(1), then additional reseller features will be activated: - reseller account: ability to add new customers; - reseller account: ability to make bookings for the selected customer; - reseller account: ability to delete/modify existing customers only for this reseller; - new structure of the resellers report (for resellers and for admins): Tour/Trip Name, Tour/Trip Date/Time, Passengers, Price. 42. ALLOW_CONFIG_LANGS ( feature request be turned on) Enable(1) or disable(0) the ability to configure languages (Admin > Languages). 43. ENABLE_VIEW_USERS_SALES ( feature request be turned on) If enabled(1), then system will display two new columns on the Admin > List User page: - No. of orders: total number of orders for each user; - Sales total: total for all orders for each user. 44. ENABLE_PRODUCT_HANDLING_CHARGES ( feature request be turned on) Enable(1) or disable(0) product handling charges: Products > Handling charges for products. 45. ENABLE_WEIGHT_DIM_COSTS ( feature request be turned on) Enable(1) or disable(0) ability to specify shipping costs depending on the products weights and/or dimensions: Shipping > Weight/Dimensions Costs. 46. ALLOW_SITE_SEARCH ( feature request be turned on) Enable(1) or disable(0) displaying of the brief search form in the right top corner on the front-end. 47. ENABLE_PORTAL_VERSION ( feature request be turned on) Enable(1) or disable(0) V3 portal (tour and hotel owners functionality). 48. ALLOW_CASH_CHECK_PAY ( feature request be turned on) Enable(1) or disable(0) cash and check payment options for admins. 49. ALLOW_ORDER_MODIFY ( feature request be turned on) Enable(1) or disable(0) ability to modify orders for customers. Please, note: this feature only exists for tours and transit modules. 50. Constants for "Driver Cash Sales" ( feature request be turned on) These constants allows using of "Driver Cash Sales" feature. DRVCASH_CAT_ID: category ID for "Driver Cash Sales" product. DRVCASH_PROD_ID: product ID for "Driver Cash Sales" product. DRVCASH_SHOPPER_GROUP: "Driver Cash Sales" shopper group ID. 51. ALLOW_REMARKS_ONPAGES ( feature request be turned on) Enable(1) or disable(0) ability for administrator to enter remarks on tour/transit pages and shopping cart pages. Products > List Categories > Remarks on the booking page Products > List Categories > Remarks on the shopping cart page
Contact webmaster@imscart.com with questions or problems with this set-up.
|