Show Posts

Topics - squinn

Pages: [1]
Template Support / Remove 'view' on hover on thumbnails
« on: December 05, 2023, 06:28:20 PM »
I have searched the forum as I believe I asked this question some years ago, but I have a new install.
How do you remove the 'view' text and bar that comes up when you hover over thumbnails?
From memory there were two spots this needed to be changed - the style.css and one of the bootstrap files (not sure which one). But I can't remember where specifically, sorry.

Thanks in advance

I moved hosting, and rebuilt my existing domain with the latest abantecart 1.3.3 on a staging domain, then cloned it to the original domain name.
But now the extension marketplace isn't working correctly.  I have attached an image showing the message that shows.
I have tested the front end, and the extensions simply don't show - eg; when I go through check out it says 'no payments are available' and 'no shipments are available' even though both are configured. 
I have cleared cache, and I have also gone into my marketplace account and disconnected all old connections, so this should be the only valid one.
I also experimented with disabling, uninstalling and re-installing one of the extensions, but the same error shows.
I'm not sure where to go from here, but I . need my site live and usable again.
Thank you in advance

*I have solved this since posting, Thanks.  Was reading a different tutorial, found the official one which made life easy. 
But I still have a stupid question - is it absolutely safe to delete the staging version?**

Thank you in advance.
I was using an old version of abantecart with a host I wasn't entirely happy with.  So I decided to rebuild with a new host, using the latest abantecart as a new install.
I did this on a separate 'staging' domain name so as not to mess with my live site.
After this was done, I moved all the new files to the new domain name, changed my name servers etc., so it was all under the new host

I went to the staging admin and changed where the store pointed to, which all went well, now my main domain is showing the updated abantecart as planned. Yay

The only issue is I can still only access the admin via the staging domain, not the main domain. How do I change this?
Please explain as if I am five years old, I'm not that bright. 

Thank you.

Upgrade / Upgrading from 1.2.16 to 1.3.3
« on: November 11, 2022, 04:43:19 PM »
Recommendations on how to do this? I don't have a huge ecommerce site, so I'm considering (to avoid conflicts) it may be easier just to do a fresh install (but if anyone can tell me pressing the upgrade button will work smoothly I would do that). 

However, assuming a fresh install, I have the following queries:

I did a lot of editing to the stylesheet way back when I first built it. How different is the stylesheet in 1.3.3, because I noticed previous upgrades didn't change it much. Is it possible I can just replace it with my original, edited version?

Can I simply export my products and media and then import them straight to the 1.3.3 site? Ditto previous orders and customers.
I also have a couple of paid extensions. Since it's the same domain name, I'm assuming that would all be ok with a fresh install.

Also, does the new version have an easy way for uploading to Google Shopping and FB shopping? From what I've seen it doesn't have this option

Any help or opinions on the process is much appreciated.

Thank you in advance.
I briefly enabled twilio just to see what it was about, then I disabled it and set the IM back to default 'no im driver found'message. I know twilio is an SMS service, not email,  but when I do test orders no emails came through to either customer or admin (the order went through ok in the store though), and it came up with an immediate 'critical error' notice, as follows:

Cannot send notification. Communication driver default_twilio is disabled!
Trace: #0 /home/www/domainname/core/lib/im.php on line 335 #1
/home/www/domainname/storefront/model/account/customer.php on line 190 #2 /home/www/domainname/extensions/fast_checkout/storefront/model/extension/fast_checkout.php on line 62 #3 /home/www/domainname/extensions/fast_checkout/storefront/controller/responses/checkout/pay.php on line 1072 #4 /home/www/domainname/extensions/fast_checkout/storefront/controller/responses/checkout/pay.php on line 954

I don't want twilio, so I deleted it entirely but it hasn't stopped the error (also cleared cache).
My mail settings are correct - I just use the default mail (not smtp) and I have a working email address attached to the store. It is not sending the customer email or the admin emails. I do think it's related to that extension, as it calls it the 'default communication'. Even though I disabled it (which should have reversed any changes twilio made) and then went on to delete it after receiving errors, it must have overrode a file somewhere.


General Support / SEO url issue - updated
« on: April 16, 2022, 08:22:18 AM »
I found a work around for the 412 error previously mentioned. It just didn't like it when there was a - (dash) in the title of the product, so I manually remove the dash in the seo keyword section of the admin product page. Usually I just let it self generate.

 However, now I've added products they keep going to THE PAGE YOU REQUESTED CANNOT BE FOUND! as the URL says this: 

It only works if I manually change the URL to read like the seo url should

Or if I turn off SEO urls it all works fine, but I would rather have them working.

I have contacted my host, and they directed me to go back to the developer. I have also tried turning off mod-security and it doesn't appear to make a difference. 
I double checked the .htaccess, and it all appears good, when I compare it to the .htaccess in 1.2.16 ..
Are there other files I should check?

Could I have accidentally stuffed something up - I've changed a couple of minor details in a couple of .tpl files, and otherwise only changed things in the stylesheet.

The version of PHP I had was a bit low, I had it set at 7.1.  I've set it at 7.3 which is the minimum for 1.3.2 although I have higher options. Since the 1.2.16 site is working and hosted on the same account I am cautious about changing things the sites share.

As mentioned previously, the 1.2.16 version I use on a different domain has SEO urls working perfectly, with the same host. It also doesn't care if there is a dash in the title, I usually just use the 'generate seo' option for this reason.

