Show Posts


Topics - Sam_78

Pages: 1 [2] 3 4 ... 7
16
General Support / Getting value of 'call_to_order' on product page
« on: March 12, 2022, 12:52:11 PM »
Hello,
I am using AbanteCart Version 1.3.0 and in \storefront\view\default\template\pages\product\product.tpl  I am not getting value for $product_info['call_to_order']  infact  if I do var_dump($product_info) all I get is array(1) { ["blurb"]=> string(0) "" }   Can someone guide me how can I pass all the values into product_info because I also see in product.tpl there are other values used which are not working $product_info['free_shipping'] && $product_info['shipping_price']

if I do var_dump($product_info); after this https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/product/product.php#L924  I am getting all the values correctly but not in \view\default\template\pages\product\product.tpl.

Thanks


17
General Support / Make Telephone required
« on: March 01, 2022, 04:04:59 PM »
Hi I need to make Telephone required field on edit page url = index.php?rt=account/edit
How can I make it so that it shows astrick(*) next to it and is compulsory

 

18
General Support / Paypal Standard add fees
« on: February 28, 2022, 10:56:59 AM »
Hello I am using AbanteCart 1.3.0 and I have a question about standard paypal extension.
Right now the extension is working fine but is there a way I can add 4% to all the paypal transactions so customer would pay that fees.


19
General Support / PHP and mySql version for 1.2.11
« on: January 31, 2022, 09:12:03 AM »
Hello,

I am using AbanteCart Version 1.2.11 and our hosting wants to upgrade php and MySql. We have lots of custom code so I can't simply upgrade abanteCart.
My question is have someone tried 1.2.11 with PHP 7.4 and mySQL 5.7 ? if not than what was the latest version y'all tried?

Thanks

20
General Support / Validate Zip code
« on: November 05, 2021, 11:05:02 AM »
Hello,

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)) {
    event.preventDefault();
    }
});
var zipCode = $('#AccountFrm_postcode').val();
if(zipCode.length < 5){
alert("Please enter 5 digit Zip Code");
event.preventDefault();
$('#AccountFrm_postcode').focus();
}

21
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.

Thanks

22
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

https://developers.google.com/search/docs/advanced/structured-data/generate-structured-data-with-javascript#custom-javascript

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

23
General Support / Validation
« on: May 19, 2021, 11:53:47 AM »
Hi,
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.

24
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

25
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 https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/common/head.tpl#L50 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.

26
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.

27
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.

28
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 ?

29
General Support / Extension not getting installed
« on: December 03, 2019, 05:52:13 PM »
Hello I have downloaded https://marketplace.abantecart.com/avatax_integration?keyword=ava&category_id=0 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 ??

30
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 https://abantecart.atlassian.net/wiki/spaces/AD/pages/14647413/Enable+Shipping 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

Pages: 1 [2] 3 4 ... 7

Powered by SMFPacks Social Login Mod