Title: Using own Shortcode or Template
Last modified: January 28, 2023

---

# Using own Shortcode or Template

 *  Resolved [Peter Haller](https://wordpress.org/support/users/peterhaller/)
 * (@peterhaller)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/)
 * Hello@all,
 * I am using Woocommerce in a multisite setup to have my homepage available 3 different
   Languages. The primary task for the Shop is for booking rooms in a small retreat
   Hotel. For this i need the option to have different own templates or shortcuts.
   Because i can not duplicate the room product in all 3 stores. I only have 4 rooms
   if i duplicate it i have 12 rooms. I cañot syncronice the bookings. So i want
   to create a own booking page in the main language, with different shortcodes 
   in different languages. For example:
 * shortcode [produkt_page id=123] show me the page with button text in DE
 * My idea is now to have shortcode
   [product_page_en id=123] show the page with 
   button text in EN and[product_page_es id=123] show the page with button text 
   in ES.
 * And for Cart and Checkout the same all codes in 3 Languages.
 * I don´t want to use a plugin for translation. I have all Content and Produccts
   translated manually in all 3 Languages.
 * What i need is a instruction for dummies to change the path in the existing php
   files for the templates or shortcodes to show the correct Language Text on the
   buttons or Messages int the cart or checkout Pages.
 * Or if someone have a better idea for a resolution?
 * Thank you so much for helping me.
 * Peter Hallerr
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusing-own-shortcode-or-template%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16425449)
 * Hi there [@peterhaller](https://wordpress.org/support/users/peterhaller/)
 * > I don´t want to use a plugin for translation. I have all Content and Produccts
   > translated manually in all 3 Languages.
 * From what I gather, you would like to have a trilingual WooCommerce store, without
   utilizing a plugin.
 * Kindly note that, even with the product copy translated in 3 languages, there
   are further WooCommerce functionality pages that a customer needs to go through
   before placing an order, like **Cart** and **Checkout**.
 * > The primary task for the Shop is for booking rooms in a small retreat Hotel.
 * Since that is the end goal for the site, my suggestion would be to go ahead with
   the following plugins, in order to implement it:
    - [WooCommerce Bookings](https://woocommerce.com/products/woocommerce-bookings/)
    - [WooCommerce Accommodation Bookings](https://woocommerce.com/products/woocommerce-accommodation-bookings/)
    - [WooCommerce Bookings Availability](https://woocommerce.com/products/bookings-availability/)
 * For handling all 3 languages, feel free to check out a service like [weglot](https://weglot.com/solutions/ecommerce-stores/).
 * I trust that points you in the right direction, but if you have more questions,
   let us know. We’re happy to help.
 *  Thread Starter [Peter Haller](https://wordpress.org/support/users/peterhaller/)
 * (@peterhaller)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16426198)
 * Hello Pepe
 * | Using the 3 Plugins from Woocommerse for Booking
   I have installed all this 
   3 Plugins this is Running.
 * My main Problem are the translation and Wording from the Different Button´s. 
   One time it is Book now and one time it is red more and so on.
 * For this my idea is to use the Short-Codes and Templates for checkout, chart,
   product_page with id on a one Custom Page. 
   And then i will change the Wording
   on the button´s also in Custom Word´s.
 * If this is done, i will do this for all 3 Languages.
 * For this solution i need to now the which file i have to use for the different
   Short-Codes and Wordings. For the main languages
 * 2 Step after this i will copy the first solution in two different folders for
   EN and ES and use then the Short Code for ecxample. enchart for english users
   and eschart for spain user´s.
 * Can you also tell me please the main php file which is use for the Main Shop 
   Page.
 * Thank you so much Pepe
 * Best Regards from Dominican Republic
 * Peter
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16433260)
 * Hi [@peterhaller](https://wordpress.org/support/users/peterhaller/)
 * > My main Problem are the translation and Wording from the Different Button´s.
   > One time it is Book now and one time it is red more and so on.
 * [Localization](https://developer.wordpress.org/apis/handbook/internationalization/localization/)
   is the process of translating software and its files to a specific location, 
   such as a country.
 * Feel free to check out the related [documentation page, linked here](https://woocommerce.com/document/bookings-availability-translation/),
   on how to create WordPress translation files.
 * Just to note, for the second part of your inquiry in your last message, the combination
   of “[Loco Translate](https://wordpress.org/plugins/loco-translate/)” (for translating
   strings) and “[Polylang](https://wordpress.org/plugins/polylang/)” (for mapping
   translated pages) plugins simplifies this process, in my opinion.
 * Please let us know if you have any further questions about this matter, or if
   we misinterpret your concern in any way. We will be happy to help you further.
 *  Thread Starter [Peter Haller](https://wordpress.org/support/users/peterhaller/)
 * (@peterhaller)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16437991)
 * Hi Pepe ones more thanks for your feedback.
 * Your solutions are good for the automatic translation. But for me first of all
   connected with a purchase of a plug in. But these are not worth it for my small
   store.
   What I actually need is to know which file is responsible for the actual
   main page of the store.Then the files that are responsible for the shortcodes
   and the files that contain the texts for the buttons.I want to create my own 
   pages with my own shortcodes.I want to copy the existing shortcodes into an own
   directory. Then rename them and use them in the different languages. Here I can
   also enter my own names as I need for the Buttons.
 * Could you please tell me the files that are responsible for this. Thanks
 * Kind regards
 * Peter
 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16446857)
 * Hi [@peterhaller](https://wordpress.org/support/users/peterhaller/)
 * Thanks for providing further informaoitn about your inquiry here.
 * If I understand you correctly, you would like to create your own pages with your
   own shortcodes, correct?
 * This is a fairly complex development topic that would require customization to
   do it. Since custom coding is outside our scope of support, I am leaving this
   thread open for a bit to see if anyone can chime in to help you out.
 * For questions related to development and custom coding, your best bet is to ask
   on any of these channels for support. We’re lucky to have a great community of
   open-source developers for WooCommerce, and many of our developers hang out there,
   too.
    - [WooCommerce Developer Resources Portal](https://developer.woocommerce.com/)
    - [WooCommerce Advanced Facebook group](https://www.facebook.com/groups/advanced.woocommerce/)
    - [WooCommerce Community Forum](https://wordpress.org/support/plugin/woocommerce/)
    - [WooCommerce Developer Slack Channel](https://woocommerce.com/community-slack/)
    - Hire a [WooCommerce Expert](https://woocommerce.com/experts/)
 * Hope this helps!
 *  Thread Starter [Peter Haller](https://wordpress.org/support/users/peterhaller/)
 * (@peterhaller)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16463346)
 * Hello Xue, my idea is to use the existing Short-Codes and templates on one own
   site with one specified product. Then i will change the Button´s Text on a different
   language. For example EN or ES.
    1. site_name: ownproduct_en with product: room_en
    2. site-name: ownproduct_es with product: room_es
 * For this sites i also want to use the own short-codes: product cart and checkout.
   As a copy from the existing one´s
 * For this i should know which files i have to use or change for this project.
 * Thank you
 * Peter
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16470272)
 * Hi there [@peterhaller](https://wordpress.org/support/users/peterhaller/)
 * Thank you for reaching back, with further details on your inquiry.
 * > For this sites i also want to use the own short-codes: product cart and checkout.
   > As a copy from the existing one´s
 * Just to note, the [shortcodes available with WooCommerce can be found in the page linked here](https://woocommerce.com/document/woocommerce-shortcodes/).
 * Furthermore, based on the following:
 * > I am using Woocommerce in a multisite setup to have my homepage available 3
   > different Languages. The primary task for the Shop is for booking rooms in 
   > a small retreat Hotel.
 * +
 * > my idea is to use the existing Short-Codes and templates on one own site with
   > one specified product. Then i will change the Button´s Text on a different 
   > language. For example EN or ES
 * It appears you are needing help with customizations or troubleshooting WooCommerce
   and do not have a developer or company you can depend on.
 * On top of the [recommendations my colleague shared in a previous message here](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16446857),
   we’ve got recommendations for you.
 * Feel free to visit [https://woocommerce.com/customizations/](https://woocommerce.com/customizations/),
   with the above-mentioned project brief, to find the right agency or developer
   for your specific needs.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Using own Shortcode or Template’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/using-own-shortcode-or-template/#post-16470272)
 * Status: resolved