Hello I am using shopify and Envy theme. Bymistake i lost my
product-grid.liquid
file code. How can i get it back ? please help-
Related
Although in my theme the coupon block had showed ok, now it isn't showing nothing. So the costumers can't use the voucher coupons. I add an screenshot to see what i mean. The green block i mean. Image here
Try executing the following line of code on your store.
Configuration::updateGlobalValue('PS_CART_RULE_FEATURE_ACTIVE', '1');
You need to add it to some PHP file (PrestaShop's file) and open a page that runs that PHP file, once it will be executed you should be able to see and use the voucher field on the Checkout page.
Though this is an old topic, I found this with the same problem. In our case this happened when installing / updating PayPal module. The solution is to unhook PayPal module from Header hook. I know it's not a "coding solution", bugt I hope it may help someone...
The solution is not mine, I found it here: https://www.prestaforum.com/threads/un-bug-muy-comentado-en-la-1-6-0-x-cupon-descuento-vs-paypal.357/.
I've been stuck on this problem all night. I've looked everywhere and can't seem to find anything related to my exact problem. On our IIS server we have a page that creates a pdf. We put an image in the header of the created PDF. This had been working properly until last night when we updated some unrelated code on different pages. Now when we try to create the PDF we get an error that the image file doesn't exist. Here's the weird part, iTextSharp.text.Image.GetInstance is changing the path we send to it?
Here's the line of code
Dim oImage As iTextSharp.text.Image = iTextSharp.text.Image.GetInstance(Request.MapPath("~/images/" & sLogo))
If we output the results of Request.MapPath("~/images/" & sLogo) we receive
E:\Inetpub\sitename\images\logo.jpg
When we place it in in the iTextShart.text.Image.GetInstance() function our path output changes to
C:\Windows\SysWOW64\inetsrv\images\defaultlogo.jpg
You can see the logo itself changes too, it should be noted that we do use DefaultLogo.jpg in the case that a client doesn't use their own logo but all the ones i'm testing with do. The path E:\Inetpub\sitename\images does exist and logo.jpg does exist.
Here's the weirdest part, if i change the path from images to image
IE: iTextSharp.text.Image.GetInstance(Request.MapPath("~/image/" & sLogo))
the output will be
E:\Inetpub\sitename\image\logo.jpg
So i have no idea why images doesn't resolve.
Any help is greatly appreciated, and if this answer has been posted before and i just can't find it i'm very sorry, and if you could point me to that i would appreciate that as well.
I figured out my issue, and it's sheer stupidity on my part. The page we call to create the pdf had bad security on it. Basically we were looking for a session variable that didn't exist and redirected that page to a session time out notice. Removed that session check and it's working now!
Good evening,
I use PayPal module on my website developped with Prestashop 1.5.5
I would like to modify the logo which appears at the end of the checkout process because it's too large for my theme.
So I removed the file FR_bnr_horizontal_solution_PP_327wx80h.gif in the folder module/paypal/img/logos/ and replaced it with a new image with the same name.
Moreover, nothing change, the previous logo was always active and the correspondaing file FR_bnr_horizontal_solution_PP_327wx80h.gif was re-created in the folder.
What should I do to resolve this issue ? Which file must I modified ?
Thanks in advance.
Samuel
Through browsers developers extension, check which is the image your template is using.
Then change it in modules/paypal/img/logos.
In my case it was the file PT_vertical_solution_PPeCheck.gif, where PT is the code language.
I am having some issues with a BigCommerce theme. It is an exact copy of a working theme, but on the new site, the mini basket/cart always shows $29.00 no matter what is in the cart (site is also set up to use £)
The issue lies with %%LNG_SideCartTotalCost%%.
Whats odd is that I checked the language file (via the url) and the text for this variable should be:
"Your sub total is <strong>%s</strong>."
Yet its coming through as:
"Total: <strong>%s</strong>."
I'm unsure who this was changed (the site is a clients, who has had work done by other developers)
How would someone change this language variable in BigCommerce? I was under the impression you could only edit themes, and not code?
So, any thoughts on how to fix this?
Thanks!
I work at Bigcommerce. The file you will need to edit is the sidecartcontents.html file. You are able to customize HTML, CSS, Javascript and JQuery. The only thing you don't have access to is any global variables that require PHP files. As a SaaS platform, we don't provide our clients access to the PHP files.
Turns out is was an issue with the language file. The support staff had to update it.
Using LR 6.1.0-ce-ga1 and ICEfaces 3.2.0. Have this code in my xhtml:
<ace:panel>
<ace:fileEntry
required="true"
requiredMessage="You may not save if you have not selected a file."
fileEntryListener="#{profileBean.listener}"
maxFileCount="1"
maxFileCountMessage="Select one file, please."
useSessionSubdir="true"
immediate="true"
/>
</ace:panel>
First, the immediate doesn't work. listener in my bean never gets called. But that's maybe not as important as the following.
I have h:commandButton on the form. When I click it, I see what looks like the beginning of a progress bar drawn like it's going to display file upload progress. This is immediately covered by the following:
This box is often associated with ICEfaces push problems (I've been told by ICEfaces). I added icepush.jar to WEB-INF/lib, but it didn't help. What I'd prefer is not to have the alleged progress bar try to render at all.
So, would appreciate anyone's help in making this file upload work.
P.S., I've tried Tomahawk and plain Apache JSF 2.0, also. I'd like to get the ICEfaces version working, but I'm kind of open to any working solution, given my (Servlet 2.5-based) environment.
Thanks.
I would recommend that you look at the source code for the icefaces3-portlet demo, as it shows how to upload a file with ace:fileEntry in a portlet environment.