Jump to content

tbirnseth's Content

There have been 440 items by tbirnseth (Search limited from 29-Jul 20)



Sort by                Order  

#329969 How To Check If User Purchased An Item On The Product Page

Posted by tbirnseth on 27 July 2020 - 07:30 PM in General Questions

So what is a "verified purchase" to you? It doesn't really mean anything as text relative to the current user.  If they didn't purchase, what to they care who else purchased but didn't leave a review?




#329970 Mv Question: How To Have Vendor Shop Open In An Other Tab Automatically

Posted by tbirnseth on 27 July 2020 - 07:33 PM in Hints & Modifications

DO NOT modify the distributed template itself.  Your changes may be overwritten in a future upgrade.  Both Ecom and I have given you all the info you need to do it properly.  If you did not see the changes, then either you put the override file in the wrong place or you did NOT clear your cache after creating the override file.  The only other possibility is that a higher priority addon is overriding the file first. But that is unlikely.




#329971 Homepage Ajax Loader

Posted by tbirnseth on 27 July 2020 - 07:35 PM in General Questions

if that doesn't make sense to you, suggest you hire someone to do it for you.  If you want to provide your requirements, be happy to give you a quote.  Just click the link in my signature.




#329972 Security Warning

Posted by tbirnseth on 27 July 2020 - 07:36 PM in Third-Party Services

Well, then I hope you changed all passwords related to your hosting and your site.




#329977 Mv Question: How To Have Vendor Shop Open In An Other Tab Automatically

Posted by tbirnseth on 27 July 2020 - 09:53 PM in Hints & Modifications

You're fine.  Language and experience can all be obstacles.  Glad you got it working properly.  Cs-cart will always take the shortest path (not the best path).  Hence you'll come back to them again after an upgrade.




#329979 Mv Question: How To Have Vendor Shop Open In An Other Tab Automatically

Posted by tbirnseth on 27 July 2020 - 10:30 PM in Hints & Modifications

You didn't say that cs-cart created the override file.  Given it's an override, the content is the same as the standard file with exception of the 'action' attribute.  If they did it in the my_changes/override directory tree, that's great (they usually don't).  Helps to associate paths with content....  All good.




#329981 Does Cs Cart Have Reoccurring Billing With Stripe Or Another Payment Method?

Posted by tbirnseth on 27 July 2020 - 10:42 PM in Hints & Modifications

No, not out of the box.  We have extended our square addon to do this but it takes custom coding to utilize since it uses saved card tokens at square.  Docs on our Squarepay addon are at: https://ez-ms.com/docs/squarepay.pdf




#329982 How To Show The Total Number Of Active Vendors On The Backend

Posted by tbirnseth on 27 July 2020 - 10:54 PM in Hints & Modifications

If I'm understanding correctly, I think you're a bit confused.  Template variables are set in PHP code and passed to templates.
So your use of:

{$general_stats.companies.total_companies|number_format}

will only get you what is stored in the registry as $general_stats.companies.  I'd suggest you set your own variable and then use hooks to position the info where you want it.  I.e. in app/addons/my_changes/controllers/backend/companies.post.php do something like:

if( $_SERVER['REQUEST_METHOD'] == 'GET' ) {
  $active_companies = db_get_field("SELECT count(*) FROM ?:companies where status='A'");
  Tygh::$app['view']->assign('active_companies', $active_companies);
}

And then use it in your template as:

<p>{__("active_companies")}: {$active_companies}</p>



#330024 How Do I Create A Product With An Optional 1 Time Set Up Fee. Cs-Cart

Posted by tbirnseth on 28 July 2020 - 06:37 PM in General Questions

You should be using a "catalog promotion", not a "cart promotion".  You should see results on the products.view page on the customer side.  It could be that cs-cart is not allowing a negative bonus. If so, you might have to use a php hook to apply it after the calculate the bonus.  I.e. if you want a $6 increase, in price, setup a promotion to discount by $6 and then look at the promotions returned for a product and if it's the promotion you're looking for adjust the bonus to be negatvie $6.

 

Promotions can be pretty convoluted and require a lot of fiddling to get what you want (I.e. time consuming).  But I think you should be able to get there with promotions.

 

Alternatively you can set the price at the price + $6 and then discount it at $6 * (quantity - 1).




#330054 Test Email Notification Does Not Work

Posted by tbirnseth on 29 July 2020 - 06:44 PM in General Questions

Suggest you first check your php error_log for any errors related to emails.  Following that you should get your hosting to see if there are related SMTP entries in your mail log.  If so, are there any errors?  What method of email are you using (Settings/Emails)?




#330055 Sku For Different Options

Posted by tbirnseth on 29 July 2020 - 06:47 PM in Issues & Troubleshooting

Check/clear your cs-cart 'logs'.

Run a browser inspector (usually right-click/inspect) and look at the network tab as you refresh the page.  See where the longest times are and go from there.




#330056 Wordpress Cs-Cart Install In The Same Domain

Posted by tbirnseth on 29 July 2020 - 06:51 PM in Installation & Upgrade

Or as a sub-domain like wp.yoursite.com and have a completley separate document root).  This configuration will prevent any security issue in either CMS from impacting the other.




