Show Posts


Topics - Sam_78

Pages: 1 [2] 3 4 ... 7
16
General Support / payPal standard success page redirect
« on: August 17, 2022, 11:11:39 PM »
Hi I am working on writing orders on third party site and I have implemented a function which works on Cheque / Money Order payment extension but it is not working on default_pp_standart extension.  My function is in storefront\controller\pages\checkout\success.php 

inside 
class ControllerPagesCheckoutSuccess extends AController
{
    public $data = array();
    public $errors = array();

    public function main()
    {

/*my custom function */

Can someone please tell me why it is not working after payPal redirects to success page??

is there someplace else where I can call that function??

17
General Support / disable auto update check
« on: July 11, 2022, 09:26:26 AM »
Hi,  we have made a custom abanteCart version for client and they clicked on update in production and our custom code was gone. We had a backup and restored it but what function can I comment so that abanteCart doesn't check for update or it doesn't popup in notification.

18
General Support / NEW Chrome update about CORS
« on: June 14, 2022, 10:27:34 AM »
Hi,

Does anyone have an idea where to update this https://developer.chrome.com/blog/private-network-access-preflight/  I am getting errors in browsers for some images which are on the same server and on refresh that error goes away

error example : has been blocked by CORS policy: Request had a target IP address space of `unknown` yet the resource is in address space `unknown`.
Image is on the same server

How or where to set this ? Access-Control-Request-Private-Network: true

19
General Support / turn OFF products with no image
« on: May 25, 2022, 10:10:06 PM »
Hello, can someone tell me if there is any easy way to turn off a product if there is no image. We have a team of people who puts product another person adds image to it and in latest product block it appears without image so it there a small code edit that I can do to achieve this? I can also hide the product if there is no image I am looking for an easy solution

Thanks

20
General Support / Bitcoin extension
« on: May 10, 2022, 06:47:56 PM »
Hello,

is there any Bitcoin payment extension for USA ? I bought this one https://marketplace.abantecart.com/bitcoinpay_payment  but it doesn't allow US people to create account. I need any extension that allows US accounts so I can accept Bitcoin on my website

21
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


22
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

 

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


24
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

25
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();
}

26
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

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

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

29
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

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

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

Powered by SMFPacks Social Login Mod