I would love to get them working - not just for the SEO advantage, but because I think they look more professional.

General Support / 412 Error
« on: April 13, 2022, 10:22:26 AM »

Thanks in advance for advice. The site I'm building is not yet complete, but I have noticed an issue I want to iron out before going live.
This site uses abantecart version  1.3.2

Every now and then I get a 412 error. So far tested on chrome/desktop, firefox/desktop and chrome/phone

The error is when the link shows as follows: 

However, it sometimes goes through just fine when the url is as above.

It always allows it to go through (even after throwing the error) when I alter the url to be like this:

I have SEO URLS turned on.
I have renamed the .htaccess.txt to .htaccess. I have added a little code at the end to force it to https. But otherwise have not altered it at all.

I do not have this error in my other abantecart site which runs smoothly, and uses 1.2.16.

The exact error is copy and pasted below

412 Error
Your request got filtered out due to possible security issues.

One or more things in your request were suspicious (defective request header, invalid cookies, bad parameters)

If you think you did nothing wrong:

try again with a different browser
avoid any evil characters inside the request url
If you are the owner of the website, you can consider revising the rules of the mod_security module or turning it off from your Web Hosting Control Panel.

Should I turn off the mod_security module? And how do I do that?

Thanks again. Australia time zone here, so I'm overdue for sleep. Will check replies in the morning.

I have two abantecart stores, one with the version 1.2.16 and the other is version 1.3.2 .. this is an issue on both of them. The former has been a site up and running with no issues for a couple of years.
Using the system>appearance settings, changing the image size works for everything except the product page.

So the particular settings are:

Product Image Thumb Width:
Product Image Thumb Height:

I want to change the image to 500px x 500px.
I'm guessing somewhere in the CSS there is a command that keeps it at the default (I'm using default template) but I can not find where it is.

If anybody could point me to the correct area in the style file I'd appreciate it. Also - if I change it to a larger size, will it still automatically downsize if people are using a phone, or will I have to do something in the bootstrap file/somewhere else?

Thank you in advance. 

Hi - I have my store set to hide items once they are sold, as I'm selling individual/unique products.

When someone clicks on a link that goes to a sold/hidden product it currently says 'product not found'

I'd like to change that text to mention product has been sold, and link to my home page.  I have tried storefront>language>product>product.xml  where I found text 'product not found' but despite clearing cache no changes are showing. Not sure this is the right spot, and have searched other language pages but can't find any where else with that text.

Any ideas?

Thank you all.

Customization help / Detect country/geolocation
« on: November 30, 2020, 07:04:44 PM »
I can't find anywhere this can be done. I have my store based in Australia, but I intend to have a domain for the US and the UK (.com and respectively). As these will each have their own base currency, multistore doesn't suit (according to abantecart changing the base currency converts it in every store). So I would like each site to detect the geolocation of the user, and if they are not in that store's country, they will then have the choice to stay or go to the site that is dedicated to their own country, via a pop up with linked url.
Has anybody managed to do this, or is there an extension I've missed that is compatible with abantecart?
Thanks in advance.

Initially when I installed abantecart - newest version - everything has worked really well and I was able to quickly add and edit products without an issue.
Until it started randomly throwing an error every time I edited a section of a new or existing product. 

The error is: Cannot establish database connection. Check your database connection settings. in /home1/mysitename/public_html/core/database/amysqli.php on line 54

Initially the error only showed on admin side, but now it causes the front end to temporarily disconnect to. It usually comes back live after a few minutes, with or without cookie/cache clearing.

I honestly can not find any reason - I haven't changed any core files nor done any updates since installing this year.  I can't even load the admin login page after I do it for a while.

The only thing I can think is the timeout in that section of amysql is 60seconds, but it isn't anywhere close to 60 seconds when it throws the error.

Terrible timing, as I have an existing customer base from another project I was just introducing this site to today and tomorrow and now I can't do a few tweaks I really wanted to do, as it keeps taking the whole site offline (so unprofessional).  Another issue, that may or may not be connected - sometimes the admin security time out is very short and I have to re-login every few minutes. No error, just logs me out.

Or there's a possible conflict with new paid extensions (bought from abantecart official marketplace)? Does this happen? They are meant to be compatible with my version of abantecart. 

Any advice would be so appreciated.

From the admin side...

It would be helpful for design purposes. 

Sometimes I'd like to have something on the left hand column on desktop, but I don't want mobile or tablet users to have to scroll through it before getting to the main content.
There's such a disparity in display between a wide screen desktop set up and a mobile device.

As an aside, I think the title for the block (that shows in the front end) shouldn't be required by default, not every bit of html needs a title.

Templates / Main menu - Mobile View
« on: June 11, 2019, 11:13:08 PM »
I only require the main menu (the top one: account | cart | checkout) on desktop view. 

The responsive view brings it down to a drop down 'main menu' and further scaling down gives the classic hamburger view - but I do not need either of these.
 The category menu is also responsive and has 'Go to..' which allows access to account | cart |checkout, making the responsive main menu superfluous (except on desktop.)

I have tried deleting code in custom.js / header.tpl based on an answer to a similar question posed in 2016.  The code had changed a bit, but it was still fairly obvious which bits related to the menu.  However, it didn't remove the menu from mobile view unfortunately, nor seem to affect it in any way. 

Any help would be greatly appreciated.

Pages: [1]

Powered by SMFPacks Social Login Mod