Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › how to use dynamic template function to retrieve a product id?
Tagged: Dynamic Products
- This topic has 6 replies, 3 voices, and was last updated 10 years, 6 months ago by admin.
-
AuthorPosts
-
May 11, 2014 at 1:44 pm #10811rob.marrasMember
Can I add an image to a page, then use my own custom fields (using advanced custom fields) and then displaying the add to cart button from a template without to use eStore add a product section? Same thing would be to display variations, price etc which I all set them in my own custom fields.
(Basically bought the plugin as I couldn’t figure out few things like how to get the thumbnail on the checkout page using Simple paypal plugin and other things.
Basically use eStore plugin similarly to Simple paypal cart?
May 11, 2014 at 2:46 pm #62880wzpModeratorThe eStore plugin, unlike the “Simple” plugin, does not allow you to dynamically generate product pages. You enter products into the product database, and use the shortcodes to create your product pages.
There is no way to bypass having to use the product database and shortcodes.
https://support.tipsandtricks-hq.com/forums/topic/using-shortcde-to-create-products
May 11, 2014 at 10:57 pm #62881rob.marrasMemberI see, thanks. Two other questions:
1: Which file can I edit to change the html output?
2: is there a function i can use to send thank you emails in other languages? For the “simple” plugin i was using WPML and in the cart php I used:
if (ICL_LANGUAGE_CODE==’en’) {
$totalTitle.=”Total”;
} elseif (ICL_LANGUAGE_CODE==’it’) {
$totalTitle.=”Totale”;
}
And I did that for any label for the products, is there any way somewhere in the files i could use the same hack to be able to send an email in one lang or the other?
Thanks
May 11, 2014 at 11:12 pm #62882wzpModeratorWhich file can I edit to change the html output?
I don’t understand the question.
is there a function i can use to send thank you emaisl in other languages?
I think this is what you want:
https://support.tipsandtricks-hq.com/forums/topic/multilanguage-support
Although I’m not sure if the multilanguage support extends to the email templates.
May 11, 2014 at 11:32 pm #62883rob.marrasMemberThanks for the fast reply.
Q 1: basically I am using bootstrap and I want to have 100% control over the html, in the “simple” I literally rewritten all the html the plugin was outputting, since eStore has more files I just wanted a quick reply on which file I should be putting my hands to change the html. e.g. a product page/checkout page, use eStore html, i want to change that markup.
q 2: I had a look just before at that forum post, when I do what it says, i get this (using latest wp 3.9.1):
Warning: include_once(/home/marianna/public_html/wp-admin) [function.include-once]: failed to open stream: Success in /home/***/public_html/wp-content/plugins/wp-cart-for-digital-products/wp_eStore1.php on line 60
Warning: include_once() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/***/public_html/wp-content/plugins/wp-cart-for-digital-products/wp_eStore1.php on line 60
Warning: Cannot modify header information – headers already sent by (output started at /home/marianna/public_html/wp-content/plugins/wp-cart-for-digital-products/wp_eStore1.php:60) in /home/***/public_html/wp-includes/pluggable.php on line 1121
May 12, 2014 at 12:13 am #62884rob.marrasMemberOK i missed the function I had to insert in function.php. Now it is resolved. thanks.
Let me get this hack right, basically this trick will load the eStore translation on the actual live web site, but the admin plugin will remain in english, right?
May 12, 2014 at 1:23 am #62885adminKeymasterYes.
-
AuthorPosts
- You must be logged in to reply to this topic.