How length is description of product in Prestashop 1.6? - prestashop

I pasted a HTML into my description in product. When I look at website the content is cut. How much data I can storage in product description?

You can write a description as long as you want in Prestashop. I think your problem is linked to the HTML cleanup made by TinyMCE Editor. You will have to check the source code form the description field to check if all of your data is here. If you included iframe, it cannot work. You will have to enable iframes in content in general settings.

Related

Shopify - is it possible to change the preview of a product with a inputbox?

Which ways are possible to edit the live preview of the product page in Shopify with Inputboxes next to it?
Let's say the product is a poster, and i want to add a custom text on it.
When typing into the inputbox the text changes in real time on the product.
Can this be implemented in the shopify code with the basic version of shopify?
Or does this necessarily needs an app?
ADDITIONALLY:
Let me go a bit deeper. I have a code that can generate a QR code.
Now i want that the QR code to be previewed in the product. Now position and color of the QR code is different from any product. Would that need an app?
Yes you can to an extent.
First the ground rules:
You can't modify the product from the front-end and update the content or media in the back-end - this would be a huge security hole
The changes applied to the product will be visible only to the user who changed them
The solution is to use Javascript and update the content of the front-end. If you like to store the changes for that specific user you can save them as cookie or localstorage.
If you like to share this change to other people you will need to add a custom parameter in the URL of the page and generate the content from it and share that url.
Each one of these steps will require some custom Javascript that will affect only the user in question, if you like to modify the product in the back-end directly you will need some kind of an app for this.
On my mind it can be done if the dynamic text is applied over product image.
Detailed code would be too long to write here but here are the steps:
Add an input to your product form to add a custom property (https://community.shopify.com/c/Shopify-Design/Product-pages-Get-customization-information-for-products/td-p/616503)
Write a Javascript function to get input value in real time
Use this value to display it in a div in product image container
Position this div in CSS as absolute and style it as you wish
While image container position should be set as relative in CSS
HTH

How to add image uploader in shopify?

In my shopify store I make custom arts based on customer's image. I need to add an image uploader where user selects the image and when they hit continue I should take them to checkout. I am using the debut theme. How can I make this happen?
You can add additional details to a product by including an input field with a name of properties[some-property-name], and this also works for input fields with a type of file.
For example, you could add the following to your product form to create an image upload field. (Note: Make sure your form has enctype="multipart/form-data" set so that browsers submit the form correctly)
<input type="file" name="properties[Uploaded Image]" class="custom-upload" />
The resulting file will be uploaded to Shopify and will be accessible to you through the order in the Shopify admin. Your customers will be bound by whatever limits Shopify enforces regarding file sizes, which from a quick Google search looks to be set at 20MB currently.
NB: If your theme uses Javascript to submit your product form, it may or may not be compatible with file inputs out-of-the-box. Many simple stay-on-page features assume that all of the form data can be treated as text, so would ignore your file field. Here's an answer to a similar question where I tried to provide some ideas on how you could get around this problem: https://stackoverflow.com/a/58271610/2592369

Rich Snippets: Should the data be reflected on page?

I have some schema data for product reviews, but none of it actually prints to the page, it's only there in the background for Google.
Is this a bad idea? Do Google look for it on page as well? I can't find the answer anywhere. Thank you.
You can add Schema markup in your webpage content to make the relevant sections such as dates and reviews of the products visible to the searcher in the form of rich snippets. It is definitely not a bad idea to include structured data in the HTML of your webpage because Google shows additional data like the review, recipes, and events in the meta description of the link of the webpage. This will also help searchers to visit your webpage for product review due to the additional data provided as a rich snippet, and as a result, boost your SERP ranking.

BigCommerce - change thank you text on order confirmation page in StencilJS theme

I am using StencilJS powered template for BigCommerce store and am having trouble editing the thank you text on order confirmation page.
The checkout.html and order_confirmation.html pages use {{checkout.order_confirmation_content}} to display the content which also includes a heading and a few buttons.
I think I might be missing something essential.
thanks
I might have asked this question in a hurry, I stumbled onto the following link :
https://developer.bigcommerce.com/stencil-docs/template-files/customize-stencil-checkout/multi-language-checkout#json
So, there is a JSON file that they have with what they call "hidden translation keys".
So those keys or key-value pairs need to be copied into the main JSON file and that's the solution.

Sitefinity 4.4 - Dynamically change page title and description at runtime

Does anyone know how to dynamically change the page title in Sitefinity from a regular user control?
Our scenario is simple. We have a real estate website with a search feature. On the search results page we have a control showing the search results, but we need to be able to change the Page title, description and keywords based on the search performed.
We posted on Telerik, but they gave vague answers and pointed us to incorrect objects or objects that didn't actually work.
?
Regards,
Jacques
The way I've usually done this in the past is by using an external widget template.
By mapping your widget template to an external file, you can use a full User Control (.ascx file) which means you can also run code behind.
From there it's just a matter of running something like
Page.Title = "whatever";
For more info on using an external template for Sitefinity Widgets, check out this post: http://www.sitefinity.com/blogs/joshmorales/posts/11-05-10/mapping_external_templates_for_sitefinity_4_widgets.aspx
Hope this is helpful!