#330097 "jquery Cdn" Page Speed Issue

Posted by tbirnseth on 30 July 2020 - 10:30 PM in Server configuration, Perfomance Optimizations

That should be cached in your browser after the first load.  If not, check your browser settings related to how long to cache JS files.




#330120 Backlinks Creation

Posted by tbirnseth on 31 July 2020 - 06:40 PM in SEO

Go to every major site (Facebook, Twitter, Linkedin, etc.) and create a post that has a link to your site.  Best if you can get your friends to like the request and better yet if they click the link.




#330122 Backlinks Creation

Posted by tbirnseth on 31 July 2020 - 07:53 PM in SEO

Won't get you blacklisted to create a business presence on main Social Media sites.  If you create that presence and then get 100's of links-in from those sites then yes, that will throw a flag up.  But we're talking about consumer operations like friends and family. Voilume will never be enough to get you flagged.

 

You should also add paid search results in all the major search engines for your site.  To make it effective, you should bid high for the first couple of weeks on your primary keywords. Then you can lower bids after you get an initial presence.




#330186 Hook is not callable

Posted by tbirnseth on 03 August 2020 - 06:18 PM in Configuration

Also ensure you clear your cache since hooks are cached.




#330187 Test Email Notification Does Not Work

Posted by tbirnseth on 03 August 2020 - 06:21 PM in General Questions

PHP mail does not use SMTP credentials, it uses localhost and the settings are internal to PHP.

If you want to use SMTP, set your credentials and change the type.

 

Note that the likelihood of your mail being seen as spam is much higher when using PHP mail given there is no authentication of the sender.




#330188 Jquery Dom Methods Cross-Site Scripting Vulnerability

Posted by tbirnseth on 03 August 2020 - 06:24 PM in General Questions

Best course of action is to move away from payment methods that store (or process) credit card info locally on your server.  If you move to something like Square (or many other modern payment processors) you can drop PCI certifications and save yourself a whole lot of time and money.  We have a Square payment addon called Squarepay.  You can review it here: https://ez-ms.com/squarepay.html




#330219 Jquery Dom Methods Cross-Site Scripting Vulnerability

Posted by tbirnseth on 04 August 2020 - 04:04 PM in General Questions

Not if you are entering the cc data into an Iframe (on the payment provider's site) versus an input field.  No cc data is ever on your site (unless of course you write it down which would be bad practice in any environment).




#330221 Why Is This Line In Tygh/shippings/shippings.php Causing An Error?

Posted by tbirnseth on 04 August 2020 - 04:12 PM in General Questions

Suggest under SSH your do the following:

# cd app/addons

# grep -R  'fn.*shippings_get_shippings_list' .

 

This will return you any addons that are using the hook.  Someone is obviously affecting the shippings.  On my development site it returns:

root@ezms4 [addons]# grep -R  'fn.*shippings_get_shippings_list' .
./mobile_admin_app/func.php: function fn_mobile_admin_app_shippings_get_shippings_list($group, $shippings, &$condition)
./twigmo/func.php: function fn_twigmo_shippings_get_shippings_list($group, $shippings, &$condition)
./payment_dependencies/func.php:function fn_payment_dependencies_shippings_get_shippings_list_conditions(&$group, &$shippings, &$fields, &$join, &$condition, &$order_by)
./payment_dependencies/func.php:function fn_payment_dependencies_shippings_get_shippings_list_post(&$group, &$lang, &$area, &$shippings_info)
./suppliers/func.php:function fn_suppliers_shippings_get_shippings_list(&$group, &$shippings)

All are standard cs-cart addons.  Note that I sell electronic products so I don't see shipping issues directly.  But if you see any addons outside this list, they would be suspect.

 

 




#330222 Add Thatwe Seal To Default Tpl

Posted by tbirnseth on 04 August 2020 - 04:13 PM in Hints & Modifications

Depends on where you want it. Suggest you add a html block and add it there.  You can position/style the block as you want.




#330223 Form Log

Posted by tbirnseth on 04 August 2020 - 04:15 PM in Configuration

He did answer your question "Just e-mail"




#330224 How To Add 'verified By Visa' And 'mastercard Icon And Link

Posted by tbirnseth on 04 August 2020 - 04:18 PM in General Questions

Suggest you add a "html block" to the Derault tab in your Administration/Layouts.  You can position it where you want by dragging/dropping.  Follow the instructions provided by the "seal provider" for how to include it (wither it's html or javascript, etc.).

 

If this is outside your skill set, suggest you hire someone to do it for you.  Generally these type of things are added in the footer area. But IMHO, they are pretty worthless.  I don't find any users ever click on them to get the validation response from the provider.  They are generally just for show.




#330225 Promotions Discounts

Posted by tbirnseth on 04 August 2020 - 04:20 PM in Configuration

You'd probably have to do a hook to get this type of conditional bonus.  If your discounts were by promotion, you could always set the "stop processing" checkbox to prevent further promotion calculation for those promotions.




#330227 How To Add 'verified By Visa' And 'mastercard Icon And Link

Posted by tbirnseth on 04 August 2020 - 05:49 PM in General Questions

Assuming then your 'icon' is Javascript.  So just create an html block and apply the script tag and code.