Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart reBOOT (reDUX) Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #351  
Old 07-27-2021, 12:04 PM
 
thebluedoorboutique thebluedoorboutique is offline
 

Senior Member
  
Join Date: May 2011
Posts: 170
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
Originally Posted by PhilJ
@Doug, ok the WEBP image generator has been improved.

- You can now generate and delete WEBP images on an image-type basis.
- The 'Update WEBP Images' button should now do its job properly... it'll generate only the necessary images that haven't already been converted to WEBP.

You shouldn't need to manually upload any WEBP images ... the generator should do all the work for you.

Get the latest zip via your order invoice and replace /images/webp/index.php

Hope that helps, let me know how you get on.

I've added some general info about the WEBP generator here.

What kind of storage requirement is needed to keep both? Couldn't you convert the images during upload, and then delete the original, leaving only the webp ?
__________________
X-Cart Classic 4.4.X
Reply With Quote
  #352  
Old 07-28-2021, 12:29 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
What kind of storage requirement is needed to keep both?
Not a huge amount, the WEBP images are usually around 60% of the size of the original JPEGs.

Quote:
Couldn't you convert the images during upload, and then delete the original, leaving only the webp ?
That was the plan originally, but this way you don't have to do any extra image uploading, and you can be using WEBP images across your store in minutes, even with thousands of products. You can also enable/disable WEBP images anytime you want.

To integrate WEBP images into the X-Cart core, you need to modify /include/func.image.php, but I couldn't figure it out, so decided to build a separate WEBP image generator instead.
__________________
xcartmods.co.uk
Reply With Quote

The following 3 users thank PhilJ for this useful post:
elmirage001 (09-22-2021), ITVV (07-28-2021), peggyr (07-28-2021)
  #353  
Old 07-31-2021, 12:44 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

@ Doug, WEBP generator updated, you can now update images on an image-type basis.

Also added note/tools re. images with incorrect file extensions...
https://xcartmods.com/reboot/webp
__________________
xcartmods.co.uk
Reply With Quote

The following 2 users thank PhilJ for this useful post:
elmirage001 (09-22-2021), ITVV (07-31-2021)
  #354  
Old 07-31-2021, 10:50 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

The ECCF addon is now bundled in FREE, so if you need any custom forms, give it a go

The price of the template has also been reduced to $99 for a limited time only !
__________________
xcartmods.co.uk
Reply With Quote

The following 3 users thank PhilJ for this useful post:
elmirage001 (09-22-2021), ITVV (07-31-2021), peggyr (07-31-2021)
  #355  
Old 08-12-2021, 12:18 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Possible new custom header category accordion menu for desktops - DEMO - (updated 19/08/21)
It's not dynamic, it works off simple JSON files (it can be made dynamic, but might be useful if you want a custom menu, with only specific categories)
Would this be of interest to any of you lot?
I'll probably just add it to the codebase anyway
__________________
xcartmods.co.uk
Reply With Quote
  #356  
Old 08-13-2021, 11:48 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

QUICK TIP: If you want to publicly display how many customers bought the product, and the total amount of products sold...

DEMO

1) In /reboot/get_product_info.php

Before...
Code:
?>
Insert...
Code:
# Get amount of people who bought this product $users_bought_qry = db_query("SELECT COUNT(DISTINCT(userid)) AS total FROM $sql_tbl[order_details_stats] WHERE productid='$productid';"); $users_bought_result = db_fetch_array($users_bought_qry); $smarty->assign("buyers", $users_bought_result); # Get amount of products sold $product_sales_qry = db_query("SELECT SUM(sum_amount) AS total FROM $sql_tbl[order_details_stats] WHERE productid='$productid' GROUP BY productid"); $product_sales_result = db_fetch_array($product_sales_qry); $smarty->assign("sales", $product_sales_result);
2) In /skin/reboot/customer/main/product_header.tpl


Before...
Code:
{if $config.Reboot.reboot_product_added_modified_details eq "Y"}
Insert...

Code:
{if $buyers.total && $buyers.total gte "2"} <div class="col-12 col-md-auto mr-md-4 mt-3 mt-md-2">Buyers: <span class="badge badge-pill badge-dark float-right float-md-none">{$buyers.total}</span></div> {/if} {if $sales.total && $sales.total gte "2"} <div class="col-12 col-md-auto mr-md-4 mt-3 mt-md-2">Sales: <span class="badge badge-pill badge-dark float-right float-md-none">{$sales.total}</span></div> {/if}


Or, do something like...
Code:
{if ($buyers.total && $buyers.total gte "2") && ($sales.total && $sales.total gte "2")} {capture name=alert} <b>{$buyers.total}</b> people bought <b>{$sales.total}</b> of these! {/capture} {include file="customer/alert.tpl" content=$smarty.capture.alert close=true type="success" icon="check"} {/if}

Maybe useful if you have healthy sales
__________________
xcartmods.co.uk
Reply With Quote

The following 3 users thank PhilJ for this useful post:
elmirage001 (08-23-2021), ITVV (08-13-2021), peggyr (08-13-2021)
  #357  
Old 08-20-2021, 02:07 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

I'm in the process of adding a 'proper' blog with backend management to reDUX ... DEMO

I'll be trying to implement blog 'clean urls' for categories and posts in PHP / .htaccess, but if anyone knows any tips for doing it, please drop us a PM.
__________________
xcartmods.co.uk
Reply With Quote

The following 3 users thank PhilJ for this useful post:
elmirage001 (08-23-2021), ITVV (08-20-2021), peggyr (08-20-2021)
  #358  
Old 08-30-2021, 08:20 AM
 
Dougrun Dougrun is offline
 

X-Adept
  
Join Date: Apr 2012
Posts: 900
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
Originally Posted by PhilJ
Possible new custom header category accordion menu for desktops - DEMO - (updated 19/08/21)
It's not dynamic, it works off simple JSON files (it can be made dynamic, but might be useful if you want a custom menu, with only specific categories)
Would this be of interest to any of you lot?
I'll probably just add it to the codebase anyway




its also live on our site..

https://www.vsathletics.com/store/home.php
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote

The following 2 users thank Dougrun for this useful post:
elmirage001 (09-22-2021), peggyr (08-30-2021)
  #359  
Old 09-07-2021, 11:37 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

8th Sept 2021 - Some changes made, including new maximum quantity and case quantity product fields - Changelog - Sorry for the delay! Any problems, drop me a line.

The new blog I intended to make is on hold for the moment, as the current 'built-in' blog actually works just fine

I'll be adding more homepage styles next (5-12), probably over the weekend.
__________________
xcartmods.co.uk
Reply With Quote

The following 2 users thank PhilJ for this useful post:
ITVV (09-08-2021), peggyr (09-08-2021)
  #360  
Old 09-08-2021, 10:35 AM
  peggyr's Avatar 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 635
 

Default Re: X-Cart reBOOT (reDUX) Template

Phil,

MAX QTY works like a champ!

THANKS

Peggy
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live
IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7
Reply With Quote

The following 2 users thank peggyr for this useful post:
elmirage001 (09-22-2021), PhilJ (09-09-2021)
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:18 AM.

   

 
X-Cart forums © 2001-2020