Jump to content

 

kaltersia

Member Since 07 Feb 2018
Offline Last Active Today, 09:58 AM
-----

#332578 Trick To Add Alt Text To Your Banner On Homepage

Posted by kaltersia on 18 October 2020 - 11:22 AM

This will alloy you to insert the alt text you write when you create the banner

 

you can change the div class to whatever you want "in this case div class is alt "

 

First create a smarty block  name it as you wish and add to your home page "Important " after banner block 

 

insert the script in the block

 

insert the style to your header of home page or in the css you created for your theme.

 

 

 

have a look at the attached pictures 

 

 

This is just a free way to have text on your banners on homepage.... for better text on your banners there are some great addons on the marketplace.

 

You can use  font-size: 28px; for Desktop devices and  font-size: 14px; For Mobile devices

 

the style is up to you 

<script>
[].forEach.call(document.querySelectorAll('.banner__link img'), (img) => {
  let wrap = document.createElement('div');
  wrap.classList.add('alt');
  img.parentNode.insertBefore(wrap, img);
  wrap.appendChild(img)
  img.parentNode.dataset.alt = img.alt;
});
</script>
<style>
.alt::after {
content: attr(data-alt);
    position: absolute;
    left: 0px;
    bottom: 6%;
    width: max-content;
    max-width: 100%;
    padding: 5px 2%;
    text-align: center;
    font-size: 28px;
    color: #fff;
    background-color: rgba(32,32,32,0.5);
    word-break: break-word;
}
</style>

Attached Files




#328475 Needed Very Much

Posted by kaltersia on 05 June 2020 - 09:19 PM

Looks like additional custom development work is required here

 

i hope someone like me is interested and can replay in here so we can share some costs. 




#328385 Needed Very Much

Posted by kaltersia on 03 June 2020 - 08:09 PM

there are 2 features or functions  i would like for cs cart team to integrate in the next releases

 

 

1 to hide the products with 0 stock

Example like the products on moderation  are in separate tab

 Can we have all zero stock products in another tab.

 

and

 

2 a product block to filter products by size

Example : if i'm on a product shirt size L

 

i want that under product to suggest products at the same size ( L ) 

 

 

i hope i have explained well

 

Regards

 




#328325 How Is The Cs Cart Community?

Posted by kaltersia on 02 June 2020 - 09:01 PM

the community is for starters and beginners.

 

mostly just to  find what they are looking for and don't replay.

 

once you know cs cart there is no time for coming back here

 

just some third party developers who offer paid services and free ones.

 

time ago i was twice a day in this forum, now twice a month.




#327866 Use Whatsapp To Send Notifications To Vendor And Costumers

Posted by kaltersia on 19 May 2020 - 04:42 PM

Hello everyone

 

cs cart uses some addon to send you notifications on whatsapp.

 

is this kind of addon for everyone to have  so we can use whatsapp notifications instead of sms notifications on new orders, order status, and for some other notifications. 

 

 

the gateways for sms notifications are not cheap for me.. and i don't use it right now.

 

or is there a way to have one addon that uses facebook gateway to send notifications to users.

 

there is a wordpress plugin that lets you use facebook gateway for sms sending. can we have something for cs cart :)

 

 

Regards

Adi

 

 

 

 

 




#326418 Add / Edit Product Hide Quantity Discounts,subscribers And Etc...

Posted by kaltersia on 08 April 2020 - 06:54 PM

Thanks to eComLabs Is Very Easy 
https://forum.cs-car...on/#entry209281




#326372 Add / Edit Product Hide Quantity Discounts,subscribers And Etc...

Posted by kaltersia on 07 April 2020 - 11:19 AM

or you chose the hard way for free with css coding 

 

 

backend  css using my_changes addon  > id of the tab to display:none

 

 

something like this

#seo{
display:none}
#qty_discounts{
display:none}
#subscribers{
display:none}
#addons{
display:none}
#product_tabs{
display:none}
#buy_together{
display:none}
#tags{
display:none}
#discussion{
display:none}
#required_products{
display:none}
#blocks{
display:none}



#326239 Product Filters Tpl Include In Smarty Block Html

Posted by kaltersia on 03 April 2020 - 11:57 AM

We can offer you our additional block settings module to enable/ disable certain blocks for different devices

 

 

https://www.ecom-lab...ngs-add-on.html

 

it looks like either i wrote wrong what i need or you read it wrong, 

anyway i got it working with jQuery,

 

 

 




#324966 Vendor Plans: Commissions By Category

Posted by kaltersia on 24 February 2020 - 05:05 PM

thank you for your answers. we are preparing to upgrade to multivendor plus.

 

we want a long and stable solution.

 

Regards

Adi




#324846 Ty-Product-Switcher Move To Bottom

Posted by kaltersia on 20 February 2020 - 02:20 PM

 

I am afraid, it is not possible just with styles. But you can use the following code in the required place

<div class="visible-phone">
    {include file="common/view_tools.tpl"}
</div>

 

 

 

it works perfectly. many thanks




#320165 Very Simple Hamburger Menu For Mobile Layouts

Posted by kaltersia on 24 September 2019 - 02:47 PM

Only a simple menu for mobile layouts 

style and use it 
 

https://www.w3schools.com/code/tryit.asp?filename=G8AZMPZOITKN

Attached Files




#320164 Add New Product - Top Panel

Posted by kaltersia on 24 September 2019 - 02:19 PM

Sorry to be a pest - what code would I put on this line

thanks

 

<a href="https://yoursite/vendor.php?dispatch=products.add" style="Your Style Goes here ">Vendor Add New Product</a>
<a href="https://yoursite/admin.php?dispatch=products.add" style="Your Style Goes here ">Admin Add New Product</a>
Example With Style Below
<a href="https://yoursite.com/vendor.php?dispatch=products.add" style="margin: 4px; font-size:13px; padding:6px 15px; text-decoration:none;  "> Add New Product</a>
it still needs some styling  

 it can be a different line on your menu . tpl  it depends on the version of cs cart you use  .



this works only on desktop still have to find out wich template is used for mobile .



#316425 Share On Whatsapp

Posted by kaltersia on 12 June 2019 - 10:31 AM

thank you i managed to add it in a pretty way now.




#296499 Hide Product Title

Posted by kaltersia on 25 February 2018 - 04:06 PM

sory for late replay. already resolved. many thanks for taking the time to respond to my request