Jump to content

 

tbirnseth

Member Since 08 Nov 2008
Offline Last Active Today, 08:14 PM
*****

#312324 Shipping Costs

Posted by tbirnseth on 15 February 2019 - 06:27 AM

Like the shipping issues, promotions should be able to have a global (all stores) template.  When included into the vendor's environment the properties should be able to be specified unique to a vendor without losing the basic structure/naming of the promotion/shipping method.

 

Example on the shipping....  Merchant requires vendors to offer a free shipping method within their country.  All products have free_shipping set.  Each vendor should be able to inherit a standardized free shipping method but the locations should be able to be specified by the vendor.




#312319 Payments Incompleat

Posted by tbirnseth on 15 February 2019 - 06:11 AM

Each order is added to database with the Incomplete status. When order status is changed to Open (for offline payment method) or Processed/ Failed (for online payment methods). So notification about Incomplete status is not meaningful

If communication between provider and your server fails (like response to payment request), orders will remain as incomplete.  In general, an order should not be incomplete for more than a few seconds.  If so, it indicates a problem (as the OP indicates) and they feel notification is needed.

 

Sounds reasonable to me.  But time in incomplete status should probably be like an hour.




#311994 Good Article

Posted by tbirnseth on 07 February 2019 - 09:57 PM

Ran across this today. Thought it had a lot of good content. https://www.johnwdef...o-for-engineers


#311302 Required Field Setup

Posted by tbirnseth on 22 January 2019 - 03:22 AM

It sounds like you understand it correctly.  If the required checkbox is checked, then all types except checkboxes must have values.  That doesn't validate the values, it only verifies that it's not empty.  Not quite following your description of the problem given I have no idea what your setup looks like.

 

If you're using a custom theme, then if you're having issues, it could be a theme issue.




#311190 Vendor Permissions For Addon

Posted by tbirnseth on 17 January 2019 - 06:14 PM

Vendor Plans has been designed only in August/September '18 for MV+ while Vendor Tabs is out there since January '18,

 

https://forum.cs-car...or-multivendor/

I think you are confusing the standard Vendor Plans addon with the new Vendor addon (not sure of the name) that adds additional functionality but comes with a hefty price tag.  Not familiar with any Vendor Tabs addon from cs-cart.  Must be from 3rd party.




#311075 Vendor Permissions For Addon

Posted by tbirnseth on 14 January 2019 - 09:10 PM

Yep, and the client has gone on vacation! :-)

It's awesome that developers can work together here in a cooperative manner.




#310813 After Upgrade To 4.9.1 Google Recaptcha Fails

Posted by tbirnseth on 07 January 2019 - 11:26 PM

You're welcome.  

 

I had people come to me with the following problems that were addressed by the HTTP2 fix.

1) Google Recaptcha

2) Payment method failures

3) Realtime shipping quotation failures

 

Makes no sense to me (from a customer service perspective) to leave a known failure unaddressed in your installed base.  The vast majority of cs-cart customers are NOT on the current release.

 

The good news is that one grateful customer send me 3 dozen bagels from a NY deli!  Yum, yum! :-)

 

I can send a Bagel address via PM! :-)




#310224 Different Email Template For 2 Stores

Posted by tbirnseth on 19 December 2018 - 06:39 PM

company_name is clear, but what does the company_data mean? It looks like a snippet, but not. From my point of view, it should contain subvariables with different parameters of company

 

I completely agree!  I've quit trying to convince cs-cart that what they may have done either doesn't make sense from an addon developer perspective and/or from a merchant perspective.  They simply don't listen.  I'm tired of every usability issue or design defect being categorized as "working as designed" when the design is flawed.




#310039 Change Font Size After Decimal Point

Posted by tbirnseth on 15 December 2018 - 05:44 PM

Add:

use Tygh\Registry;

 

Just above the first line of code in func.php




#310022 Change Font Size After Decimal Point

Posted by tbirnseth on 14 December 2018 - 10:12 PM

There could be a syntax error from the copy.  Check your PHP error_log for your site.  But I tested the function here before posting so it should be okay.

 

Given you're seeing the overridden template, that would mean that the my_changes addon is active.  You can "right click" on the Unavailable page and click 'inspect' that should show you the html for that page and in it should be comments about the exception that occurred.

 

You can send me a link and I'll review it for you if you want.  You can send it to me at support AT ez-mx.com.




#309969 Change Font Size After Decimal Point

Posted by tbirnseth on 13 December 2018 - 01:55 AM

Same info/advice applies with our without the attachment! :-)




#309964 Change Font Size After Decimal Point

Posted by tbirnseth on 12 December 2018 - 05:47 PM

No attachement.  But you should override the common/price.tpl template in both backend and frontend to alter how price is displayed.

I.e. design/themes/responsive/templates/common/price.tpl

 

To override this, copy that file to:

design/themes/responsive/templates/addons/my_changes/overrides/common/price.tpl

 

Be sure to clear your cache and you should be all set.  Add a comment at the top like:

<!-- override price.tpl -->

 

Then in your browser inspector, just search for 'override' and you should find you comment showing that the override was successful.




#309900 Include Php Code The Retrieve Date From Sql Into Cs-Cart Page

Posted by tbirnseth on 10 December 2018 - 07:37 PM

The "best practices" way of doing it would be to have your controller do the query and then have it put the results in a smarty variable and use it within the templates.

 

I.e.:

app/addons/my_changes/controllers/frontend/get_info.php containing:

<?php
if( !defined('BOOTSTRAP') ) die('Access denied');
use Tygh\Registry;
switch($mode) {
  case 'verify_user':
    $data = my_function_get_remote_data();
    Tygh::$app['view']->assign('u_data', $data);
    return array(CONTROLLER_STATUS_OK);
}
die( "Unknown mode '$mode'");
 
This will call the template in design/themes/[YOUR THEME]/templates/addons/my_changes/verify_user.tpl  You would then reference your data there via:
{$data.my_field}
 
Strongly suggest you read the developer's guide at https://docs.cs-cart...dons/index.html



#309783 When Using Www Server Not Found, But When Using Non-Www It Works Fine

Posted by tbirnseth on 06 December 2018 - 07:13 PM

Can you "ping" the www domain?

If not then you have a DNS issue.  If so, you can always use the non-www domain in cs-cart (assuming you cleared the cache after changing in config.local.php) and provide a redirect in your .htaccess file.  But you should be able to run your site as either www subdomain or not.




#309575 Forum Reading Preferences

Posted by tbirnseth on 30 November 2018 - 04:24 AM

Not that I'm aware of.  Note that these are generally discussion forums so reading backward, you might loose a lot of context and/or ask a question that was previously addressed.