User Info

 
 
Welcome, Guest. Please login or register.

Vote

  • which one?
  • Dot Inception
  • 3 (75%)
  • Dot The Dark Knight
  • 1 (25%)
  • Dot Dunkirk
  • 0 (0%)
  • Dot Memento
  • 0 (0%)
  • Dot The Prestige
  • 0 (0%)
  • Total Members Voted: 4
  • View Topic

Who's Online

  • Dot Guests: 3
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Top Poster

Aswin
223 Posts
sundar sundar
86 Posts
Mathesh
47 Posts
Ganesh$
32 Posts
Rajajairam
19 Posts

Board Stats

  • stats Total Members: 16
  • stats Total Posts: 426
  • stats Total Topics: 376
  • stats Total Categories: 12
  • stats Total Boards: 56
  • stats Most Online: 328

Theme Select



Forum Default

Permanently
sundar
June 05, 2021, 07:27:43 AM by sundar
Views: 11 | Comments: 0


My developer used this code to add to cart and buy now button after check availability shipping location, add to cart button working fine if its out of stock means button disabled but for buy now button its enabled even if its in out of stock,kindly some one help me to fix this one


here the html code we used


 
Code: [Select]


    <div class="add-to-cart">
          <form action="{Context::getContext()->link->getPageLink('cart')}" method="post" class="add-to-cart-or-refresh">
                     <input type="hidden" name="token" value="{Tools::getToken(false)}">
                     <input type="hidden" name="id_product" value="{$product.id}" class="product_page_product_id">
                     <input type="hidden" name="qty" value="1">
                     <button class="btn btn-primary add-to-cart" id="disabledCartAttr" data-button-action="add-to-cart" type="submit" {if $product.quantity < 1 || !$product.add_to_cart_url}disabled{/if}>
    <i class="fa fa-shopping-cart" aria-hidden="true"></i>
    <span>{l s='Add to cart' d='Shop.Theme.Actions'}</span>
    </button>
   
      {if isset($static_token)}
                        <div id="buy_now" class="buy_now" >
    <a id="buy_now_attr" class="button buy_now_button btn btn-default" href='{$link->getPageLink("cart", false, NULL, "add=1&id_product={$product->id|intval}&token={$static_token}", false)|escape:"html":"UTF-8"}' rel="nofollow" title="{l s='Buy Now'}" data-id-product="{$product->id|intval}"  onclick="this.href = this.href+ '&qty='+$('.buy_now_button').closest('form').find(document.querySelector('#quantity_wanted').value).selector + '&ipa='+  $('.buy_now_button').closest('form').find(document.querySelector('#idCombination').value).selector;" ><span>{l s='Buy Now'}</span></a>
                           
                        {else}
    <a id="buy_now_attr" class="button buy_now_button btn btn-default" href='{$link->getPageLink("cart", false, NULL, "add=1&id_product={$product->id|intval}", false)|escape:"html":"UTF-8"}' rel="nofollow" title="{l s='Buy Now'}" data-id-product="{$product->id|intval}" onclick="this.href = this.href+ '&qty='+$('.buy_now_button').closest('form').find(document.querySelector('#quantity_wanted').value).selector + '&ipa='+  $('.buy_now_button').closest('form').find(document.querySelector('#idCombination').value).selector;" ><span>{l s='Buy Now'}</span></a>                       
                    <>
                        {/if}
                    </form>
        <>
    <>


and the java script we used


   
Code: [Select]
<script>
    $(document).ready(function(){
           setTimeout(function(){
    if(document.querySelector('#disabledCartAttr').disabled) {
    $('#buy_now_attr').addClass("disabled");
    }
   
    if(document.querySelector('#disabledCartAttr').disabled) {
    $('#buy_now_attr').removeClass("disabled");
    }
            }, 1000);
    $('#check_zipcode').click(function() {
    setTimeout(function(){
    if(!document.querySelector('#disabledCartAttr').disabled) {
    $('#buy_now_attr').addClass("disabled");
    }
   
    if(!document.querySelector('#disabledCartAttr').disabled) {
    $('#buy_now_attr').removeClass("disabled");
    }
    }, 1000);
    });
   
     });
   
   
    </script>
June 02, 2021, 04:13:59 PM by Aswin | Views: 5 | Comments: 0



