News:

AbanteCart v1.4.3 is released.

Main Menu

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - yonghan79

#16
General Support / Re: Layout format
March 06, 2025, 10:10:56 AM
This is the default BS5 Main Page Carousel content. It is from AbanteCart v1.3.4 demo data.


<div id="mainPageSliderIndicators" class="carousel carousel-dark slide bg-light" data-bs-ride="carousel">
    <div class="carousel-indicators">
        <button type="button" data-bs-target="#mainPageSliderIndicators" data-bs-slide-to="0" class="active"
                aria-current="true" aria-label="Slide 1"></button>
        <button type="button" data-bs-target="#mainPageSliderIndicators" data-bs-slide-to="1"
                aria-label="Slide 2"></button>
        <button type="button" data-bs-target="#mainPageSliderIndicators" data-bs-slide-to="2"
                aria-label="Slide 3"></button>
        <button type="button" data-bs-target="#mainPageSliderIndicators" data-bs-slide-to="3"
                aria-label="Slide 4"></button>
    </div>
    <div class="carousel-inner">
        <div class="carousel-item banner active">
            <div class="d-flex flex-wrap flex-sm-nowrap justify-content-center align-items-center">
                <div class="flex-item "><img class="my-auto w-100"
                                             src="extensions/bootstrap5/storefront/images/Slide_600x300.jpeg"></div>
                <div class="flex-item col-9 col-sm-3 m-5"><h5>HTML5 Responsive Storefront to look great on</h5>  <h5>ALL
                        Screen Sizes</h5>
                    <p>Natively responsive template implemented with bootstrap library and HTML5. Will look good on most
                        mobile devices and tablets.</p>
                    <h3><a href="#" class=""> Try on your device!</a></h3></div>
            </div>
        </div>
        <div class="carousel-item banner">
            <div class="d-flex flex-wrap flex-sm-nowrap justify-content-center align-items-center">
                <div class="flex-item "><img class="my-auto w-100"
                                             src="extensions/bootstrap5/storefront/images/Slide_600x300.jpeg"></div>
                <div class="flex-item col-9 col-sm-3  m-5"><h5>Highly flexible layout on any page</h5>  <h5>SEO
                        Friendly</h5>
                    <p>Fast Loading</p>
                    <h3><a href="#" class=""> Try Now!</a></h3></div>
            </div>
        </div>
        <div class="carousel-item banner">
            <div class="d-flex flex-wrap flex-sm-nowrap justify-content-center align-items-center">
                <div class="flex-item "><img class="my-auto w-100"
                                             src="extensions/bootstrap5/storefront/images/Slide_600x300.jpeg"></div>
                <div class="flex-item col-9 col-sm-3  m-5"><h5>Feature rich with smart UI</h5>  <h5>Easy &amp; fun to
                        manage</h5>
                    <p>Feature reach shopping cart application right out of the box. Standard features allow to set up
                        complete eCommerce site with all the tools needed to sell products online.</p>
                    <h3><a href="#" class="">Install Now!</a></h3></div>
            </div>
        </div>
        <div class="carousel-item banner">
            <div class="d-flex flex-wrap flex-sm-nowrap justify-content-center align-items-center">
                <div class="flex-item "><img class="my-auto w-100"
                                             src="extensions/bootstrap5/storefront/images/Slide_600x300.jpeg"></div>
                <div class="flex-item col-9 col-sm-3  m-5"><h5>Stay in control</h5>  <h5>Easy updates</h5>
                    <p>Upgrade right from admin. Backward supportability in upgrades and automatic backups. Easy
                        extension download with one step installation.</p>
                    <h3><a href="#" class="">Get Yours!</a></h3></div>
            </div>
        </div>
    </div>
    <button class="carousel-control-prev" type="button" data-bs-target="#mainPageSliderIndicators" data-bs-slide="prev">
        <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span
                class="visually-hidden">Previous</span></button>
    <button class="carousel-control-next" type="button" data-bs-target="#mainPageSliderIndicators" data-bs-slide="next">
        <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="visually-hidden">Next</span>
    </button>
</div>
#17
This is what is in products.tpl file:

$hookVarArray = $this->getHookVar('product_description_array');
                if( $hookVarArray ){
                foreach($hookVarArray as $key=>$hkVar){ ?>
                <div class="accordion-item">
                    <h2 class="accordion-header" id="heading<?php echo $key?>>">
                        <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo $key?>"
                                aria-expanded="true" aria-controls="collapse<?php echo $key?>">
                            <?php echo $hkVar['title']; ?>
                        </button>
                    </h2>
                    <div id="collapse<?php echo $key?>" class="accordion-collapse collapse" aria-labelledby="heading<?php echo $key?>" data-bs-parent="#productDetailsAccordion">
                        <div class="accordion-body">
                            <?php echo $hkVar['html']; ?>
                        </div>
                    </div>
                </div>
#18
Hi core devs,

I'm found this hook "$this->getHookVar('product_description_array')" in the product.tpl file.

I have tried to add array like this:


$tabs['Test'] = [
       'title' => $view->fetch('pages/test/test_tab.tpl'),
       'html' => $view->fetch('pages/test/test_content.tpl')
];
$that->view->addHookVar('product_description_array',$tabs);


It's not working.

I tried to debug in the tpl file and found out that the variable is set as a string contains 'array', not a real array.
#19
How do we allow the custom captcha html element to be available as selection for admin to choose from the field type list? so it is loaded in the contact us form.
#20
i mean like custom captcha
#21
Hi, core developers,

i want to ask if it's possible to override AForm and AHtml and then use the overriden as the default one to be used by cart?

I would like to add a custom HTML field that core code can access as well, such as the default contact us form.

Thanks.
#22
Hi core devs,

how do we restrict customer from being able to login to other store that was set by using multistore?

e.g. we have a VIP and Wholesale store. Wholesale customer should not be able to login to VIP store.

AbanteCart v1.3.4 and v1.4.0.
#23
The most current patch of this is available at our patch files here: https://why2central.net/patch/abantecart-v1-4-0-storefront-category-breadcrumb-patch-file/

Handoyo from
The Support Team
We Hear You 2, Inc  (WHY2)
#24
Hi abolabo,

i just found out that the breadcrumb is correct, but now the products that doesn't belong to the subcat is shown too.

i test the patch in a clean 1.4.0 site.

i attached both storefront category page and admin product page for the product that shouldn't show in the category page.

#25
Thanks abolabo, the patch file works.
#26
Hi core devs,

i want to ask why does the second level breadcrumb is removed?

For example i open Home > Apparel & accessories > Shoes. the breadcrumb only shows Home > Shoes.

Please refer to the attached screenshot.

I test in a clean 1.4.0 installation. Both novator and default template are the same.

#27
thanks, i see it now
#28
Hi core devs,

i would like to ask where can we download abantecart_1.4.0_upgrade_only.tar.gz?



#29
Thanks for the information Basara.
#30
HI Basara,

Currently we are testing AbanteCart v1.4.0 beta, we download it from Github.

I know that the default checkout is replaced by fast checkout.

My question is will the fast checkout extension automatically be removed from the extension list when we upgrade to v1.4.0 or we need to manually remove it?

Thanks.

Forum Rules Code of conduct
AbanteCart.com 2010 -