Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • R

      Broken Image & Logo in Bagisto with causes and solutions?
      Bug Report • • rahul

      51
      2
      Votes
      51
      Posts
      22434
      Views

      sanjay-webkul

      @denish
      If still you are getting the same issue

      Please run this command for the product service provider only

      php artisan vendor:publish --force
    • M

      which controller contain customer login logic on bagisto v1.5.1 ?
      Bug Report • • mindwebtree

      50
      0
      Votes
      50
      Posts
      4342
      Views

      A

      Hi @mindwebtree,

      We are using this to call the logo in the mobile version of Bagisto.

    • R

      loader at checkout form
      General Discussion • • Rahul74

      47
      0
      Votes
      47
      Posts
      6610
      Views

      devansh-webkul

      Hi @rozysharma2,

      In master that is fixed when web vital work is done and that PR is very huge.

    • S

      Velocity css file
      General Discussion • • Shirah

      30
      0
      Votes
      30
      Posts
      5747
      Views

      L

      công ty công nghệ đại phú ông chuyên cung cấp các dịch vụ quảng cáo facebook trọn gói

    • Y

      How To Create Package ?
      General Discussion • • youssefboudaya

      29
      0
      Votes
      29
      Posts
      5612
      Views

      R

      Hi

      May I suggest that you create a 'bolier-plate' for a new package and put it on github, I'm sure that it would help a lot.

      Thanks

    • Y

      How to include script and css file in payment.blade.php
      Modules • • yousuf

      29
      0
      Votes
      29
      Posts
      8396
      Views

      R

      Hi @yousuf

      Instead of Writing whole form, css and js in single page,. is giving error. So what we can do is that we can use them separately.

      We are already fired two different event 'bagisto.shop.layout.head' and 'bagisto.shop.layout.body.after' from our master file, so we will use this event to add our css and js file.

      As we told earlier how to do this, we will follow same procedure.

      For JS

      \Event::listen('bagisto.shop.layout.body.after', function($viewRenderEventManager) { $viewRenderEventManager->addTemplate('type-hint::folder1.folder2.file-name'); });

      Now put this code in your js file (This JS code is mentioned above), we did some small changes.

      <script> eventBus.$on('after-checkout-payment-section-added', function() { $(document).ready(function() { // Create a Stripe client. var stripe = Stripe('pk_test_TYooMQauvdEDq54NiTphI7jx'); // Create an instance of Elements. var elements = stripe.elements(); // Custom styling can be passed to options when creating an Element. // (Note that this demo uses a wider set of styles than the guide below.) var style = { base: { color: '#32325d', fontFamily: '"Helvetica Neue", Helvetica, sans-serif', fontSmoothing: 'antialiased', fontSize: '16px', '::placeholder': { color: '#aab7c4' } }, invalid: { color: '#fa755a', iconColor: '#fa755a' } }; // Create an instance of the card Element. var card = elements.create('card', {style: style}); // Add an instance of the card Element into the `card-element` <div>. card.mount('#card-element'); // Handle real-time validation errors from the card Element. card.addEventListener('change', function(event) { var displayError = document.getElementById('card-errors'); if (event.error) { displayError.textContent = event.error.message; } else { displayError.textContent = ''; } }); // Handle form submission. var form = document.getElementById('payment-form'); console.log() form.addEventListener('submit', function(event) { event.preventDefault(); stripe.createToken(card).then(function(result) { if (result.error) { // Inform the user if there was an error. var errorElement = document.getElementById('card-errors'); errorElement.textContent = result.error.message; } else { // Send the token to your server. stripeTokenHandler(result.token); } }); }); // Submit the form with the token ID. function stripeTokenHandler(token) { // Insert the token ID into the form so it gets submitted to the server var form = document.getElementById('payment-form'); var hiddenInput = document.createElement('input'); hiddenInput.setAttribute('type', 'hidden'); hiddenInput.setAttribute('name', 'stripeToken'); hiddenInput.setAttribute('value', token.id); form.appendChild(hiddenInput); // Submit the form form.submit(); } }) }) </script>

      For CSS

      We will again follow the same procedure.

      \Event::listen('bagisto.shop.layout.head', function($viewRenderEventManager) { $viewRenderEventManager->addTemplate('type-hint::folder1.folder2.file-name'); });

      Paste this one in your css file.

      <style> .StripeElement { box-sizing: border-box; height: 40px; padding: 10px 12px; border: 1px solid transparent; border-radius: 4px; background-color: white; box-shadow: 0 1px 3px 0 #e6ebf1; -webkit-transition: box-shadow 150ms ease; transition: box-shadow 150ms ease; } .StripeElement--focus { box-shadow: 0 1px 3px 0 #cfd7df; } .StripeElement--invalid { border-color: #fa755a; } .StripeElement--webkit-autofill { background-color: #fefde5 !important; } .form-row { background: red; } </style>

      We have already did following one with form so we don't need to do it here.
      Right now our stripe's form, css & js is loading using three different event,

      Try this solution and write to us if you found any difficulty to implement it.

      Thanks

    • R

      issue in live server
      General Discussion • • Rahul74

      28
      0
      Votes
      28
      Posts
      4614
      Views

      V

      Hi @yeshi74
      No worry, you can contact your hosting support team, they will install the nodej10.

      Thanks

    • D

      How to get started with creation of new payment gateway?
      Knowledge Base • • Deepanjali

      28
      0
      Votes
      28
      Posts
      5634
      Views

      W

      for payu this extension works https://wontonee.com/bagisto-payu-integration-manual/

    • S

      Product images are not coming!! Tried all cache commands and .env app_url changes
      Knowledge Base • • Simran

      28
      0
      Votes
      28
      Posts
      8978
      Views

      S

      @nmach duck life
      it's works for me.

    • W

      bagisto on tablet : products images becomes flatten
      General Discussion • • William Hatanaka

      28
      0
      Votes
      28
      Posts
      3743
      Views

      sanjay-webkul

      Hi there,
      Please raise a ticket Here, i need to check on your system.

    • M

      SES configuration not working in 1.1.2
      Bug Report • • mikeyapina

      27
      0
      Votes
      27
      Posts
      6580
      Views

      V

      @mikeyapina
      you may create ticket to our support team https://bagisto.uvdesk.com/en/customer/create-ticket/ as we can't check with out having all the privilege.. kindly raise the ticket in the provided link or share your server FTP/SFTP credentials along with SES credentials.

    • K

      Is it possible to integrate Razorpay Payment Gateway in Bagisto E-Commerce?
      Knowledge Base • • Keerthi

      26
      0
      Votes
      26
      Posts
      8502
      Views

      W

      for razorpay you can use this https://github.com/wontone18/razorpay-payment-gateway-bagisto-laravel. It currently support manual checkout process.

    • M

      Issue regarding homepage slider size and also changing of velocity theme color
      General Discussion • • Mianarshan

      26
      0
      Votes
      26
      Posts
      4531
      Views

      V

      @Mianarshan
      firstly for broken image in gmail message body, you need to allow external images and content type from the gmail settings

      Screenshot_31.png

    • Z

      How to set 'Buy now' button along with Add to card button?
      Knowledge Base • • Zakir

      26
      0
      Votes
      26
      Posts
      5521
      Views

      V

      @parasbhadauria63
      Well, the error showing on the console will affect your project.
      if you still want to fix this refer to these changes https://github.com/bagisto/bagisto/issues/4317

      Google/facebook login integration is not related to this error, you just need to setup the app's valid client_ID or client_secret keys in .env file
      you may also refer to this guide https://bagisto.com/en/social-login-for-bagisto/

      I hope this will help you.
      Thanks

    • S

      Illuminate \ Contracts \ Container \ BindingResolutionException Target class [encrypter] does not exist. Previous exceptions Class encrypter does not exist (-1)
      Bug Report • • shanavas

      25
      0
      Votes
      25
      Posts
      7053
      Views

      S

      Please share your instance show that I can look into it.

    • A

      Get products and redesign the card
      General Discussion • • adebayoade

      25
      0
      Votes
      25
      Posts
      3751
      Views

      A

      @admin In package/velocity folder. I created a new product card in *packages\Webkul\Velocity\src\Resources\assets\js\UI\components* and registered it in packages\Webkul\Velocity\src\Resources\assets\js\app.js. Please check the screenshot for error after running the command npm run watch.
      5c71707e-82b9-4c08-9a60-032216b70a33-image.png

    • J

      REST APi connection ERROR 404
      General Discussion • • jamme

      25
      0
      Votes
      25
      Posts
      1291
      Views

      P

      For anyone looking for this error, in my case.
      The url is : https://bagisto.test/api/shop/documentation
      Not : https://bagisto.test/public/api/shop/documentation
      oh my lore 😞

    • J

      how to add category wise filter
      Knowledge Base • • joan

      25
      0
      Votes
      25
      Posts
      3262
      Views

      ashish2409

      @moncherry29 said in how to add category wise filter:

      $qb->havingRaw('COUNT(*) = ' . count($attributes));

      Hello there,

      You can check V2.1.2 , there are many changes and its the stable version you can check the details here as well.

      https://github.com/bagisto/bagisto/blob/v2.1.2/packages/Webkul/Product/src/Repositories/ProductRepository.php

      I would suggest to go and check here as well.

      Thanks.

    • S

      Getting error after run the "php artisan migrate"
      Installing Bagisto • • sanjana singh

      24
      0
      Votes
      24
      Posts
      5239
      Views

      Georgiaava

      When I run: php artisan migrate I get the following error PDO Exception SQL STATE Access denied for user 'homestead' localhost'IF you want to make sure your database to be monkey type clean with your latest changes, you can drop your entire database tables and do php artisan migrate again. Also, you can try php artisan migrate --seed if you have any seeder

    • M

      Bagisto installation in cpanel grand problem
      Installing Bagisto • • mtande

      24
      0
      Votes
      24
      Posts
      8020
      Views

      R

      Hi @mtande

      Kindly see its requirement. - https://prnt.sc/qdkevj

      Thanks