Call of Duty: Mobile is  developed by Timi Studios and published  by Activision for Android and iOS. Released on 1 October 2019, the game saw one of the largest mobile game launches in history, generating over US$480 million with 270 million downloads within a year. The game was published in other regions by Garena , Tencent Games, and VNG Games.

Multiplayer

Players can choose to play ranked or non-ranked matches in multiplayer mode. It has two types of in-game currencies: "Credits", which are earned through playing the game, and "COD Points", which have to be bought with real world money. It is possible to play the full game without paying, though some exclusive character and weapon skins can only be bought with COD Points. Apart from standard matchmaking, a private room for both the multiplayer and battle royale modes can also be accessed where players can invite and battle with just their in-game friends.
The multiplayer mode is the basic first person shooter, similar to previous Call of Duty games on other platforms along with old maps. The core game modes include Team deathmatch, Free for all, Kill confirmed, etc. The game also have "Scorestreaks", which are special weapons that are available as the player reaches certain times and points.

Battle Royale

The game also includes battle royale modes featuring up to 100 players. A player can choose to play alone, on a two-man team, or in a four-man squad. At the start of a game, all players choose an ability from healing to making a launch pad. Once all 100 people are ready, they get aboard a plane that flies in a straight line over the map. This flight path changes every game. Every team is automatically given a jump leader who decides when and where the team will land.
At the beginning of the game, each player carries only a knife. The map is strewn with weapons, vehicles, and items which players can use to improve their chances of killing enemies while staying alive themselves. The safe zone on the map shrinks as the game progresses, with players who remain outside the zone being killed. A team wins the game if they are the last one remaining. There are also limited time modes like Battle Royale: Blitz, Battle Royale: Alcatraz which are squad based games with only 40 players, with the exception being Snipers only, where only pistols and snipers/marksman rifles are available with 100 players in the match.

This game includes different weapons which we have not used in other games. The graphics and gameplay are good. If you want to play Battle Royale game you can try this.

Sent from my SM-J810G using Tapatalk

sundar
May 31, 2021, 08:10:28 PM by sundar
Views: 14 | Comments: 0

In version 8.3 go to your template, I am using the "twentyone" template. Access your footer.tpl and paste this on line 1.


Code: [Select]
<script type="text/javascript">$("p:contains('Powered by')").remove();$('#page');</script>
sundar
May 29, 2021, 01:16:39 PM by sundar
Views: 10 | Comments: 0


Now this method working but have to comment the line locate under standard_cart/configuredomains.tpl

Have to comment these line



Code: [Select]
  <!--      {foreach from=$domain.fields key=domainfieldname item=domainfield}
                        <div class="form-group row">
                            <div class="col-sm-4 text-sm-right"">{$domainfieldname}:<>
                            <div class="col-sm-8">{$domainfield}<>
                        <>
                    {/foreach}


                {/foreach}


                {if $atleastonenohosting}


                    <div class="sub-heading">
                        <span class="primary-bg-color">{$LANG.domainnameservers}</span>
                    <>


                    <p>{$LANG.cartnameserversdesc}</p>


                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label for="inputNs1">{$LANG.domainnameserver1}</label>
                                <input type="text" class="form-control" id="inputNs1" name="domainns1" value="{$domainns1}" />
                            <>
                        <>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label for="inputNs2">{$LANG.domainnameserver2}</label>
                                <input type="text" class="form-control" id="inputNs2" name="domainns2" value="{$domainns2}" />
                            <>
                        <>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label for="inputNs3">{$LANG.domainnameserver3}</label>
                                <input type="text" class="form-control" id="inputNs3" name="domainns3" value="{$domainns3}" />
                            <>
                        <>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label for="inputNs1">{$LANG.domainnameserver4}</label>
                                <input type="text" class="form-control" id="inputNs4" name="domainns4" value="{$domainns4}" />
                            <>
                        <>
                       <div class="col-sm-4">
                            <div class="form-group">
                                <label for="inputNs5">{$LANG.domainnameserver5}</label>
                                <input type="text" class="form-control" id="inputNs5" name="domainns5" value="{$domainns5}" />
                            <>
                        <>
                    <> -->
May 27, 2021, 07:42:39 PM by Ganesh$ | Views: 14 | Comments: 0

https://hosting.s4talk.in/index.php?rp=/store/web-hosting

Sent from my SM-A505F using Tapatalk

Pages: [1]
SimplePortal 2.3.7 © 2008-2021, SimplePortal