Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Modules
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • B

      How to show my new attribute in accordin like description?
      • bzay23

      4
      0
      Votes
      4
      Posts
      335
      Views

      devansh-webkul

      You can take reference from here,
      https://github.com/bagisto/bagisto/blob/b8e2fd04e6bc597df297b06893168e8b79e630d2/packages/Webkul/Admin/src/Resources/views/catalog/products/edit.blade.php#L75

    • B

      How to show product category names in product page??
      • bzay23

      7
      0
      Votes
      7
      Posts
      1038
      Views

      K

      @bzay23 said in How to show product category names in product page??:

      How to show product category names in product page

      function my_add_woo_cat_class($classes) {

      $wooCatIdForThisProduct = "?????"; //help! // add 'class-name' to the $classes array $classes[] = 'my-woo-cat-id-' . $wooCatIdForThisProduct; // return the $classes array return $classes;

      }

      //If we're showing a WC product page
      if (is_product()) {
      // Add specific CSS class by filter
      add_filter('body_class','my_add_woo_cat_class');
      }
      source: stackoverflow

    • J

      Problem with bagisto bulk upload
      • jaxuk

      4
      0
      Votes
      4
      Posts
      331
      Views

      J

      Here my csv, the component i try to upload with three checkbox are ISO.

      I want all of them to be check, but i make work with only one ISO

      https://easyupload.io/i8prua

    • J

      Problem with Checkout didn't load countries
      • jaxuk

      6
      0
      Votes
      6
      Posts
      1304
      Views

      devansh-webkul

      From your error, i am only able to see that something wrong with your tables or columns. Have you mistakenly added something anywhere?

      Please check and try to debug?

    • S

      Customize admin area
      • symbolica

      6
      0
      Votes
      6
      Posts
      975
      Views

      devansh-webkul

      Yes because configs are cached.

    • I

      Add Carousel component VueJS into Bagisto
      • isaac9

      3
      0
      Votes
      3
      Posts
      1135
      Views

      J

      I tried but I am facing following issue

      velocity-core.js:1 RangeError: Invalid array length
      at a.ge [as _l] (velocity-core.js:1)
      at a.render (velocity.js:1)
      at a.t._render (velocity-core.js:1)
      at a.hn.before (velocity-core.js:1)
      at hn.get (velocity-core.js:1)
      at new hn (velocity-core.js:1)
      at velocity-core.js:1
      at a.$n.$mount (velocity-core.js:1)
      at a.$n.$mount (velocity-core.js:1)
      at init (velocity-core.js:1)

      My component

      <template>
      <carousel
      :rtl="localeDirection == 'rtl'"
      :dir="localeDirection"
      :id="id"
      :navigationEnabled="true"
      :paginationEnabled="true"
      :perPage="parseInt(slidesPerPage)"
      :loop="loop == 'true' ? true : false"
      :autoplay="autoplay == 'true' ? true : false"
      :autoplayTimeout="timeout ? parseInt(timeout) : 2000"
      :autoplayDirection="'forward'"
      :class="[
      localeDirection,
      (navigationEnabled == 'hide') ? 'navigation-hide' : '',
      (paginationEnabled == 'hide') ? 'pagination-hide' : '',
      addClass
      ]">

      <slot v-for="index in parseInt(slidesCount)" :name="`slide-${parseInt(index) - 1}`"> </slot> </carousel>

      </template>

      <script type="text/javascript">
      export default {
      props: [
      'id',
      'loop',
      'timeout',
      'autoplay',
      'addClass',
      'direction',
      'slidesCount',
      'slidesPerPage',
      'localeDirection',
      'navigationEnabled',
      'paginationEnabled',
      ],

      data: function () { return {} }, methods: { slideClicked: function () { debugger } } }

      </script>

      My blade file code

      <?php
      $features=app('MiimModule\SafetyAndSecurity\Models\SafetyAndSecurity')::all();
      $banners=[];
      foreach($features as $feature)
      {
      // $banners[]=;
      $banners[]=asset('storage/safetyandsecurityimages/'.$feature->icon_url);

      }
      // echo '<pre>';print_r($banners);echo '</pre>';die();
      ?>

      <carousel-component
      direction="{{ core()->getCurrentLocale()->direction }}"
      default-banner="{{ asset('/themes/velocity/assets/images/banner.webp') }}"
      banners="{{ json_encode($banners) }}"
      perPage="{{ count($banners) }}"
      >

      @if(! empty($banners)) <img class="col-12 no-padding banner-icon" src="{{ $banners[0] }}" alt=""/> @else <img class="col-12 no-padding banner-icon" src="{{ asset('/themes/velocity/assets/images/banner.webp') }}" alt=""/> @endif

      </carousel-component>

      Please check my code and let me know my issue.

      Thanks

    • V

      bagisto bulk upload not reflecting on admin side
      • vaida.prateek28

      2
      0
      Votes
      2
      Posts
      773
      Views

      P

      We have updated the module now. You may find the option of bulkupload within the catalog section in admin menu.

      Note: We will also update the blog soon.

    • V

      This topic is deleted!
      • vaida.prateek28

      2
      0
      Votes
      2
      Posts
      16
      Views
    • A

      POS Installation i got error
      • ahmad92

      2
      1
      Votes
      2
      Posts
      200
      Views

      P

      Hello @ahmad92,

      Please raise a ticket on our support: Bagisto Support

      Thanks!

    • M

      Custom Product type
      • mikeyapina

      4
      0
      Votes
      4
      Posts
      604
      Views

      ghermans

      @ghenaweb said in Custom Product type:

      Hi,https://devdocs.bagisto.com/create_own_product_type.html returns 404 there is a new page ?

      Please try the following link https://devdocs.bagisto.com/1.x/advanced/create-product-type.html

    • S

      How to Override CartResource
      • suyashcyber94

      2
      0
      Votes
      2
      Posts
      297
      Views

      devansh-webkul

      You are already doing with the right approach and this does not impact your upgrade unless and until you are changing the package's structure.

      So, you need to handle the customization and also check the compatibility if you upgrade.

    • K

      Custom validation in custom payment method in admin
      • Khushbu

      4
      0
      Votes
      4
      Posts
      775
      Views

      devansh-webkul

      Hi @Khushbu,

      I can only suggest you the path on this so that you will get an idea of how the actual configuration works.

      Now, this is the place where validations are fetching,
      https://github.com/bagisto/bagisto/blob/2dbb988388bc480af4bc8e880caed500772cfbc7/packages/Webkul/Admin/src/Resources/views/configuration/field-type.blade.php#L10

      And these validations are bound with Vue validations. So you need to handle this also.

      And this is the method which you can override,
      https://github.com/bagisto/bagisto/blob/2dbb988388bc480af4bc8e880caed500772cfbc7/packages/Webkul/Core/src/Traits/CoreConfigField.php#L32

    • M

      I have implemented new payment method but the option is not displaying in admin.
      • minhaz

      2
      0
      Votes
      2
      Posts
      1761
      Views

      devansh-webkul

      Hi there,

      Please follow a single thread?

    • S

      How can I override a whole package like i want to override velocity package with my custom package
      • suchitra.singh98

      7
      0
      Votes
      7
      Posts
      3027
      Views

      devansh-webkul

      No need to do this as this will break the latest updates. Just create your own package and change the routes method to your new package controller where you want to update.

      For extra classes, you can change binding in the provider as well.

      And for the view portion, you can customize it in the resource folder or you can place it in your package and then publish it to the resource folder.

      There is no bagisto thing here. It is purely Laravel and OOPs concept based upon how you manage your code.

    • Y

      Forgot Password issue
      • yousuf

      10
      0
      Votes
      10
      Posts
      481
      Views

      sanjay-webkul

      Have you configured the details on theĀ .env file?

    • T

      Best practice for customizing API
      • tahiryasin

      2
      0
      Votes
      2
      Posts
      266
      Views

      sanjay-webkul

      Hi there,
      You can do changes on API's directly inside the vendor directory.

    • K

      Integrate Postfinance
      • kikyzaqaw

      5
      0
      Votes
      5
      Posts
      272
      Views

      sanjay-webkul

      Hi there, you can use the bagisto API's for intergrating the Postfinance, or you can can raise a quesy on bagisto facebook group.

    • A

      get category of product
      • Ahed

      5
      0
      Votes
      5
      Posts
      589
      Views

      N

      @Ahed ,
      will you please elaborate on exactly what you want?

    • R

      How to use standard UI elements
      • rabol

      1
      0
      Votes
      1
      Posts
      158
      Views

      No one has replied

    • A

      edit product table
      • abdalhadi

      2
      0
      Votes
      2
      Posts
      214
      Views

      sanjay-webkul

      Hi there,
      You can use product create after event listener for the same.
      Please take a reference from Here