The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [placeholder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
122 views

Get asterisk after placeholder text in All Required field

I want to add an asterisk mark to placeholder of inputs. Something like this: <input type="text" name="your-name" placeholder="Naam"> I do not want to add the symbol directly in the ...
2
votes
2answers
449 views

Magento 2 product images always returning the placeholder image

I've written a plugin, and in it I'm trying to obtain the product image url like this: $generalInfo = array( 'image_url' => $this->_imageHelper->init($product, 'product_base_image') ...
0
votes
0answers
154 views

Magento 2 Checkout - How to replace labels with placeholders

In the Magento 2 Checkout, i need to replace the form input labels (Firstname, Lastname, City etc) with placeholders (text that will show inside the input box). I found this solution https://...
5
votes
0answers
108 views

How to get Current Currency SIGN in UI component field

I have created a Custom Module using the UI Component on Admin Side. Now i Need to show a Current Currency Sign in this field. SS:
1
vote
5answers
1k views

Can't upload product placeholder images in Magento 2

I'm trying to replace the Magento placeholder image with a custom one. Everything I browse to select the file and hit Save, nothing gets saved. Is there an issue with this in v2.2.6? What can I do ...
1
vote
0answers
58 views

Custom Placeholderimage resize issue in magento 2

I have added custom placeholder image in backend. But it is not resized as thumbnail image while editing the product. expected result In the place of default placeholder, my custom image should be ...
1
vote
0answers
126 views

Placeholder image not resized in Backend in magento 2

I have uploaded place holder images in backend, while I am trying to edit the configurable product in backend. Under configuration section It displays the place holder image at larger size for each ...
1
vote
0answers
63 views

Magento 1.9 fatal error Mage_Configurableswatches_Helper_Productimg' not found

i faced with a Fatal error: Class 'Mage_Configurableswatches_Helper_Productimg' not found in /app/Mage.php on line 547 while flushing the swatch image cache. Please let me know how to fix this issue?
0
votes
1answer
269 views

how to add image Placeholder if image not found on frontend Magento 2

how i can add image place holder on front-end page when image is not uploaded or not found in both cases. actually, i am working on custom module, in which i have to fill the form front-end in which ...
2
votes
2answers
868 views

Product Thumbnail showing Placeholder in Frontend - Actual Image in Backend

I'm not sure when this started, but all thumbnail images on all products in all stores/store-views are defaulting to the placeholder image: I have checked permissions, file paths, and uploaded new ...
0
votes
2answers
230 views

Magento 2: How to make the forgotten password captcha input field's label a placeholder?

I am trying to make captcha input label a placeholder, not label. I followed the following instructions for doing the same thing on the checkout: https://diweirich.com/magento-2-using-placeholders-...
0
votes
0answers
552 views

Magento 2.1.7 no option to change placeholder image in product page

I've found that I've got no option in admin as stated in this post ref: https://www.alexcorradi.org/blog/2016/11/14/how-to-change-product-image-placeholders-in-magento-2 Mine looks like this: Is ...
0
votes
1answer
319 views

Place holder image instead of thumbnail product image in magento 2.1.9

I have installed Magento 2.1.9 and import product via csv. After import I tried: clear Cache Static-content generate Reindex Setup upgrade catalog Image resize remove ...
1
vote
0answers
5k views

Magento 2 : Change Product Default Image

I am trying to change the default images on products that haven't got an image. I've uploaded the images within: Stores > Configuration > Catalog > Catalog > Product Image Placeholders I've flushed ...
3
votes
2answers
1k views

Magento 2: Product placeholder images cause an exception

When I add a view.xml file to my theme I get the following error: Exception #0 (Magento\Framework\View\Asset\File\NotFoundException): Unable to resolve the source file for 'frontend/Holy/...
0
votes
1answer
490 views

M2 Custom Product Placeholder Image not showing on Stage or Prod server at Product Detail Level

I added an image to show images that aren't available (a placeholder) through the M2 admin. It is showing at the category level but not at the product level. It works on my local machine which is ...
0
votes
2answers
769 views

Change placeholder text color in Magento 2.1.2 search box

How to change the css of a placeholder? I want to change the color of the text "Search entire store here..." Can you please help me with this?
8
votes
6answers
9k views

How to get placeholder image url Magento2?

How to get the placeholder image URL on my template file of product listing page?
2
votes
1answer
1k views

Magento 2.1.2 placeholder image for product details page

I am running into the issue of product details page with the default placeholder image. I have changed the placeholder in the 4 sections available under: Stores > Configuration > Catalog > Catalog > ...
7
votes
2answers
5k views

Magento 2 placeholder image only showing in thumbnail

I have the same placeholder image uploaded for all four options: base, small, swatch, and thumbnail. The placeholder is showing fine for the thumbnail on the category page, but when I click on one to ...
4
votes
2answers
1k views

Magento show wrong image when products doesn't have one

I have a problem with products with no image. I have set the Product Image Placeholders in the backend at System > Configurations > Catalog > Product Image Placeholders It works well with the ...
2
votes
2answers
368 views

Sidebar only returns image placeholder

I've multiple sidebars on my website. 1 of them is showing images correctly. But the last one (recently ordered products) is only showing the default magento placeholder. Screenshot: Here is the ...
0
votes
1answer
207 views

Template vars/placeholders

Relatively new to Magento and seeing a lot of this lately in (email) templates: {{template config_path="design/email/footer"}} {{depend order.getIsNotVirtual()}} {{layout handle="...
5
votes
2answers
2k views

Control placeholder image width/height in magento 2

I can control the product images width/height in view.xml located in app/design/<vendor>/<theme>/etc in product list page. Some of the products not having images so it tries to show ...
5
votes
3answers
3k views

Images returning as placeholders - custom product collection

Im working on a module similar to the Magento2 swatch module. I have a custom collection of product and i'm trying to get an image from each product - however it always returns placeholder images. ...
1
vote
1answer
1k views

All product displaying placeholder image instead of uploaded images [closed]

I try to re save, reindex,update attribute, clear cache, images are checked in backend. 777 permission is given to media folder. i have disabled all extensions which were over-riding media.phtml but ...
0
votes
1answer
146 views

Receive Magento Logo when getting product image

I am learning Magento and I am trying to create a slider which show products' images. I am ok with the JS slider but I have problem when trying to get product images. I have tried these codes: <?...
1
vote
1answer
311 views

Product Information Doesn't Show Until I Click Save in Magento

Products on my site show placeholder image and no product information (price, description etc) until I look them up in Magento and click "save". This works even if I don't change any information at ...
0
votes
0answers
123 views

Magento logo image (placeholder) is added automatically

I have added several product images in the backend. Also I selected base image, small image and thumbnail image for the product in the backend. But in the frontend the Magento logo (placeholder image) ...
2
votes
0answers
41 views

Is it possible to select place holder image for products without changing configuration in admin or directly uploading to magento folder ?

Is it possible to make magento show my place holder images which is stored in a particular folder without changing the admin configuration or directly uploading file to magento default folder. What i ...
2
votes
1answer
9k views

Product has image but it show placeholder image as default image

I got a strange problem I imported products by csv. There're some products showing placeholder magento image, even it has image. I try to re save, reindex, clear cache. not working it still showing. ...
1
vote
1answer
894 views

Images replaced by placeholder image in frontend

All immages in frontend were replaced with placeholder image after running the scritp on this post: Mass change product URL keys to match product names No cache is active Any idea why and how to ...
2
votes
2answers
20k views

Add a magento image place holder if product has no images

I have a bit customized magento gallery and only now I've spotted that no image is displayed when the product doesn't contain an image. How can I call a Magento product image placeholder if the ...
2
votes
1answer
1k views

Placeholder for input in WYSIWYG

I've been building a form lately, on a CMS Page. But something strange happens, when I add the following HTLM : <input class="input-text" type="text" name="code" placeholder="My text here"/> ...