Show Posts

Topics - Sam_78

Pages: [1] 2 3 ... 5
General Support / Validate Zip code
« on: November 05, 2021, 11:05:02 AM »

On customer registration form I need only 5 digit numeric value from customer but customers are able to put some big random email address in that field. Is there any validation from backend side that can stop this? I have added this code on submit click but still I don't understand how are they able to enter it.

Code: [Select]
$('#AccountFrm_postcode').attr('maxlength', '5');
$("#AccountFrm_postcode").on("keypress keyup blur",function (event) {   
    $(this).val($(this).val().replace(/[^\d].+/, ""));
    if ((event.which < 48 || event.which > 57)) {
var zipCode = $('#AccountFrm_postcode').val();
if(zipCode.length < 5){
alert("Please enter 5 digit Zip Code");

General Support / Free product with purchase
« on: October 26, 2021, 04:46:31 PM »
Hi, is there any setting or extension that can help me.

Scenario 1 : If customer adds product A to cart then product B should be automatically added at $0.00.
Scenario 2 : If customer adds Products C to cart than Product D should be added to cart at 50% off.
Scenario 3 : If customer adds Product E to cart than prices of Product F, G and H should be reduced by 25% but customer needs to add them manually. I can create a new block for these Product F, G and H but I don't know how I will be able to take them there once they add Product E.

Can someone help or guide me in right direction.


General Support / Extension : JSON-LD for Structured Data
« on: September 27, 2021, 02:56:35 PM »
Hi, is there any extension that creates JSON structured Data like this

We have product pages and few content pages so it should be dynamic.

General Support / Validation
« on: May 19, 2021, 11:53:47 AM »
I installed V 1.13 and on create account page how can I add validation for Zip code to accept only numbers and limit 5 digits only
I can do this via Jquery in create.tpl but is there any other way to do this without editing code ? Same for phone number and other fields.

General Support / Notify When product will be back in stock
« on: November 10, 2020, 09:47:13 AM »
Hi I am looking for an extension that would show some product out of stock but customer can enter their email address and get a notification when product is available. I believe there is some extension but I am having hard time finding it. Can someone help me find that extension

Opinions / Suggestion to render latest CSS
« on: March 18, 2020, 09:29:55 AM »
Hi Developers,

I have a suggestion for some CSS and JS file that customers doesn't have to clear cache when they make changes to it.
You can add a flag (toggle button) in system->setting somewhere and if it is turned ON then update the code so that it adds current time stamp every time it refreshes
<link href="<?php echo $this->templateResource('/stylesheet/style.css') . "?v=" . date("YmdHis"); ?>" rel="stylesheet" type="text/css">
Once users are done testing their changes they can simply turn OFF that button and then timestamp will be removed something similar as what you already have for if($faster_browser_rendering == true) { .. }
I am a developer and I use this so I don't have to clear cache explicitly after every change and once I am done I can simply turn it OFF

This is just a suggestion as I know it will slow down rendering css / js file but user can turn it ON and OFF.

General Support / status change emails not being BCC's
« on: January 29, 2020, 11:53:00 AM »
When I change order status of customer from pending to processing and select notify customer it doesn't send BCC to all other emails who should be getting alert emails.
I have 2 other emails added to system->setting->mail (Additional Alert E-Mails also alert email is turned ON) they do get new order emails but no emails for status changes. We want to see what exact email was sent to customer and to keep in our record thats why.

General Support / Contact US form is not sending all data.
« on: January 17, 2020, 03:10:24 PM »
I have a contact us form where customer enters their firstname, lastname, inquiry, email and phone number and they all are compulsory but when we get email it only comes with last name, inquiry and phone number I also need email and firstname.
All those fields are compulsory and I have checked it on my form it says controller Contact us page. Same issue with the email we get when someone fills out contact us for we don't get other details.

General Support / Zip code min length
« on: January 03, 2020, 11:07:27 AM »
Hi is there any setting where I can set that zip code should be 5 characters only
I am doing it using $('#AccountFrm_postcode').attr('maxlength', '5'); but a customer entered 4 digit instead of 5 and registration went through
So is there any validation setting or a better way to do this ? or should I handle it through JQuery only ?

General Support / Extension not getting installed
« on: December 03, 2019, 05:52:13 PM »
Hello I have downloaded and it shows it was developed by AbanteCart
I have downloaded it but I am not able to install it when I copy paste the folder in extension folder and go to my admin -> extension I don't see it there. I tried to install it by uploading .tar.gz file and then when I try to install it - it throws this error
2019-12-04 4:17:58 - warning: AbanteCart core v.1.2.11 unlink(C:/xampp/htdocs/folder/admin/system/backup/avatax_integration_2019-12-04-04-17-34.tar): Permission denied in <b>C:\xampp\htdocs\folder\core\helper\utils.php</b> on line <b>768</b>
2019-12-04 4:17:59 - App Error: AbanteCart core v.1.2.11 in C:\xampp\htdocs\folder\core\lib\package_manager.php on line 641

I see two files being copied in admin\system\backup folder one is .tar and another one is .tar.gz  no other error in error log just this two

Any solution ??

General Support / Shipping Question
« on: November 11, 2019, 10:24:49 AM »
Hi everyone,
I have enables two shipping extensions one is for free shipping over 99$ and another is flat rate shipping and they both work fine. But I have a special product which requires shipping compulsory as it is big.
So if product A is added to cart shipping should be $10.00 doesn't matter if total is above 99$

so I read That I can turn ON Ship Product Individually and add Fixed Shipping Price to $10.00 but it is not working

Right now I have flat shipping $8 below 99$ so if a customer has random product for 50$ and product A then shipping cost is $18 (below $99 shipping cost + $10 for Product A) and now if Cart total goes over $99 shipping cost goes to $0.00
I want is if product A is in cart shipping should be $10.00 period

Any idea why? I have cleared both the caches several times AbanteCart V 1.2.11

General Support / PayPal Payments Pro extension throwing error
« on: October 24, 2019, 02:22:24 PM »
Hi I want to use PayPal Payments Pro extension so that all my credit card and Paypal both can be managed at same place. I have inserted my API Credentials  and tested it. 
I see "Connection is successful and API Credentials are configured correctly.  " now when I go to cart and try to make a payment via credit card I get this error " This transaction cannot be processed. The merchant's account is not able to process transactions."

extension version 1.0.2
AbanteCart version 1.2.12

I used extension but now I want to use paypal pro and get rid of

General Support / Images not found
« on: October 24, 2019, 09:45:12 AM »
Hi I ran into a strange problem. My site was up and running until yesterday and this morning all the product images are gone it throws 404 resource not found. When I go to Cpanel I can see that they are there but whem I hit the url  instead of showing me image it goes to my site and displays " THE PAGE YOU REQUESTED CANNOT BE FOUND!"

Strange this is permission to folder image is 755 thumbnails is 755 18 is 755 folder 91 is also 755 and image itself is 777
Now I am able to see logo as it comes from resource folder and permission over there is also same

No error in error log.

Can someone guide me my site is down no product images are being displayed not even on product page.

my store url are same I have not changed it and nothing was changed on serve as /resource folder is displaying images 

General Support / suggestion for login | register text
« on: October 08, 2019, 11:18:49 AM »
I think there is some issue with session or cookie. I was able to reproduce this with v 1.2.11 , 1.2.13, 1.2.15
when user is logged in and made a purchase but then he/she forgets to log out and our site is open in one of the tab. When they open it next day they still see themselves as logged in 'Welcome Back UserName' but when they actually add product to their cart it asks them to sign in again.
I believe the cookie expires but can this be done by ajax so that its not confusing. If it shows them message on top saying 'Welcome Back UserName' and then asking them to sign in. As they can hover on it and see all the options that are there for signed in user like 'log off', 'account dashboard' etc.

General Support / .htaccess redirect issue with directory listing
« on: August 22, 2019, 05:47:20 PM »
Hi I have started a new project but I am having issue with .htaccess or directory listing.
when I installed AbanteCart for the first time it was showing me directory list. I contacted host and they suggested me to add .htaccess files so I installed Abantecart by going to and everything works fine. but when I click on logo or go to home page which is it says page not found. My .htaccess is same as here no changes. I have enabled SEO url as mentioned here

Right now my site works if I add /index.php but I don't want that I want it to work at

I am not able to understand why it says page not found on home page. My link in store details is for both

Pages: [1] 2 3 ... 5

Powered by SMFPacks Social Login Mod